Skip to content

firepower-cli not compatible with latest version of required python3 libraries #23

@dev-sec7

Description

@dev-sec7

Issue
When istalling fp-05-firepower-cli on latest version of Ubuntu 22.04 Server encore.sh no longer works. The code is no longer compatable with pkcs12 due to changes in newer versions of the pyOpenSSL and cryptography python modules.

Ubuntu 22.04 - pyOpenSSL version >= 24.1.0

https://pypi.org/project/pyOpenSSL/

24.1.0 (2024-03-09)
Backward-incompatible changes:
Removed the deprecated OpenSSL.crypto.PKCS12 and OpenSSL.crypto.NetscapeSPKI. OpenSSL.crypto.PKCS12 may be replaced by the PKCS#12 APIs in the cryptography package.

Workaround
pip3 uninstall pyopenssl
pip3 install --force-reinstall -v "pyOpenSSL==19.0.0"
pip3 uninstall cryptography
pip3 install --force-reinstall -v "cryptography==2.8"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions