Reviewed: https://review.openstack.org/560292 Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=46a031e76544572562eaf3e757a0ff488c3389f2 Submitter: Zuul Branch: master
commit 46a031e76544572562eaf3e757a0ff488c3389f2 Author: Zhao Chao <email address hidden> Date: Wed Apr 11 12:39:05 2018 +0800
Switch to cryptography from pycrypto
PyCrypto isn't active developed for quite a while, cryptography is recommended instead. This patch does this migration, but still keeps pycrytpo as a fallback solution.
Random generation is also migrated to os.urandom as the cryptography document suggests: https://cryptography.io/en/latest/random-numbers/
Closes-Bug: #1749574
Change-Id: I5c0c1a238023c116af5a84d899e629f1c7c3513f Co-Authored-By: Fan Zhang <email address hidden> Signed-off-by: Zhao Chao <email address hidden>
Reviewed: https:/ /review. openstack. org/560292 /git.openstack. org/cgit/ openstack/ trove/commit/ ?id=46a031e7654 4572562eaf3e757 a0ff488c3389f2
Committed: https:/
Submitter: Zuul
Branch: master
commit 46a031e76544572 562eaf3e757a0ff 488c3389f2
Author: Zhao Chao <email address hidden>
Date: Wed Apr 11 12:39:05 2018 +0800
Switch to cryptography from pycrypto
PyCrypto isn't active developed for quite a while, cryptography is
recommended instead. This patch does this migration, but still keeps
pycrytpo as a fallback solution.
Random generation is also migrated to os.urandom as the cryptography /cryptography. io/en/latest/ random- numbers/
document suggests:
https:/
Closes-Bug: #1749574
Change-Id: I5c0c1a238023c1 16af5a84d899e62 9f1c7c3513f
Co-Authored-By: Fan Zhang <email address hidden>
Signed-off-by: Zhao Chao <email address hidden>