Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest version of pyopenssl breaks gsutil signurl #1753

Open
adamk9k opened this issue Oct 31, 2023 · 1 comment
Open

Latest version of pyopenssl breaks gsutil signurl #1753

adamk9k opened this issue Oct 31, 2023 · 1 comment

Comments

@adamk9k
Copy link

adamk9k commented Oct 31, 2023

Hey there, this https://github.com/pyca/pyopenssl/pull/1223/files change in pyopenssl removed load_pkcs12 from OpenSSL.crypto. signurl used it directly https://github.com/GoogleCloudPlatform/gsutil/blob/master/gslib/commands/signurl.py#L57 and with it now missing it triggers a misleading error message that pyopenssl is not installed.

Also listed in the changelog https://github.com/pyca/pyopenssl/blob/c8b8c1eed352fc48cfe9e7052094857249525176/CHANGELOG.rst#backward-incompatible-changes (although there's a typo and they say they removed OpenSSL.crypto.loads_pkcs12).

Sorry I can't contribute a fix

@h4xnoodle
Copy link

To get around this, you can uninstall the latest and pip3 install pyopenssl==23.2.0 to use the version of pyopenssl that will work out here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants