reduce-ssl-requirements.patch 845 B

1234567891011121314151617
  1. commit b8e049facd44969b04f6348de63384686e4c924e
  2. author: shadchin
  3. date: 2022-03-24T17:42:39+03:00
  4. Reduce ssl requirements
  5. --- contrib/tools/python3/Modules/_ssl.c (7d5969ad8d55d9636131a4f1567d36a4b8afb5b7)
  6. +++ contrib/tools/python3/Modules/_ssl.c (b8e049facd44969b04f6348de63384686e4c924e)
  7. @@ -171,7 +171,7 @@ extern const SSL_METHOD *TLSv1_2_method(void);
  8. * Based on Hynek's excellent blog post (update 2021-02-11)
  9. * https://hynek.me/articles/hardening-your-web-servers-ssl-ciphers/
  10. */
  11. - #define PY_SSL_DEFAULT_CIPHER_STRING "@SECLEVEL=2:ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES:DHE+AES:!aNULL:!eNULL:!aDSS:!SHA1:!AESCCM"
  12. + #define PY_SSL_DEFAULT_CIPHER_STRING "DEFAULT:ECDH+AESGCM:ECDH+CHACHA20:ECDH+AES:DHE+AES:!aNULL:!eNULL:!aDSS:!SHA1:!AESCCM"
  13. #ifndef PY_SSL_MIN_PROTOCOL
  14. #define PY_SSL_MIN_PROTOCOL TLS1_2_VERSION
  15. #endif