Commit 3c18fbd
committed
feat(manager/ssl,browser/components): Disable ML-DSA by default in TLS and certificate signatures
- Added a new configuration option (about:config) to enable the use of
ML-DSA in TLS protocol. The option affects also the policy of enabled
algorithms for certificate signatures.
- mozpkix's VerifySignedData rejects a signature algorithm only if the
bitflag NSS_USE_ALG_IN_SIGNATURE is not set.
- NSS's algorithms policies provide also the bitflag
NSS_USE_ALG_IN_CERT_SIGNATURE but it's not being checked by
VerifySignedData. That flag is checked by certvfy component for
signing certificates (e.g., normal NSS tooling operations).
- The new option security.tls.enable_mldsa is set to false by defaut.
- An ML-DSA signature algorithm used in the handshake will cause a
SEC_ERROR_SSL_CYPHER_NO_OVERLAP error. Instead when it's being used in
certificate signatures it will cause a
SEC_ERROR_CERT_SIGNATURE_ALGORITHM_DISABLED error.
Signed-off-by: Francesco Rollo <eferollo@gmail.com>1 parent 4ac0ffe commit 3c18fbd
File tree
3 files changed
+84
-7
lines changed- modules/libpref/init
- security/manager/ssl
3 files changed
+84
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17430 | 17430 | | |
17431 | 17431 | | |
17432 | 17432 | | |
| 17433 | + | |
| 17434 | + | |
| 17435 | + | |
| 17436 | + | |
| 17437 | + | |
| 17438 | + | |
| 17439 | + | |
| 17440 | + | |
| 17441 | + | |
| 17442 | + | |
| 17443 | + | |
| 17444 | + | |
17433 | 17445 | | |
17434 | 17446 | | |
17435 | 17447 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1012 | 1012 | | |
1013 | 1013 | | |
1014 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
| 1021 | + | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
| 1031 | + | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
1015 | 1065 | | |
1016 | 1066 | | |
1017 | 1067 | | |
| |||
1029 | 1079 | | |
1030 | 1080 | | |
1031 | 1081 | | |
| 1082 | + | |
1032 | 1083 | | |
1033 | 1084 | | |
1034 | 1085 | | |
| |||
2252 | 2303 | | |
2253 | 2304 | | |
2254 | 2305 | | |
| 2306 | + | |
2255 | 2307 | | |
2256 | 2308 | | |
2257 | 2309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
1301 | 1302 | | |
1302 | 1303 | | |
1303 | 1304 | | |
1304 | | - | |
1305 | | - | |
1306 | | - | |
1307 | 1305 | | |
1308 | 1306 | | |
1309 | 1307 | | |
| |||
1681 | 1679 | | |
1682 | 1680 | | |
1683 | 1681 | | |
1684 | | - | |
1685 | | - | |
1686 | | - | |
1687 | | - | |
| 1682 | + | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
| 1691 | + | |
| 1692 | + | |
| 1693 | + | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
1688 | 1701 | | |
1689 | 1702 | | |
1690 | 1703 | | |
| |||
0 commit comments