commit | 25e16b8a0f36fbfee8fcccd6926682f0958bcc8d | [log] [tgz] |
---|---|---|
author | Douglas Mendizábal <dmendiza@redhat.com> | Tue Jun 08 15:39:22 2021 -0500 |
committer | Douglas Mendizábal <dmendiza@redhat.com> | Tue Jun 08 15:39:22 2021 -0500 |
tree | 1d7c7d0e87b390285883bcabf23052896dda695f | |
parent | 2b2b95ac1550db8af6b8f2da8880381a13c23ca8 [diff] |
Don't use legacy exponent for RSA As stated in the cryptography.io documentation, "Almost everyone should use 65537" for the public_exponent in an RSA key. [1] This patch also uses a larger RSA key length for FIPS compatibility. [1] https://cryptography.io/en/latest/hazmat/primitives/asymmetric/rsa/#cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key Change-Id: I9f0c030b172a544821aa42924e4401cd7ccc9956