net-cert-increase-default-key-length-for-newly-gener.patch 803 B

1234567891011121314151617181920212223
  1. From 088a50b2fc66418294166b61f31925426b1a9c54 Mon Sep 17 00:00:00 2001
  2. From: Jan Engelhardt <jengelh@inai.de>
  3. Date: Mon, 15 Sep 2014 10:52:32 +0200
  4. Subject: [PATCH 12/66] net/cert: increase default key length for
  5. newly-generated RSA keys
  6. Should we add something for chrome://settings, or just leave
  7. it as hidden as it was before?
  8. ---
  9. net/cert/x509_util.cc | 2 +-
  10. 1 file changed, 1 insertion(+), 1 deletion(-)
  11. --- a/net/cert/x509_util.cc
  12. +++ b/net/cert/x509_util.cc
  13. @@ -299,7 +299,7 @@ bool GetTLSServerEndPointChannelBinding(
  14. }
  15. // RSA keys created by CreateKeyAndSelfSignedCert will be of this length.
  16. -static const uint16_t kRSAKeyLength = 1024;
  17. +static const uint16_t kRSAKeyLength = 2048;
  18. // Certificates made by CreateKeyAndSelfSignedCert will be signed using this
  19. // digest algorithm.