secretive icon indicating copy to clipboard operation
secretive copied to clipboard

Unable to delete secrets?

Open autolyticus opened this issue 1 month ago • 1 comments

I am on Secretive version 3.0.4 (1.19746755792).

I was revamping my infra and rotating a few keys but recently I realized that, for some reason (unsure if it is due to the recent update) I am unable to delete keys.

I am sure that there was a mechanism to delete keys earlier because I remember using it but right now, right clicking on a particular key on the left sidebar (under Secure Enclave) does not work - i.e. it does not raise a popup menu giving me the option to Delete.

I now have duplicate keys and I am trying to remove them but I can't, this is causing failures when logging in with some of my machines

Received disconnect from hostname1 port 22:2: Too many authentication failures

because the Secretive agent is trying to present all of my keys.

autolyticus avatar Dec 04 '25 14:12 autolyticus

Also, on a side note, how would I reset the state of Secretive? Am I correct in understanding that no other application would be able to do anything to its store in the Enclave?

I tried deleting the folders in ~/Library but obviously, that had no effect in removing the keys

autolyticus avatar Dec 04 '25 14:12 autolyticus

Can you post a screenshot/video? I'm seeing it fine here, possible I broke on a different version of macOS or something.

Image

Keychain entries aren't super resettable by users – you won't be able to delete on disk.

maxgoedjen avatar Dec 11 '25 04:12 maxgoedjen

I'm on Sonoma 14.7.1.

Image

I suspect it's something about having a combination of having keys that were created from an older version of Secretive combined with newly created ones...

autolyticus avatar Dec 11 '25 06:12 autolyticus

I suspect it's something about having a combination of having keys that were created from an older version of Secretive combined with newly created ones...

That shouldn't matter (Secretive 3 migrates those keys, and once they're migrated there's no difference between them and new ones at all). I'd definitely bet it's related to older macOS, I'll have to spin up a VM and try that out.

maxgoedjen avatar Dec 13 '25 23:12 maxgoedjen

Yeah I think it's just broken on older macOS from cursory testing. I'll check it out, thanks for letting me know!

maxgoedjen avatar Dec 13 '25 23:12 maxgoedjen

Confirmed it works fine on macOS 15. This is kind of a tricky one to debug since the version of Xcode I'd need to run on macOS 14 won't build the current version of Secretive... Basically it's just a bug in the SwiftUI code that shows the context menu that's supposed to show up here. Lemme think bout it a little more.

maxgoedjen avatar Dec 13 '25 23:12 maxgoedjen

Should be fixed by that PR and and the next nightly build should contain that fix ^

maxgoedjen avatar Dec 14 '25 04:12 maxgoedjen