Comment 10 for bug 1749574

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

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>