You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running on macOS, if the python binary changes (for example from an update or change in channels) items already saved into the keychain are not accessible. Attempting to remove them raises an CondaAuthError error.
Will display a dialog asking the user to grant the application access to the item stored in the keychain.
From my testing items in the macOS keychain have their access control set so that only the binary that created them initially has access. Other binaries must be granted access.
Conda Info
❯ conda info
active environment : base
active env location : /Users/jhelmus/bug/new_base
shell level : 2
user config file : /Users/jhelmus/.condarc
populated config files : /Users/jhelmus/.condarc
conda version : 24.11.1
conda-build version : not installed
python version : 3.11.11.final.0
solver : libmamba (default)
virtual packages : __archspec=1=m1
__conda=24.11.1=0
__osx=14.6.1=0
__unix=0=0
base environment : /Users/jhelmus/bug/new_base (writable)
conda av data dir : /Users/jhelmus/bug/new_base/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/osx-arm64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-arm64
https://repo.anaconda.com/pkgs/r/noarch
package cache : /Users/jhelmus/bug/new_base/pkgs
/Users/jhelmus/.conda/pkgs
envs directories : /Users/jhelmus/bug/new_base/envs
/Users/jhelmus/.conda/envs
platform : osx-arm64
user-agent : conda/24.11.1 requests/2.32.3 CPython/3.11.11 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.9.0 libmambapy/1.5.11
UID:GID : 502:20
netrc file : None
offline mode : False
Note that this issue also prevents credentials stored in the keychain from being access by other conda environments unless the user grants the python binary installed in that environment access.
What happened?
When running on macOS, if the python binary changes (for example from an update or change in channels) items already saved into the keychain are not accessible. Attempting to remove them raises an
CondaAuthError
error.Example:
The stored token can only be accessed using
keyring
if permission to the keychain is granted for the item.For example
Will display a dialog asking the user to grant the application access to the item stored in the keychain.
From my testing items in the macOS keychain have their access control set so that only the binary that created them initially has access. Other binaries must be granted access.
Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: