-
Notifications
You must be signed in to change notification settings - Fork 478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encryption key not escrowed after macOS/Windows host is decrypted and re-encrypted #25723
Comments
@getvictor I'm going to put a P1 on any bugs found related to us losing the encryption key so hey are easy to spot. |
@gillespi314 For macOS stuck in
and that populated that file, and osquery was able to return the recovery key. |
@getvictor, does this bug require the host to be offline when the team transfers happen? |
Testing so far shows (win & mac) hosts successfully re-encrypt (key gets rotated and escrowed) when moving teams if you Linux LUKS encryption is working as well but the user experience is different. The rotation and escrow of the key happens on the My Device page with modals showing progress and success messages throughout. I still need to run through everything again while the host is tracking here |
Findings macOS
Windows I did find a case where a host can get stuck in the verifying state after the key is re-escrowed, in which case, the state will persist as verifying until the hosts_disks table is updated (e.g., when available disk space changes by at least 0.01 GB). We can avoid this by manually setting host_disks.updated_at every time the detail query is reported. |
QA Test results after fix - macOS: Windows: I was not able to reproduce a host getting stuck in a |
Currently, this is a placeholder for issues I've seen testing the key recovery flow for P1 #25609
@PezHub, please try to reproduce these issues without the key recovery flow. To summarize:
The text was updated successfully, but these errors were encountered: