Still not sure about APFS (encrypted) vs File Vault

Hi,

I've ploughed through a number of threads about this but am still unclear about the roles of these two technologies in High Sierra. I have some time on my hands as File Vault has taken about 36 hours to encrypt about 30% of my 750Gb SSD on my mid-2012 MBP ;0)


My internal boot SSD is formatted as APFS and I'm now (very slowly) encrypting it via File Vault


If I clone my boot SSD and erase it and reformat it as APFS (encrypted) then restore the drive from the clone will that give me the equivalent result to implementing File Vault?


I guess my questions are

1 Does file vault in High Sierra leverage APFS (encrypted) for its encryption?

2 If I format my drive as APFS (encrypted) will File Vault be disabled?

3 If File Vault isn't disabled if the SSD is formatted as APFS (encrypted) what will File Vault do if implemented?

4 If I format the drive as APFS (encrypted) and someone gains physical access to my computer will they be able to access ANY information on the drive without my password? (my understanding is that no information can be accessed with File Vault implemented without the password or recovery key)

5 If APFS (encrypted) prevents any access to information with physical access to the drive, is File Vault really only of relevance to HFS+ drives?


Thanks to anyone who can clarify the above issues...


Cheers


Iain

MacBook Pro, macOS High Sierra (10.13.4), Mid 2012

Posted on May 9, 2018 10:35 AM

Reply

Similar questions

10 replies

May 9, 2018 7:22 PM in response to Iain Farquhar

From reading several articles and posts on this subject for myself, there is still a large lack of clarity on this.


However, 'APFS (encrypted)' format will actually encrypt the files on your drive to a certain extent, which will afford that encryption regardless of if you turn FileVault on or off.


On the flip side, if you choose to format the drive without encryption as 'APFS' and at some point turn FileVault off your actual filesystem may become more vulnerable. From how it is explained in a few places, FileVault does not actually encrypt any files but merely adds and encryption layer on top of or in front of your filesystem acting as a barrier. APFS encryption happens within the filesystem to the actual files, as opposed to a separate layer guarding those files.


The description from the MacWorld article below was the clearest explanation I found, which mirrors the bits and pieces that other articles explained.


I hope this helps!


"Apple says encryption is built into APFS. Can I turn FileVault off?

No. Apple tries to simplify security explanations, and I fear the way it has marketed APFS may confuse people, since a few readers have already asked this. With HFS+, the long-running previous format, encryption was applied as a layer external to the format. This required more intermediation between the operating system and the underlying files when FileVault was enabled.

With APFS, encryption is an inherent property that can be turned on and negotiated at the filesystem level. That should make it less likely that things could go wrong, and should be more efficient. As a FileVault user, don’t disable the feature, but you shouldn’t notice any differences in everyday use."


https://www.macworld.com/article/3230498/storage/apple-file-system-apfs-faq.html

May 9, 2018 1:34 PM in response to Iain Farquhar

I have my APFS volume encrypted using Filevault. It is a background process and best left overnight so that other processes do not stop it running. I tried erasing the disk and encrypting during the reformatting, as you suggest, but it did not have a user keychain in which to hold the encryption key and this meant I had to enter it at each startup, prior to the normal logon. At least the slow encryption you are doing, results in an icloud keychain entry, if you have that enabled, though I think I heard there is a way to do this later, using Carbon Copy Cloner.


I don't think you need worry about FileVault v APFS encryption, as the High Sierra Disk Utility and Preferences Security settings sort this for you. Here's an article about it which might help.


https://www.macworld.com/article/3230498/storage/apple-file-system-apfs-faq.html

May 30, 2018 5:08 AM in response to Iain Farquhar

Hello Iain,

FileVault confuses lots of people. The reason it takes so long to encrypt your drive when you turn on FileVault is because it is also encrypting free space. As you discovered, you can just format the drive as encrypted and that is instantaneous. The only problem with this approach is that if this drive was used before you encrypted it, then it will still contain unencrypted data. It is possible, although difficult, to extract the unencrypted, deleted files. Personally, I’m not worried about someone stealing my machine and going through that kind of effort. I always use your new procedure. Plus, I now do it right away so there is no deleted data to even worry about.


However, you can still enjoy the benefits of FileVault. Just go to System Preferences > Security & Privacy > Filevault and click the button to allow your user account to unlock the disk. This feature is all there is to FileVault. The encryption is just regular encryption. You can engage FileVault no matter how you encrypted the drive.

May 9, 2018 4:30 PM in response to Iain Farquhar

FileVault is magic fairy dust applied on top of encryption to allow you to decrypt and login using the single username/password.

Disk encryption is essentially separate from the FileVault magic. The disk is encrypted however it is encrypted and the magic single logon/decrypt username/password is layered over the top.


If you have FileVault enabled and erase/format the drive, yes, FileVault will be disabled.


If you encrypt a startup volume (regardless of the format), then enable FileVault, the magic fairy dust will be applied to allow you to decrypt the drive and login using a single username/password.


The information on an encrypted drive, no matter how done, will not be accessible without the decryption username/password. However, if you have stored data on an unencrypted drive, and then encrypt it, there may be some data that is accessible without a password. For instance, pieces and parts of data that are on read-only parts of the disk (bad sectors that are still readable) will not be encrypted. It is always best to encrypt a drive before use.

May 29, 2018 3:11 PM in response to Iain Farquhar

enough I get asked for the disk password on startup and then my login password thereafter. I haven't quite got the energy to see what happens if I enable file vault as I don't mind having to use the two passwords but I hope that if I did do it that it wouldn't take the 2-3 days to enable file vault that it took encrypting an 'ordinary' APFS drive.

Nothing will be encrypted again. As I stated, the encryption is the same no matter which method you use.

Enabling FileVault will merely ask which users are allowed to decrypt the drive and allow you to set a recovery key.

May 10, 2018 12:37 AM in response to cyn-k

Hi,

thanks for all the answers but I'm not really that much further forward (sorry to be so slow).


I appreciate the concept of FV being applied as a 'screen' in front of the files, I'd not come across that idea before. However, if I use APFS (encrypted) AND FV it would suggest that FV will put an encryption 'screen' between an intruder and my already encrypted files and that seems redundant.

I note the "magic fairy dust" comment allowing single password logon and decryption but this begs the question as to what my experience will be if I use APFS (encrypted) without FV. Will I need two passwords to logon?


So far it looks as if the answers to my questions are

1 No

2 No

3 FV will put a further encryption 'screen' between my already encrypted files and any intruder (seems redundant) but may allow single password logon???

4 No

5 No (unless using APFS (encrypted) will require both a decryption password and a logon password)


I've got a number of recent clones on separate drives, I think I may just erase my internal SSD, format as APFS (encrypted) and see what I have to do to logon to my system.


Thanks again.


Cheers


Iain

May 10, 2018 3:59 PM in response to Iain Farquhar

However, if I use APFS (encrypted) AND FV it would suggest that FV will put an encryption 'screen' between an intruder and my already encrypted files and that seems redundant.

No. FV just makes it possible to decrypt the hard drive and logon in one username/password entry. It doesn't add any more encryption.

Will I need two passwords to logon?

Yes. You must first decrypt the disk, then log into your account. FV combines the two processes.

5 No (unless using APFS (encrypted) will require both a decryption password and a logon password)

Only if you don't enable FileVault after encrypting with APFS. Nothing will change about the encryption.

May 30, 2018 3:59 AM in response to Barney-15E

Hi Barney,

I appreciate what you say. My comment relates to the fact that enabling file vault on a APFS drive can take several days, whereas formatting the internal SSD as APFS (encrypted) and restoring from and external thunderbolt SSD clone takes about an hour...

Since I only have to use the disk encryption password and my different user password on reboot but only my user password on wake from sleep I'm happy to leave things as they are rather than implement file vault now my SSD is APFS (encrypted).

I think this adds a little bit of information for people wondering about the relative merits of implementing

APFS and File Vault

APFS (encrypted)

APFS (encrypted) and File Vault (I note your comment on this though I haven't tried it myself)


Cheers


Iain

May 29, 2018 2:54 PM in response to Barney-15E

OK, maybe I've got too much time on my hands but I thought I'd confirm Barney's comments.


Wiped my File Vault encrypted boot drive and reformatted it as APFS (encrypted). This took the same amount of time as formatting as APFS without encryption as far as I could tell. I was asked for a password for the disk which I gave (not the same as my login password).


I then restored from my CCC clone and rebooted.


Sure enough I get asked for the disk password on startup and then my login password thereafter. I haven't quite got the energy to see what happens if I enable file vault as I don't mind having to use the two passwords but I hope that if I did do it that it wouldn't take the 2-3 days to enable file vault that it took encrypting an 'ordinary' APFS drive.


So if you don't mind starting again with a newly formatted drive and having to put in two passwords on startup then formatting as APFS (encrypted) is MUCH quicker than my experience of enabling file vault on an 'ordinary' APFS drive.


BTW the only thing that makes the cloning/erasing/restoring tolerable is an external Thunderbold SSD drive...


Cheers


Iain

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Still not sure about APFS (encrypted) vs File Vault

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.