macOS: Can't store password on keychain
DeveloperTK opened this issue · 2 comments
DeveloperTK commented
This error occurrs after entering the (correct) password.
Running on macOS Monterey 12.3.1 (21E258)
Error An unexpected exception occurred
Traceback (most recent call last):
File "keyring/backends/macOS/__init__.py", line 40, in set_password
File "keyring/backends/macOS/api.py", line 161, in set_generic_password
File "keyring/backends/macOS/api.py", line 114, in raise_for_status
keyring.backends.macOS.api.Error: (-25308, 'Unknown Error')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "PFERD/pferd.py", line 156, in run
File "PFERD/crawl/http_crawler.py", line 193, in run
File "PFERD/crawl/crawler.py", line 84, in wrapper
File "PFERD/crawl/crawler.py", line 337, in run
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 191, in _run
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 205, in _crawl_course
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 238, in _crawl_url
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 94, in wrapper
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 224, in gather_elements
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 618, in _get_page
File "PFERD/crawl/http_crawler.py", line 84, in authenticate
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 94, in wrapper
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 631, in _authenticate
File "PFERD/crawl/ilias/kit_ilias_web_crawler.py", line 704, in login
File "PFERD/auth/keyring.py", line 47, in credentials
File "keyring/core.py", line 60, in set_password
File "keyring/backends/macOS/__init__.py", line 44, in set_password
keyring.errors.PasswordSetError: Can't store password on keychain: (-25308, 'Unknown Error')
I-Al-Istannen commented
I don't have any mac or any way to test this sadly, but maybe you could have a look at https://github.com/jaraco/keyring/search?q=-25308+is%3Aissue&type=issues?
It sounds like MacOS is being a bit picky with app permissions.
DeveloperTK commented
I have tried granting every permission I found but couldn't get it to work. This issue somehow only happens on one of my macs and nobody seems to have encountered Issues with storing the passwords on the keychain on macOS before.