jaraco / jaraco/keyring

Changing "Access Control" on macOS

Open
#512 3 comments 0 reactions 0 assignees View on GitHub
help wanted macOS
Dominant language
Python
Stars
1.5k
Forks
196
PR merge metrics
No merged PRs in 30d

Description

I'm building an app using PyInstaller and want to use keyring for secret management on Windows and macOS.
Everything is working as it should until I want to do an upgrade to the app, them the keychain on macOS ask for permissions to access the key.

I assume it is related to this #406 ticket, when the secret first added to the keychain it adds the binary file to the allowed applications under the "Access Control" tab and after an upgrade, it is a new binary.

Is there an option to set the "Allow all applications to access this item" settings the same as `security -A` works?
I tried looking at the code but could not find how it can be done.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading keyring's macOS keychain implementation and the related #406 discussion. Compare the requested Access Control behavior with what `security -A` does, then determine whether an exposed option can support upgraded PyInstaller binaries without prompting; done means the intended behavior is defined and verified on macOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
macos, python
Domain
operating-systems, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.