99designs / keyring

Go library providing a uniform interface across a range of secure credential stores
MIT License
576 stars 135 forks source link

Catch keychain's errSecUserCanceled #119

Open JulianToledano opened 1 year ago

JulianToledano commented 1 year ago

We found a bug while making use of this package on the cosmos-sdk. If a user denies to enter the password in the prompt while using keychain, a misleading error is returned (more info in the issue). This is because errSecUserCanceled is not being catch. This PR catch that error and return an expected error

tac0turtle commented 1 year ago

@mtibben any chance we can get this merged, it would allow us to unfork this repository

ainhoa-a commented 1 year ago

@mtibben @tac0turtle any chances of merging this?