Apple fixes the Disk Utility APFS bug: What you need to know!
Apple has just pushed out a macOS High Sierra Supplemental Update to fix an issue with Disk Utility, APFS encrypted containers, and password hints.
From Matheus Mariano:
The issue, as best as I understand it, was as follows:
- If you have an APFS formatted SSD drive and:
- You create a new container on that drive using the Disk Utilities GUI and:
- You make it an encrypted container and:
- You add a password hint for the container
Then the GUI would mix up the fields and store the container password in the plain-text password hint field and display the password as the hint whenever you re-mount the container.
If you didn't use the Disk Utility GUI and created the container through Terminal, or if you used the Disk Utility GUI but didn't set a password hint, you wouldn't be affected by the bug.
Tried myself & it's true: #HighSierra shows the #APFS volume password as hint. Persists reboots, not stored in keychain. Wow. Just wow. pic.twitter.com/FkcHI9KHl9Tried myself & it's true: #HighSierra shows the #APFS volume password as hint. Persists reboots, not stored in keychain. Wow. Just wow. pic.twitter.com/FkcHI9KHl9— Felix Schwarz (@felix_schwarz) October 5, 2017October 5, 2017
As bugs go, it was super dumb. But Mariano had already reported it to Apple, and Apple is already deploying a fix.
The number of people affected — those with physical access to a device with an existing APFS container that also has an additional, encrypted APFS container who wouldn't also have the password to that container — is probably tiny. Still, Apple has provided the following instructions for how to roll back even under those circumstances:
Master your iPhone in minutes
iMore offers spot-on advice and guidance from our team of experts, with decades of Apple device experience to lean on. Learn more with iMore!
- Install the macOS High Sierra 10.13 Supplemental Update from the App Store updates page.
- Create an encrypted backup of the affected encrypted APFS volume.
- Open Disk Utility and select the affected encrypted APFS volume in the sidebar.
- Click Unmount to unmount the volume.
- Click Erase.
- When asked, type a name for the volume in the Name field.
- Change Format to APFS.
- Then change Format again to APFS (Encrypted).
- Enter a new password in the dialog. Enter it again to verify the password, and if you'd like to, provide a hint for the encrypted APFS volume. Click Choose.
- Click Erase. You can see the progress of the Erase process.
- Click Done when the process is complete.
- Restore the data that you backed up in Step 1 to the new encrypted APFS volume that you just created.
The macOS High Sierra 10.13 Supplemental Update should be live by the time you read this, and you can access and update to it via the Mac App Store.
Also note, if you used the same password for your encrypted APFS container as any other accounts (for example, your Mac user account), change those accounts. Better safe than sorry.
Rene Ritchie is one of the most respected Apple analysts in the business, reaching a combined audience of over 40 million readers a month. His YouTube channel, Vector, has over 90 thousand subscribers and 14 million views and his podcasts, including Debug, have been downloaded over 20 million times. He also regularly co-hosts MacBreak Weekly for the TWiT network and co-hosted CES Live! and Talk Mobile. Based in Montreal, Rene is a former director of product marketing, web developer, and graphic designer. He's authored several books and appeared on numerous television and radio segments to discuss Apple and the technology industry. When not working, he likes to cook, grapple, and spend time with his friends and family.