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

Failure to load deprecated libraries leads to misleading error message for users #1759

Open
h4xnoodle opened this issue Jan 18, 2024 · 0 comments

Comments

@h4xnoodle
Copy link

h4xnoodle commented Jan 18, 2024

This try : except leads to a misleading error message if the nested dependency of, say load_pkcs12, no longer exists

It seems like the HAVE_OPENSSL value

HAVE_OPENSSL = False

leads to the user error message of CommandException: The signurl command requires the pyopenssl library (try pip install pyopenssl or easy_install pyopenssl) which leads to confusion about how to proceed.

Workaround: install the current n-1 version of pyopenssl: pip3 install pyopenssl==23.2.0 which does indeed work

Test case: gsutil signurl -d 10m <some file...>

Related: #1753

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

1 participant