You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove get_random_bytes from cryptography backend (#381)
* Remove get_random_bytes from cryptography backend
The RAND_bytes binding has been removed in cryptography 45.0. The
recommendation[1] is now to rely on `os.urandom`, which is already
implemented in the native backend.
The pycrpto implementation was removed earlier, so this removes the
leftover attempt to import it.
Closes: #380
[1] https://cryptography.io/en/latest/random-numbers/
* remove unused import
* fix import order
---------
Co-authored-by: Asher Foa <[email protected]>
0 commit comments