google / cloud-forensics-utils

Python library to carry out DFIR analysis on the Cloud
Apache License 2.0
459 stars 88 forks source link

E2E tests failing: libcloudforensics-e2e-gcp #458

Closed jonathan-greig closed 1 year ago

jonathan-greig commented 1 year ago

Related to https://github.com/pyca/pyopenssl/issues/1143

An old version of pyopenssl is included from the runner env:

File "/usr/lib/python3/dist-packages/OpenSSL/crypto.py", line 1573, in X509StoreFlags
    CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'

Contrast this path with packages installed during the test in the runner:

File "/usr/local/lib/python3.8/dist-packages/urllib3/contrib/pyopenssl.py"

Manually adding pyopenssl to requirements.txt should fix this.