destroyfvkeyonstandby requires additional pmset settings in order to avoid system shutdown
See original GitHub issueI’m wondering if anyone has tried the combination of OSX Login via Yubikey (https://www.yubico.com/why-yubico/for-individuals/computer-login/mac-os-login/) with the pmset -a destroyfvkeyonstandby 1
system configuration enabled to destroy the file vault key.
I have both of these set on a machine, and when I put my computer to sleep, upon waking it later I often find that the system has turned itself entirely.
I suspect that this is because of a negative interaction between these two configurations – that removing my YubiKey during the sleep process is depriving the system of something it wants in order to stay on while the FileVault key is no longer accessible.
Similar experiences or suggestions on how to troubleshoot this are welcome.
Issue Analytics
- State:
- Created 7 years ago
- Comments:34 (3 by maintainers)
Top Results From Across the Web
destroyfvkeyonstandby requires additional pmset settings in order to ...
destroyfvkeyonstandby requires additional pmset settings in order to avoid system shutdown. OS-X-Yosemite-Security-and-Privacy-Guide.
Read more >destroyfvkeyonstandby question - Apple Support Communities
When I power on or reboot, there's a screen with the user icons and names, and the two options at the bottom are...
Read more >pmset - Manipulate power management settings on macOS
pmset manages power management settings such as idle sleep timing, wake on administrative access, automatic restart on power loss, etc.
Read more >Sleeping mode and start up inconsistens behaviour
I have FileVault activeted. When I shut the computer and come back after two hours, sometimes the computer seems to be in "deep...
Read more >pmset Man Page - macOS - SS64.com
pmset must be run as root in order to modify any settings. See man pmset for a description of power management with more...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I suppose that’s where Linux excels when you want to hack things around, I am so done adjusting these setting…. But macOS and its huge trackpad is just so intuitive comparing to any Desktop Environment on Linux or PC trackpad and I am willing to sacrifice security for convenience.Just make sure keep your laptop with you most of the time.
I am on Sierra 10.12.4 with late 2016 Macbook Pro without touchbar. It seems like my computer is still not sleeping and waking properly. Here are my settings:
Here is when things go wrong on my machine. I close the lid. After 1 minute, I open the lid, it prompts me for filevault key. IF I DO NOT ENTER IT AND CLOSE THE LID AGAIN, THE COMPUTER SHUTSDOWN WHEN I OPEN THE LID ONE MINUTE LATER.
In my
pmset -g log
, I see the following:I also see a sleep failure here.
I think apple’s
pmset
is pretty broken and poorly documented. I don’t know I should even trust the computer to destroy the filevault key properly during sleep and we have little control over when the computer actually enters the standbymode and destroy the filevault key.