Skip to content

On GAE: "pyOpenSSL must be installed to load a private key" #1487

@kvdb

Description

@kvdb

I've tried gcloud 0.10.0 on the local dev_appserver.py. While I've got the same problem as reported in #1436, I've got an additional exception too:

File "/x/libs/gcloud/storage/blob.py", line 233, in generate_signed_url
  generation=generation)
File "/x/libs/gcloud/credentials.py", line 379, in generate_signed_url
  string_to_sign)
File "/x/libs/gcloud/credentials.py", line 267, in _get_signed_query_params
  signature_bytes = _get_signature_bytes(credentials, string_to_sign)
File "/x/libs/gcloud/credentials.py", line 215, in _get_signature_bytes
  pkey = _get_pem_key(credentials)
File "/x/libs/gcloud/credentials.py", line 191, in _get_pem_key
  'pyOpenSSL must be installed to load a private key')

EnvironmentError: pyOpenSSL must be installed to load a private key

That problem seems to be related to PR #1338.

Metadata

Metadata

Assignees

Labels

api: coreauthtype: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions