johnthethird / keymaster

TouchID access to Mac Keychain via CLI
MIT License
12 stars 7 forks source link

Cancelling Touch ID still results in key successfully written #3

Open joy13975 opened 3 weeks ago

joy13975 commented 3 weeks ago

When I do

keymaster set "my_test_key" "test"

And then press "Cancel" when Touch ID shows up, it tells me

"Key my_test_key has been sucessfully set in the keychain"

And indeed the key has been created in Keychain, but with an empty password.


Expected behavior: spit error message and exit with non-0 code

joy13975 commented 2 weeks ago

Please check #4 @johnthethird