GoogleCloudPlatform / GoogleCloudPlatform/artifact-registry-python-tools

Intermittent issues accessing keyring on macOS

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Does anyone know why this happens? I have a few users who randomly run into problems with this workflow.

Often they resolve if the user closes their terminal and starts a new one. But sometimes the python binary is permanently unable to access the keyring anymore.

```
raise KeyringError(f"Can't get password from keychain: {e}") from e
keyring.errors.KeyringError: Can't get password from keychain: (-25293, 'Security Auth Failure: make sure executable is signed with codesign util')
```

We obviously don't sign our Python binaries and they normally work fine, so this is an unexpected sudden requirement.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.