-
Notifications
You must be signed in to change notification settings - Fork 59
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
Migrate away from pycrypto? #6
Comments
I'd vote for pyOpenSSL since Ceph already has a dependency on it. |
@dillaman @smithfarm the pyOpenSSL only works for managing keys/certificates it does not have the encrypt/decrypt function that it's required by the ceph-iscsi code. In the the pyOpenSSL documentation they recommend the usage of python-cryptography package to preform encrypt/decrypt (https://pyopenssl.org/en/stable/api/crypto.html#module-OpenSSL.crypto). Can we use python-cryptography instead? |
@rjfd Works for me: SLE-15: python3-cryptography 2.1.4 |
That's fine w/ me as well since it's available in RHEL/CentOS |
Fixes: ceph#6 Signed-off-by: Ricardo Dias <rdias@suse.com>
Fixes: ceph#6 Signed-off-by: Ricardo Dias <rdias@suse.com>
Fixes: ceph#6 Signed-off-by: Ricardo Dias <rdias@suse.com>
Hi. I noticed that ceph-iscsi has a runtime dependency on pycrypto 2.6.1 [1]
This is problematic for openSUSE because this package has been removed from the distribution. It is slated to be dropped from SLES as well, though that has not happened just yet.
Apparently, this package is only used here:
ceph-iscsi/ceph_iscsi_config/client.py
Line 3 in c6860ae
The openSUSE maintainers suggest that we migrate to https://pypi.org/project/pycryptodomex/ or https://pypi.org/project/pyOpenSSL/ - is this feasible?
[1] https://www.dlitz.net/software/pycrypto/
The text was updated successfully, but these errors were encountered: