]> gitweb.factorcode.org Git - factor.git/commitdiff
io.sockets.secure.openssl: add two more recommended protocols
authorDoug Coleman <doug.coleman@gmail.com>
Fri, 17 Feb 2023 01:36:34 +0000 (19:36 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 26 Feb 2023 23:11:04 +0000 (17:11 -0600)
basis/io/sockets/secure/openssl/openssl.factor

index 9295ace348d82608e4df7a6c953d9af24aa76b70..ce34d86d771971d9cc66197ebe804a4f2375ecd9 100644 (file)
@@ -40,7 +40,7 @@ CONSTANT: weak-ciphers-for-compatibility
 MEMO: make-cipher-list ( -- string )
     {
         ! https://ciphersuite.info/cs/?security=recommended&software=openssl&singlepage=true
-        ! Recommended 12/28/2021
+        ! Recommended 2/16/2023
         "ECDHE-ECDSA-AES256-GCM-SHA384"
         "ECDHE-ECDSA-AES128-GCM-SHA256"
         "ECDHE-ECDSA-CHACHA20-POLY1305"
@@ -50,14 +50,16 @@ MEMO: make-cipher-list ( -- string )
         "DHE-PSK-AES256-GCM-SHA384"
         "DHE-PSK-AES128-GCM-SHA256"
         "DHE-PSK-CHACHA20-POLY1305"
+        "TLS_AES_128_GCM_SHA256"
+        "TLS_AES_256_GCM_SHA384"
 
         ! Secure 12/28/2021
         "ECDHE-RSA-AES128-GCM-SHA256"
+        "ECDHE-RSA-CHACHA20-POLY1305"
         "ECDHE-ECDSA-AES256-CCM8"
         "ECDHE-ECDSA-AES256-CCM"
         "ECDHE-ECDSA-AES128-CCM8"
         "ECDHE-ECDSA-AES128-CCM"
-        "ECDHE-RSA-CHACHA20-POLY1305"
     }
     ! XXX: Weak ciphers
     weak-ciphers-for-compatibility append