maxgoedjen / secretive

Store SSH keys in the Secure Enclave
MIT License
6.99k stars 155 forks source link

public keys vanished after updating to macOS 12.3 #367

Closed ericlagergren closed 2 years ago

ericlagergren commented 2 years ago

Is there a way to get them back?

Also, thank you for such a wonderful application.

ericlagergren commented 2 years ago

False alarm. I killed and restarted SecretAgent and it's back to normal.

maxgoedjen commented 2 years ago

Hey @ericlagergren - just to clarify, did the public key files on disk disappear or are they entirely gone in the main app?

If it's the former they should get recreated on agent relaunch. You can kill SecretAgent from Activity Monitor to do that.

ericlagergren commented 2 years ago

@maxgoedjen yes, sorry, the public key files disappeared and they reappeared after killing and restarting SecretAgent.

It's odd that SecretAgent did not write the public keys to disk after my laptop restarted from the macOS upgrade, but I'm also fairly unfamiliar with macOS apps.

maxgoedjen commented 2 years ago

Phew, was scared it was a data loss bug for a sec 😌.

Possible something just went weird during startup/upgrade... basically it should just do that on launch. I'll keep the ticket open, let me know if you run into it again. Thanks!

schickling commented 2 years ago

FYI I was facing the same issue. Restarting the agent did the trick for me as well. But I definitely got scared for a moment (until I found this issue).

ericlagergren commented 1 year ago

fwiw, just ran into this again after updating from 13.0.0 to 13.0.1 (22A400).