Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gvm-cli Python cryptography deprecation warning #1131

Open
schleyk opened this issue Aug 7, 2024 · 1 comment
Open

gvm-cli Python cryptography deprecation warning #1131

schleyk opened this issue Aug 7, 2024 · 1 comment

Comments

@schleyk
Copy link

schleyk commented Aug 7, 2024

Expected behavior

no CryptographyDeprecationWarning

Current behavior

CryptographyDeprecationWarning for any gvm-cli usage.

Steps to reproduce

gvm-cli --version
/opt/venv/lib/python3.11/site-packages/paramiko/pkey.py:100: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"cipher": algorithms.TripleDES,
/opt/venv/lib/python3.11/site-packages/paramiko/transport.py:259: CryptographyDeprecationWarning: TripleDES has been moved to cryptography.hazmat.decrepit.ciphers.algorithms.TripleDES and will be removed from this module in 48.0.0.
"class": algorithms.TripleDES,

gvm-cli 24.7.0 (API version 24.7.0)

GVM versions

gvm-cli --version
gvm-cli 24.7.0 (API version 24.7.0)

python -V
Python 3.11.2

pip list
Package Version
bcrypt 4.2.0
cffi 1.16.0
cryptography 43.0.0
gvm-tools 24.7.0
lxml 5.2.2
paramiko 3.4.0
pip 23.0.1
pycparser 2.22
PyNaCl 1.5.0
python-gvm 24.7.0
setuptools 66.1.1

Environment

Docker Container
FROM mcr.microsoft.com/dotnet/aspnet:8.0
RUN apt update && apt-get install -y openssl python3 python3-pip python3-venv
RUN python3 -m venv /opt/venv
ENV PATH="/opt/venv/bin:$PATH"
RUN pip install gvm-tools

Logfiles

not relevant
@schleyk
Copy link
Author

schleyk commented Aug 9, 2024

workaround:

pip install cryptography==42.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant