@@ -693,8 +693,7 @@ Options common to both client and server side.
693693 Used to limit the size of valid TLS handshake packets to avoid DoS
694694 attacks.
695695
696- Integer (24 bits, unsigned). Defaults to ` 256*1024 ` before OTP-26 or if SLH-DSA algorithms
697- are configured, otherwise the default is ` 256*1024 ` /2.
696+ Integer (24 bits, unsigned). Defaults to ` 262144 ` since OTP 29.0
698697
699698- ** ` {hibernate_after, HibernateTimeout} ` ** - Hibernate inactive connection processes.
700699
@@ -751,7 +750,7 @@ Common certificate related options to both client and server.
751750 connection will be selected.
752751
753752 The different signature algorithms are prioritized in the following
754- order: ` eddsa ` , ` ecdsa ` , ` rsa_pss_pss ` , ` rsa ` , and ` dsa ` . If more
753+ order: ` mldsa ` , ` slhdsa ` , ` eddsa ` , ` ecdsa ` , ` rsa_pss_pss ` , ` rsa ` , and ` dsa ` . If more
755754 than one key is supplied for the same signature algorithm, they will
756755 be prioritized by strength (except for _ engine keys_ ; see the next
757756 paragraph). This offers flexibility to, for instance, configure a
@@ -769,7 +768,7 @@ Common certificate related options to both client and server.
769768
770769 > #### Note {: .info }
771770 >
772- > ` eddsa ` certificates are only supported by TLS-1.3 implementations that do not support ` dsa `
771+ > ` mldsa ` , ` slhdsa ` , ` eddsa ` certificates are only supported by TLS-1.3 implementations that do not support ` dsa `
773772 > certificates. ` rsa_pss_pss ` (RSA certificates using Probabilistic Signature
774773 > Scheme) are supported in TLS-1.2 and TLS-1.3, but some TLS-1.2 implementations
775774 > do not support ` rsa_pss_pss ` .
@@ -1392,7 +1391,7 @@ The following options are specific to the client side, or have
13921391different semantics for the client and server:
13931392
13941393- ** ` {psk_groups, Groups} ` ** - key exchange groups that the client
1395- will send pre share keys for, defaults to first group in
1394+ will send pre shared keys for, defaults to the first group in
13961395supported_groups. Must be a subset of supported_groups and will
13971396be sent in the same order as they appear in supported_groups.
13981397
@@ -1445,7 +1444,7 @@ different semantics for the client and server.
14451444 > #### Change {: .info }
14461445 >
14471446 > The default for ` Verify ` was changed to ` verify_peer ` in
1448- > Erlang/OTP 26.
1447+ > Erlang/OTP 26.0.
14491448
14501449- ** ` {cacerts, CACerts} ` ** - Trusted certificates
14511450
@@ -1864,7 +1863,7 @@ Certificate related options for a server.
18641863 `true`, the server fails if the client does not have a certificate to send, that
18651864 is, sends an empty certificate. If set to `false`, it fails only if the client
18661865 sends an invalid certificate (an empty certificate is considered valid).
1867- Defaults to `true`, the default value was changed in OTP- 26.0.
1866+ Defaults to `true`, the default value was changed in OTP 26.0.
18681867
18691868- **`{certificate_authorities, ServerCertAuth}`** - Inter-operate hint option
18701869
@@ -3047,25 +3046,29 @@ Example:
30473046
30483047```erlang
304930481> ssl:signature_algs(default, 'tlsv1.3').
3050- [eddsa_ed25519,eddsa_ed448,ecdsa_secp521r1_sha512,
3051- ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256,
3052- ecdsa_brainpoolP512r1tls13_sha512,
3053- ecdsa_brainpoolP384r1tls13_sha384,
3054- ecdsa_brainpoolP256r1tls13_sha256,rsa_pss_pss_sha512,
3055- rsa_pss_pss_sha384,rsa_pss_pss_sha256,rsa_pss_rsae_sha512,
3056- rsa_pss_rsae_sha384,rsa_pss_rsae_sha256,mldsa44,mldsa65,
3057- mldsa87,rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,
3049+ [mldsa87,mldsa65,mldsa44,slh_dsa_shake_256f,slh_dsa_shake_256s,
3050+ slh_dsa_sha2_256f,slh_dsa_sha2_256s,slh_dsa_shake_192f,slh_dsa_shake_192s,
3051+ slh_dsa_sha2_192f,slh_dsa_sha2_192s,slh_dsa_shake_128f,slh_dsa_shake_128s,
3052+ slh_dsa_sha2_128f,slh_dsa_sha2_128s,eddsa_ed25519,eddsa_ed448,
3053+ ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256,
3054+ ecdsa_brainpoolP512r1tls13_sha512,ecdsa_brainpoolP384r1tls13_sha384,
3055+ ecdsa_brainpoolP256r1tls13_sha256,rsa_pss_pss_sha512,rsa_pss_pss_sha384,
3056+ rsa_pss_pss_sha256,rsa_pss_rsae_sha512,rsa_pss_rsae_sha384,
3057+ rsa_pss_rsae_sha256,rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,
30583058 {sha512,ecdsa},
30593059 {sha384,ecdsa},
3060- {sha256,ecdsa}]
3060+ {sha256,ecdsa}].
30613061
306230622> ssl:signature_algs(all, 'tlsv1.3').
3063- [eddsa_ed25519,eddsa_ed448,ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384,
3064- ecdsa_secp256r1_sha256,ecdsa_brainpoolP512r1tls13_sha512,
3065- ecdsa_brainpoolP384r1tls13_sha384,ecdsa_brainpoolP256r1tls13_sha256,
3066- rsa_pss_pss_sha512,rsa_pss_pss_sha384,rsa_pss_pss_sha256,rsa_pss_rsae_sha512,
3067- rsa_pss_rsae_sha384,rsa_pss_rsae_sha256,mldsa44,mldsa65,mldsa87,
3068- rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,
3063+ [mldsa87,mldsa65,mldsa44,slh_dsa_shake_256f,slh_dsa_shake_256s,
3064+ slh_dsa_sha2_256f,slh_dsa_sha2_256s,slh_dsa_shake_192f,slh_dsa_shake_192s,
3065+ slh_dsa_sha2_192f,slh_dsa_sha2_192s,slh_dsa_shake_128f,slh_dsa_shake_128s,
3066+ slh_dsa_sha2_128f,slh_dsa_sha2_128s,eddsa_ed25519,eddsa_ed448,
3067+ ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256,
3068+ ecdsa_brainpoolP512r1tls13_sha512,ecdsa_brainpoolP384r1tls13_sha384,
3069+ ecdsa_brainpoolP256r1tls13_sha256,rsa_pss_pss_sha512,rsa_pss_pss_sha384,
3070+ rsa_pss_pss_sha256,rsa_pss_rsae_sha512,rsa_pss_rsae_sha384,
3071+ rsa_pss_rsae_sha256,rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,
30693072 {sha512,ecdsa},
30703073 {sha384,ecdsa},
30713074 {sha256,ecdsa},
@@ -3078,15 +3081,15 @@ Example:
30783081 {sha,dsa}]
30793082
308030833> [ssl:signature_algs(exclusive, 'tlsv1.3').
3081- [eddsa_ed25519,eddsa_ed448,ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384 ,
3082- ecdsa_secp256r1_sha256,ecdsa_brainpoolP512r1tls13_sha512 ,
3083- ecdsa_brainpoolP384r1tls13_sha384,ecdsa_brainpoolP256r1tls13_sha256 ,
3084- rsa_pss_pss_sha512,rsa_pss_pss_sha384,rsa_pss_pss_sha256,rsa_pss_rsae_sha512 ,
3085- rsa_pss_rsae_sha384,rsa_pss_rsae_sha256,mldsa44,mldsa65,mldsa87 ,
3086- rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256,slh_dsa_shake_256f ,
3087- slh_dsa_shake_256s,slh_dsa_sha2_256f,slh_dsa_sha2_256s,slh_dsa_shake_192f ,
3088- slh_dsa_shake_192s,slh_dsa_sha2_192f,slh_dsa_sha2_192s,slh_dsa_shake_128f ,
3089- slh_dsa_shake_128s,slh_dsa_sha2_128f,slh_dsa_sha2_128s ]
3084+ [mldsa87,mldsa65,mldsa44,slh_dsa_shake_256f,slh_dsa_shake_256s ,
3085+ slh_dsa_sha2_256f,slh_dsa_sha2_256s,slh_dsa_shake_192f,slh_dsa_shake_192s ,
3086+ slh_dsa_sha2_192f,slh_dsa_sha2_192s,slh_dsa_shake_128f,slh_dsa_shake_128s ,
3087+ slh_dsa_sha2_128f,slh_dsa_sha2_128s,eddsa_ed25519,eddsa_ed448 ,
3088+ ecdsa_secp521r1_sha512,ecdsa_secp384r1_sha384,ecdsa_secp256r1_sha256 ,
3089+ ecdsa_brainpoolP512r1tls13_sha512,ecdsa_brainpoolP384r1tls13_sha384 ,
3090+ ecdsa_brainpoolP256r1tls13_sha256,rsa_pss_pss_sha512,rsa_pss_pss_sha384 ,
3091+ rsa_pss_pss_sha256,rsa_pss_rsae_sha512,rsa_pss_rsae_sha384 ,
3092+ rsa_pss_rsae_sha256,rsa_pkcs1_sha512,rsa_pkcs1_sha384,rsa_pkcs1_sha256 ]
30903093```
30913094
30923095> #### Note {: .info }
@@ -3112,15 +3115,13 @@ signature_algs(default, 'tlsv1.2') ->
31123115signature_algs (all , 'tlsv1.3' ) ->
31133116 tls_v1 :default_signature_algs ([tls_record :protocol_version_name ('tlsv1.3' ),
31143117 tls_record :protocol_version_name ('tlsv1.2' )]) ++
3115- tls_v1 :slh_dsa_schemes () ++
31163118 [ecdsa_sha1 , rsa_pkcs1_sha1 | tls_v1 :legacy_signature_algs_pre_13 ()] --
31173119 [{sha , ecdsa }, {sha , rsa }];
31183120signature_algs (all , 'tlsv1.2' ) ->
31193121 tls_v1 :default_signature_algs ([tls_record :protocol_version_name ('tlsv1.2' )]) ++
31203122 tls_v1 :legacy_signature_algs_pre_13 ();
31213123signature_algs (exclusive , 'tlsv1.3' ) ->
3122- tls_v1 :default_signature_algs ([tls_record :protocol_version_name ('tlsv1.3' )]) ++
3123- tls_v1 :slh_dsa_schemes ();
3124+ tls_v1 :default_signature_algs ([tls_record :protocol_version_name ('tlsv1.3' )]);
31243125signature_algs (exclusive , 'tlsv1.2' ) ->
31253126 Algs = tls_v1 :default_signature_algs ([tls_record :protocol_version_name ('tlsv1.2' )]),
31263127 Algs ++ tls_v1 :legacy_signature_algs_pre_13 ();
@@ -3178,7 +3179,7 @@ eccs(Other) ->
31783179- doc """
31793180Returns all supported groups in TLS 1.3.
31803181
3181- Existed since OTP 22.0; documented as of OTP 27.
3182+ Existed since OTP 22.0; documented as of OTP 27.0.
31823183""" .
31833184- spec groups () -> [group ()].
31843185% %--------------------------------------------------------------------
@@ -3193,7 +3194,7 @@ groups() ->
31933194- doc """
31943195Returns default supported groups in TLS 1.3.
31953196
3196- Existed since OTP 22.0; documented as of OTP 27.
3197+ Existed since OTP 22.0; documented as of OTP 27.0.
31973198""" .
31983199
31993200% %--------------------------------------------------------------------
0 commit comments