This repository was archived by the owner on Nov 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
This repository was archived by the owner on Nov 2, 2022. It is now read-only.
Python codesign error again #37
Copy link
Copy link
Open
Description
Hi all,
As you can see below, I'm trying to add a new profile to aws-jumpcloud, and I get a security authorization failure. I had a similar error back in November, but re-setting my Keychain password seemed to fix it. I tried that solution again, but to no avail.
klundstedt@klundstedt-mbp2 ~ % aws-jumpcloud add xxxxxxxx
Enter the JumpCloud SSO URL for "test": https://sso.jumpcloud.com/saml2/xxxxxxxx
Traceback (most recent call last):
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/keyring/backends/OS_X.py", line 38, in set_password
api.set_generic_password(self.keychain, service, username, password)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/keyring/backends/_OS_X_API.py", line 256, in set_generic_password
Error.raise_for_status(status)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/keyring/backends/_OS_X_API.py", line 47, in raise_for_status
"Security Auth Failure: make sure "
keyring.backends._OS_X_API.SecAuthFailure: (-67030, 'Security Auth Failure: make sure python is signed with codesign util')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/aws-jumpcloud", line 11, in <module>
load_entry_point('aws-jumpcloud==2.1.5', 'console_scripts', 'aws-jumpcloud')()
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/aws_jumpcloud/cli.py", line 18, in main
args.func(args)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/aws_jumpcloud/commands.py", line 78, in add_profile
keyring.store_profile(profile)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/aws_jumpcloud/keyring.py", line 68, in store_profile
self._save()
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/aws_jumpcloud/keyring.py", line 162, in _save
keyring.set_password(self._keyring_service, self._keyring_username, json_data)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/keyring/core.py", line 62, in set_password
_keyring_backend.set_password(service_name, username, password)
File "/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/lib/python3.7/site-packages/keyring/backends/OS_X.py", line 42, in set_password
raise PasswordSetError("Can't store password on keychain: " "{}".format(e))
keyring.errors.PasswordSetError: Can't store password on keychain: (-67030, 'Security Auth Failure: make sure python is signed with codesign util')
When I check the codesign for the Python version used by aws-jumpcloud, I get the following error:
klundstedt@klundstedt-mbp2 ~ % codesign -v $(which /usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/bin/python3.7)
/usr/local/Cellar/aws-jumpcloud/2.1.5/libexec/bin/python3.7: invalid Info.plist (plist or signature have been modified)
In architecture: x86_64
I'm not sure if that's the issue, or if there's something else that's preventing me from creating a new profile.
Thanks!
Kyle
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels