New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS Mojave cannot get already set key passwords since v23.1.0 #583
Comments
Update: after I upgrade my MacBook Pro to Monterey, the problem no longer exists. |
There were several compatibility issues between Python and macOS and the ARM transition (which happened in Python 3.7/3.8). As you can see in the changelog, v23.1.0 introduced one change as found in #519, where the API was updated. Probably Mojave didn't have that API yet. My recommendation - if you're using an older version of macOS, you may need to use an older keyring. |
Having the exact same issue with MacOS 12.5.1, Python 3.10.5 (and 3.9.13) on an ARM M1 Max. Tried |
Update: issue was due to compiling python through |
Describe the bug
On macOS Mojave (other macOS version not tested), the README demo steps fail:
when calling
keyring.get_password
in python orkeyring get
in command line after setting a password. In system app Keychain I can confirm that the key password is set.The problem disappears when downgrade to version 23.0.1 and shows up since version 23.1.0.
To Reproduce
Steps to reproduce the behavior: follow README demo steps
Expected behavior
The console log is as follows:
Environment
Additional context
I encountered this when trying notion-scholar on my Macbook Pro before I realized that the cause is rooted here.
The text was updated successfully, but these errors were encountered: