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
This
try : except
leads to a misleading error message if the nested dependency of, sayload_pkcs12
, no longer existsIt seems like the
HAVE_OPENSSL
value https://github.com/GoogleCloudPlatform/gsutil/blob/a872f98b59bad2bb72010afb9b0b90aa91ec5d0c/gslib/commands/signurl.py#L65leads 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 workTest case:
gsutil signurl -d 10m <some file...>
Related: https://github.com/GoogleCloudPlatform/gsutil/issues/1753