Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

CryptographyDeprecationWarnings in Ansible output #22

@RobinR1

Description

@RobinR1

When the passbolt ansible lookup plugin is used 3 warnings are logged whenever the lookup is performed by Ansible:

 SymmetricKeyAlgorithm.CAST5: algorithms.CAST5,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:195: CryptographyDeprecationWarning: Blowfish has been deprecated and will be removed in a future release
  SymmetricKeyAlgorithm.Blowfish: algorithms.Blowfish,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:192: CryptographyDeprecationWarning: IDEA has been deprecated and will be removed in a future release
  bs = {SymmetricKeyAlgorithm.IDEA: algorithms.IDEA,
/usr/local/lib/python3.9/site-packages/pgpy/constants.py:194: CryptographyDeprecationWarning: CAST5 has been deprecated and will be removed in a future release

I assume this is due to: SecurityInnovation/PGPy#398
reported 2 years ago, but it doesn't seem that the pgpy project has much activity..
Can we get rid of these warnings in the Passbolt Ansible plugin?

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