Skip to content

Catch keychain's errSecUserCanceled #119

Open
JulianToledano wants to merge 1 commit into
99designs:masterfrom
Zondax:master
Open

Catch keychain's errSecUserCanceled #119
JulianToledano wants to merge 1 commit into
99designs:masterfrom
Zondax:master

Conversation

@JulianToledano

@JulianToledano JulianToledano commented Jan 18, 2023

Copy link
Copy Markdown

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

* Update gitignore

* Add ErrAccessDenied error

* Add error description on errSecUserCanceled

* Run CI on pull requests
@tac0turtle

Copy link
Copy Markdown

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

@ainhoa-a

Copy link
Copy Markdown

@mtibben @tac0turtle any chances of merging this?

@mbevc1

mbevc1 commented Jan 19, 2026

Copy link
Copy Markdown

Maintained fork: https://github.com/ByteNess/keyring/

Contributions are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants