Closed Bug 2081616 Opened 1 month ago Closed 1 month ago

Update NSS to new version 119695e9cf9a81a41c685b7b652d6774827b742f from 2026-10-13 22:16:50

Categories

(Core :: Security: PSM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox160 --- fixed

People

(Reporter: update-bot, Assigned: jschanck)

References

Details

(Whiteboard: [3pl-filed][task_id: NQGKlkMDRl274mJH3NJJiQ])

Attachments

(1 external file)

This update covers 23 commits. Here are the overall diff statistics, and then the commit information.


security/nss/automation/taskcluster/scripts/build_gyp.sh | 5 +-
security/nss/automation/taskcluster/scripts/install_gyp.sh | 24 +
security/nss/automation/taskcluster/windows/build_gyp.sh | 30 +-
security/nss/automation/taskcluster/windows/gen_certs.sh | 8 +-
security/nss/automation/taskcluster/windows/run_tests.sh | 8 +-
security/nss/automation/taskcluster/windows/setup.sh | 127 +-
security/nss/gtests/common/json_reader.cc | 9 +-
security/nss/gtests/common/json_reader.h | 3 +-
security/nss/gtests/common/nist/genNISTTestVector.py | 142 +-
security/nss/gtests/common/testvectors/cbc-vectors.h | 818 -
security/nss/gtests/common/testvectors/chachapoly-vectors.h | 6629 ---
security/nss/gtests/common/testvectors/cmac-vectors.h | 1217 -
security/nss/gtests/common/testvectors/curve25519-vectors.h | 4 -
security/nss/gtests/common/testvectors/dsa-vectors.h | 12798 -------
security/nss/gtests/common/testvectors/gcm-vectors.h | 2837 -
security/nss/gtests/common/testvectors/hkdf-sha1-vectors.h | 1053 -
security/nss/gtests/common/testvectors/hkdf-sha256-vectors.h | 1309 -
security/nss/gtests/common/testvectors/hkdf-sha384-vectors.h | 1644 -
security/nss/gtests/common/testvectors/hkdf-sha512-vectors.h | 1983 -
security/nss/gtests/common/testvectors/hmac-sha256-vectors.h | 841 -
security/nss/gtests/common/testvectors/hmac-sha3-224-vectors.h | 795 -
security/nss/gtests/common/testvectors/hmac-sha3-256-vectors.h | 841 -
security/nss/gtests/common/testvectors/hmac-sha3-384-vectors.h | 1221 -
security/nss/gtests/common/testvectors/hmac-sha3-512-vectors.h | 1263 -
security/nss/gtests/common/testvectors/hmac-sha384-vectors.h | 1221 -
security/nss/gtests/common/testvectors/hmac-sha512-vectors.h | 1263 -
security/nss/gtests/common/testvectors/ike-aesxcbc-vectors.h | 4 -
security/nss/gtests/common/testvectors/ike-sha1-vectors.h | 4 -
security/nss/gtests/common/testvectors/ike-sha256-vectors.h | 4 -
security/nss/gtests/common/testvectors/ike-sha384-vectors.h | 4 -
security/nss/gtests/common/testvectors/ml-kem-decap-vectors.h | 4 +-
security/nss/gtests/common/testvectors/ml-kem-encap-vectors.h | 4 +-
security/nss/gtests/common/testvectors/ml-kem-keygen-vectors.h | 4 +-
security/nss/gtests/common/testvectors/rsa_signature-vectors.h | 4 -
security/nss/gtests/common/testvectors/rsaencrypt_bb3072-vectors.h | 4 -
security/nss/gtests/common/testvectors_base/curve25519-vectors_base.h | 61 -
security/nss/gtests/common/testvectors_base/rsa_signature-vectors_base.txt | 52 -
security/nss/gtests/common/testvectors_base/test-structs.h | 31 +-
security/nss/gtests/common/wycheproof/init.py | 0
security/nss/gtests/common/wycheproof/genTestVectors.py | 566 -
security/nss/gtests/common/wycheproof/source_vectors/README.md | 80 +
security/nss/gtests/common/wycheproof/source_vectors/aes_cbc_pkcs5_test.json | 3764 +-
security/nss/gtests/common/wycheproof/source_vectors/aes_cmac_test.json | 6298 ++-
security/nss/gtests/common/wycheproof/source_vectors/chacha20_poly1305_test.json | 8326 ++--
security/nss/gtests/common/wycheproof/source_vectors/dsa_2048_224_sha224_test.json | 3820 ++
security/nss/gtests/common/wycheproof/source_vectors/dsa_2048_224_sha256_test.json | 4100 ++
security/nss/gtests/common/wycheproof/source_vectors/dsa_2048_256_sha256_test.json | 4160 ++
security/nss/gtests/common/wycheproof/source_vectors/dsa_3072_256_sha256_test.json | 4160 ++
security/nss/gtests/common/wycheproof/source_vectors/ecdh_secp256r1_test.json | 11477 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdh_secp384r1_test.json | 15948 ++++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdh_secp521r1_test.json | 15004 ++++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdsa_secp256r1_sha256_test.json | 11487 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdsa_secp256r1_sha512_test.json | 12759 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdsa_secp384r1_sha384_test.json | 11613 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdsa_secp384r1_sha512_test.json | 12303 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ecdsa_secp521r1_sha512_test.json | 12387 ++++--
security/nss/gtests/common/wycheproof/source_vectors/ed25519_test.json | 3360 ++
security/nss/gtests/common/wycheproof/source_vectors/eddsa_test.json | 2262 -
security/nss/gtests/common/wycheproof/source_vectors/hkdf_sha1_test.json | 1243 +
security/nss/gtests/common/wycheproof/source_vectors/hkdf_sha256_test.json | 1220 +
security/nss/gtests/common/wycheproof/source_vectors/hkdf_sha384_test.json | 1175 +
security/nss/gtests/common/wycheproof/source_vectors/hkdf_sha512_test.json | 1175 +
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha224_test.json | 2845 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha256_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha384_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha3_224_test.json | 2845 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha3_256_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha3_384_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha3_512_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/hmac_sha512_test.json | 2877 +-
security/nss/gtests/common/wycheproof/source_vectors/mldsa_44_verify_test.json | 61 +-
security/nss/gtests/common/wycheproof/source_vectors/mldsa_65_verify_test.json | 53 +-
security/nss/gtests/common/wycheproof/source_vectors/mldsa_87_verify_test.json | 53 +-
security/nss/gtests/common/wycheproof/source_vectors/mlkem_1024_test.json | 124 +-
security/nss/gtests/common/wycheproof/source_vectors/mlkem_512_test.json | 100 +-
security/nss/gtests/common/wycheproof/source_vectors/mlkem_768_test.json | 112 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha1_mgf1sha1_test.json | 687 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha256_mgf1sha1_test.json | 566 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha256_mgf1sha256_test.json | 706 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha384_mgf1sha1_test.json | 566 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha384_mgf1sha384_test.json | 630 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha512_mgf1sha1_test.json | 566 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha512_mgf1sha512_test.json | 608 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha256_mgf1sha1_test.json | 582 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha256_mgf1sha256_test.json | 706 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha512_mgf1sha1_test.json | 566 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha512_mgf1sha512_test.json | 611 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha256_mgf1sha1_test.json | 582 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha256_mgf1sha256_test.json | 706 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha512_mgf1sha1_test.json | 566 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha512_mgf1sha512_test.json | 667 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_oaep_misc_test.json | 16770 ++++-----
security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json | 2706 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_3072_test.json | 2709 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pkcs1_4096_test.json | 2709 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha1_mgf1_20_test.json | 1441 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha256_mgf1_0_test.json | 1498 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha256_mgf1_32_test.json | 1563 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_3072_sha256_mgf1_32_test.json | 1563 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_4096_sha256_mgf1_32_test.json | 1563 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_4096_sha512_mgf1_32_test.json | 2518 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_pss_misc_test.json | 6890 ++-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha224_test.json | 3662 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha256_test.json | 3767 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha512_test.json | 3726 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha256_test.json | 3722 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha384_test.json | 3672 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha512_test.json | 3736 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_4096_sha384_test.json | 3672 +-
security/nss/gtests/common/wycheproof/source_vectors/rsa_signature_4096_sha512_test.json | 3672 +-
security/nss/gtests/common/wycheproof/source_vectors/x25519_test.json | 11252 +++---
security/nss/gtests/der_gtest/p12_import_unittest.cc | 219 +
security/nss/gtests/freebl_gtest/ghash_unittest.cc | 3 +-
security/nss/gtests/pk11_gtest/pk11_aes_cmac_unittest.cc | 76 +-
security/nss/gtests/pk11_gtest/pk11_aes_gcm_unittest.cc | 102 +-
security/nss/gtests/pk11_gtest/pk11_cbc_unittest.cc | 79 +-
security/nss/gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc | 89 +-
security/nss/gtests/pk11_gtest/pk11_curve25519_unittest.cc | 4 +-
security/nss/gtests/pk11_gtest/pk11_dsa_unittest.cc | 114 +-
security/nss/gtests/pk11_gtest/pk11_ecdh_unittest.cc | 4 +-
security/nss/gtests/pk11_gtest/pk11_ecdsa_unittest.cc | 18 +-
security/nss/gtests/pk11_gtest/pk11_eddsa_unittest.cc | 9 +-
security/nss/gtests/pk11_gtest/pk11_hkdf_unittest.cc | 113 +-
security/nss/gtests/pk11_gtest/pk11_hmac_unittest.cc | 123 +-
security/nss/gtests/pk11_gtest/pk11_rsaencrypt_unittest.cc | 6 +-
security/nss/gtests/pk11_gtest/pk11_rsaoaep_unittest.cc | 6 +-
security/nss/gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc | 43 +-
security/nss/gtests/pk11_gtest/pk11_rsapss_unittest.cc | 11 +-
security/nss/lib/freebl/rsapkcs.c | 9 +
security/nss/lib/pkcs12/p12d.c | 23 +
security/nss/lib/softoken/sdb.c | 7 +-
security/nss/moz.yaml | 4 +-
security/nss/taskcluster/config.yml | 10 +
security/nss/taskcluster/kinds/build/windows.yml | 13 +
security/nss/taskcluster/kinds/certs/kind.yml | 19 +-
security/nss/taskcluster/kinds/test/cipher.yml | 11 +
security/nss/taskcluster/kinds/test/kind.yml | 17 +-
security/nss/taskcluster/nss_taskgraph/target_tasks.py | 7 +-
security/nss/taskcluster/nss_taskgraph/transforms/build.py | 77 +-
security/nss/taskcluster/nss_taskgraph/transforms/hg_store.py | 41 +
security/nss/taskcluster/nss_taskgraph/transforms/platforms.py | 11 +
security/nss/tests/common/init.sh | 61 +-
142 files changed, 167084 insertions(+), 136786 deletions(-)


119695e9cf9a81a41c685b7b652d6774827b742f by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/119695e9cf9a81a41c685b7b652d6774827b742f
Authored: 2026-10-13 22:16:50 +0000
Committed: 2026-10-13 22:16:50 +0000

Bug 2030245 - add Windows ARM64 CI jobs. r=nss-reviewers,keeler

Differential Revision: https://phabricator.services.mozilla.com/D325486

Files Added:

  • automation/taskcluster/scripts/install_gyp.sh
  • taskcluster/nss_taskgraph/transforms/hg_store.py

Files Modified:

  • automation/taskcluster/scripts/build_gyp.sh
  • automation/taskcluster/windows/build_gyp.sh
  • automation/taskcluster/windows/gen_certs.sh
  • automation/taskcluster/windows/run_tests.sh
  • automation/taskcluster/windows/setup.sh
  • taskcluster/config.yml
  • taskcluster/kinds/build/windows.yml
  • taskcluster/kinds/certs/kind.yml
  • taskcluster/kinds/test/cipher.yml
  • taskcluster/kinds/test/kind.yml
  • taskcluster/nss_taskgraph/target_tasks.py
  • taskcluster/nss_taskgraph/transforms/build.py
  • taskcluster/nss_taskgraph/transforms/platforms.py
  • tests/common/init.sh

9a03c222645a14f385fde254230442ceaae0a77d by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/9a03c222645a14f385fde254230442ceaae0a77d
Authored: 2026-10-13 22:05:21 +0000
Committed: 2026-10-13 22:05:21 +0000

Bug 2079416 - Update the wycheproof testvectors README. r=nss-reviewers,djackson

Describe the two files that are still from testvectors/, and drop the notes
about moving from testvectors/ to testvectors_v1/ now that it is done.

Differential Revision: https://phabricator.services.mozilla.com/D331765

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md

65ed599307af64ae5b063356f41c489b641dd5fb by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/65ed599307af64ae5b063356f41c489b641dd5fb
Authored: 2026-10-13 22:05:21 +0000
Committed: 2026-10-13 22:05:21 +0000

Bug 2079416 - Update ML-KEM wycheproof testvectors. r=nss-reviewers,djackson

Take mlkem_{512,768,1024}_test.json from testvectors_v1/ at
C2SP/wycheproof 12fd3aaf33eb. The other ML-KEM vectors are already current.

Differential Revision: https://phabricator.services.mozilla.com/D331761

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/mlkem_1024_test.json
  • gtests/common/wycheproof/source_vectors/mlkem_512_test.json
  • gtests/common/wycheproof/source_vectors/mlkem_768_test.json

441fb1ce5e36779bac6ef76dbe15f6b0d94738ef by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/441fb1ce5e36779bac6ef76dbe15f6b0d94738ef
Authored: 2026-10-13 22:05:21 +0000
Committed: 2026-10-13 22:05:21 +0000

Bug 2079416 - Update ML-DSA wycheproof testvectors. r=nss-reviewers,djackson

Take mldsa_{44,65,87}_verify_test.json from testvectors_v1/ at
C2SP/wycheproof 12fd3aaf33eb. The signing vectors are already current.

Differential Revision: https://phabricator.services.mozilla.com/D331760

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/mldsa_44_verify_test.json
  • gtests/common/wycheproof/source_vectors/mldsa_65_verify_test.json
  • gtests/common/wycheproof/source_vectors/mldsa_87_verify_test.json

b0d75096b0394f4c70233e49459cdca54f668941 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/b0d75096b0394f4c70233e49459cdca54f668941
Authored: 2026-10-13 22:05:20 +0000
Committed: 2026-10-13 22:05:20 +0000

Bug 2079416 - Update DSA wycheproof testvectors. r=nss-reviewers,djackson

Add dsa_2048_224_sha224, dsa_2048_224_sha256, dsa_2048_256_sha256 and
dsa_3072_256_sha256 from testvectors_v1/ at C2SP/wycheproof 12fd3aaf33eb,
which replace the SHA-224 and SHA-256 groups of dsa_test.json. Nothing in
testvectors_v1/ replaces its 1024-bit SHA-1 groups, so keep dsa_test.json
for those. The NoLeadingZero flag is now called MissingZero.

Differential Revision: https://phabricator.services.mozilla.com/D331759

Files Added:

  • gtests/common/wycheproof/source_vectors/dsa_2048_224_sha224_test.json
  • gtests/common/wycheproof/source_vectors/dsa_2048_224_sha256_test.json
  • gtests/common/wycheproof/source_vectors/dsa_2048_256_sha256_test.json
  • gtests/common/wycheproof/source_vectors/dsa_3072_256_sha256_test.json

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/pk11_gtest/pk11_dsa_unittest.cc

b4cfa730f3a36dadcaa2fd4d4df0c9696f9a4eee by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/b4cfa730f3a36dadcaa2fd4d4df0c9696f9a4eee
Authored: 2026-10-13 22:05:20 +0000
Committed: 2026-10-13 22:05:20 +0000

Bug 2079416 - Update RSA PKCS#1 v1.5 signature wycheproof testvectors. r=nss-reviewers,djackson

Take rsa_signature_<bits>_<hash>_test.json from testvectors_v1/ at
C2SP/wycheproof 12fd3aaf33eb. rsa_signature_test.json has no successor in
testvectors_v1/, so keep it and read both its field names and the v1 ones.

Differential Revision: https://phabricator.services.mozilla.com/D331758

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha224_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha256_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_2048_sha512_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha256_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha384_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_3072_sha512_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_4096_sha384_test.json
  • gtests/common/wycheproof/source_vectors/rsa_signature_4096_sha512_test.json
  • gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc

7e52ba86cbf184adc1f903cafafd6afce4f40817 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/7e52ba86cbf184adc1f903cafafd6afce4f40817
Authored: 2026-10-13 22:05:19 +0000
Committed: 2026-10-13 22:05:19 +0000

Bug 2079416 - Update RSA-PSS wycheproof testvectors. r=nss-reviewers,djackson

Take rsa_pss__test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb, and read the renamed publicKey
group fields.

Differential Revision: https://phabricator.services.mozilla.com/D331757

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha1_mgf1_20_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha256_mgf1_0_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_2048_sha256_mgf1_32_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_3072_sha256_mgf1_32_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_4096_sha256_mgf1_32_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_4096_sha512_mgf1_32_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pss_misc_test.json
  • gtests/pk11_gtest/pk11_rsapss_unittest.cc

92f7799e2cd0a3dbac0b60ba51637944cc6f845d by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/92f7799e2cd0a3dbac0b60ba51637944cc6f845d
Authored: 2026-10-13 22:05:19 +0000
Committed: 2026-10-13 22:05:19 +0000

Bug 2079416 - Update RSA PKCS#1 v1.5 decryption wycheproof testvectors. r=nss-reviewers,djackson

Take rsa_pkcs1_{2048,3072,4096}_test.json from testvectors_v1/ at
C2SP/wycheproof 12fd3aaf33eb, and skip the new privateKey and source group
fields.

Differential Revision: https://phabricator.services.mozilla.com/D331756

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/rsa_pkcs1_2048_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pkcs1_3072_test.json
  • gtests/common/wycheproof/source_vectors/rsa_pkcs1_4096_test.json
  • gtests/pk11_gtest/pk11_rsaencrypt_unittest.cc

bc2ba2746abc4455eafae92a829558c6fa927056 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/bc2ba2746abc4455eafae92a829558c6fa927056
Authored: 2026-10-13 22:05:18 +0000
Committed: 2026-10-13 22:05:18 +0000

Bug 2079416 - Update RSA-OAEP wycheproof testvectors. r=nss-reviewers,djackson

Take rsa_oaep_*_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb, and skip the new privateKey and source group fields.

Differential Revision: https://phabricator.services.mozilla.com/D331755

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha1_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha256_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha256_mgf1sha256_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha384_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha384_mgf1sha384_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha512_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_2048_sha512_mgf1sha512_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha256_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha256_mgf1sha256_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha512_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_3072_sha512_mgf1sha512_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha256_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha256_mgf1sha256_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha512_mgf1sha1_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_4096_sha512_mgf1sha512_test.json
  • gtests/common/wycheproof/source_vectors/rsa_oaep_misc_test.json
  • gtests/pk11_gtest/pk11_rsaoaep_unittest.cc

99b980bf8ecfe7de54956b6c9bea8de36c62f3f2 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/99b980bf8ecfe7de54956b6c9bea8de36c62f3f2
Authored: 2026-10-13 22:05:18 +0000
Committed: 2026-10-13 22:05:18 +0000

Bug 2079416 - Update EdDSA wycheproof testvectors. r=nss-reviewers,djackson

Replace eddsa_test.json with ed25519_test.json, its successor in
testvectors_v1/ at C2SP/wycheproof 12fd3aaf33eb, and read the renamed
publicKey* group fields.

Differential Revision: https://phabricator.services.mozilla.com/D331754

--HG--
rename : gtests/common/wycheproof/source_vectors/eddsa_test.json => gtests/common/wycheproof/source_vectors/ed25519_test.json

Files Added:

  • gtests/common/wycheproof/source_vectors/ed25519_test.json

Files Deleted:

  • gtests/common/wycheproof/source_vectors/eddsa_test.json

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/pk11_gtest/pk11_eddsa_unittest.cc

507ba15fd5a622d613ca2c2f9e958244b3aa8c25 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/507ba15fd5a622d613ca2c2f9e958244b3aa8c25
Authored: 2026-10-13 22:05:18 +0000
Committed: 2026-10-13 22:05:18 +0000

Bug 2079416 - Update ChaCha20-Poly1305 wycheproof testvectors. r=nss-reviewers,djackson

Take chacha20_poly1305_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb.

Differential Revision: https://phabricator.services.mozilla.com/D331753

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/chacha20_poly1305_test.json
  • gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc

fe024da5ef292a4d6ad01b8e6c62d37eb69b5e96 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/fe024da5ef292a4d6ad01b8e6c62d37eb69b5e96
Authored: 2026-10-13 22:05:18 +0000
Committed: 2026-10-13 22:05:18 +0000

Bug 2079416 - Update ECDSA wycheproof testvectors. r=nss-reviewers,djackson

Take ecdsa_secp*_sha*_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb, and read the renamed publicKey* group fields.

The new vectors mark signatures that are missing the leading zero on r or
s (MissingZero) as invalid rather than acceptable. NSS accepts these, as it
does for DSA, so expect them to verify.

Differential Revision: https://phabricator.services.mozilla.com/D331752

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/ecdsa_secp256r1_sha256_test.json
  • gtests/common/wycheproof/source_vectors/ecdsa_secp256r1_sha512_test.json
  • gtests/common/wycheproof/source_vectors/ecdsa_secp384r1_sha384_test.json
  • gtests/common/wycheproof/source_vectors/ecdsa_secp384r1_sha512_test.json
  • gtests/common/wycheproof/source_vectors/ecdsa_secp521r1_sha512_test.json
  • gtests/pk11_gtest/pk11_ecdsa_unittest.cc

4eda724d5fbe7deb6f6356a1e4afc612664f3685 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/4eda724d5fbe7deb6f6356a1e4afc612664f3685
Authored: 2026-10-13 22:05:17 +0000
Committed: 2026-10-13 22:05:17 +0000

Bug 2079416 - Update ECDH wycheproof testvectors. r=nss-reviewers,djackson

Take ecdh_secp{256,384,521}r1_test.json from testvectors_v1/ at
C2SP/wycheproof 12fd3aaf33eb.

Differential Revision: https://phabricator.services.mozilla.com/D331751

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/ecdh_secp256r1_test.json
  • gtests/common/wycheproof/source_vectors/ecdh_secp384r1_test.json
  • gtests/common/wycheproof/source_vectors/ecdh_secp521r1_test.json
  • gtests/pk11_gtest/pk11_ecdh_unittest.cc

aa54d1f87238bb4bc1aa86791096123dc0b412e7 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/aa54d1f87238bb4bc1aa86791096123dc0b412e7
Authored: 2026-10-13 22:05:17 +0000
Committed: 2026-10-13 22:05:17 +0000

Bug 2079416 - Update X25519 wycheproof testvectors. r=nss-reviewers,djackson

Take x25519_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb.

Differential Revision: https://phabricator.services.mozilla.com/D331748

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/x25519_test.json
  • gtests/pk11_gtest/pk11_curve25519_unittest.cc

c96a19f584a881417e04bda322fa14395be6a692 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/c96a19f584a881417e04bda322fa14395be6a692
Authored: 2026-10-13 22:05:16 +0000
Committed: 2026-10-13 22:05:16 +0000

Bug 2079416 - Update HMAC wycheproof testvectors. r=nss-reviewers,djackson

Take hmac_sha{224,256,384,512}test.json and hmac_sha3*_test.json from
testvectors_v1/ at C2SP/wycheproof 12fd3aaf33eb.

Differential Revision: https://phabricator.services.mozilla.com/D331747

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/hmac_sha224_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha256_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha384_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha3_224_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha3_256_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha3_384_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha3_512_test.json
  • gtests/common/wycheproof/source_vectors/hmac_sha512_test.json
  • gtests/pk11_gtest/pk11_hmac_unittest.cc

3271638e8dcdf8ecf8c4c89dca11888afd76b29a by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/3271638e8dcdf8ecf8c4c89dca11888afd76b29a
Authored: 2026-10-13 22:05:16 +0000
Committed: 2026-10-13 22:05:16 +0000

Bug 2079416 - Update AES-CMAC wycheproof testvectors. r=nss-reviewers,djackson

Take aes_cmac_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb.

Differential Revision: https://phabricator.services.mozilla.com/D331746

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/aes_cmac_test.json
  • gtests/pk11_gtest/pk11_aes_cmac_unittest.cc

f5c6e00ac8f2a1b8fd6a8da1b587bff5aee0d6ba by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/f5c6e00ac8f2a1b8fd6a8da1b587bff5aee0d6ba
Authored: 2026-10-13 22:05:16 +0000
Committed: 2026-10-13 22:05:16 +0000

Bug 2079416 - Update AES-CBC wycheproof testvectors. r=nss-reviewers,djackson

Take aes_cbc_pkcs5_test.json from testvectors_v1/ at C2SP/wycheproof
12fd3aaf33eb. The new file adds empty-ciphertext cases, so pass a non-null
output buffer to PK11_Decrypt: a null one turns the call into a length
query, which succeeds.

Differential Revision: https://phabricator.services.mozilla.com/D331745

Files Modified:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/aes_cbc_pkcs5_test.json
  • gtests/pk11_gtest/pk11_cbc_unittest.cc

9d25abdff9e416090d1e4ac5fd9457ea5f197a40 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/9d25abdff9e416090d1e4ac5fd9457ea5f197a40
Authored: 2026-10-13 22:05:16 +0000
Committed: 2026-10-13 22:05:16 +0000

Bug 2079402 - read JSON directly for all wycheproof tests. r=goutam

Differential Revision: https://phabricator.services.mozilla.com/D331706

Files Added:

  • gtests/common/wycheproof/source_vectors/README.md
  • gtests/common/wycheproof/source_vectors/hkdf_sha1_test.json
  • gtests/common/wycheproof/source_vectors/hkdf_sha256_test.json
  • gtests/common/wycheproof/source_vectors/hkdf_sha384_test.json
  • gtests/common/wycheproof/source_vectors/hkdf_sha512_test.json

Files Deleted:

  • gtests/common/testvectors/cbc-vectors.h
  • gtests/common/testvectors/chachapoly-vectors.h
  • gtests/common/testvectors/cmac-vectors.h
  • gtests/common/testvectors/dsa-vectors.h
  • gtests/common/testvectors/gcm-vectors.h
  • gtests/common/testvectors/hkdf-sha1-vectors.h
  • gtests/common/testvectors/hkdf-sha256-vectors.h
  • gtests/common/testvectors/hkdf-sha384-vectors.h
  • gtests/common/testvectors/hkdf-sha512-vectors.h
  • gtests/common/testvectors/hmac-sha256-vectors.h
  • gtests/common/testvectors/hmac-sha3-224-vectors.h
  • gtests/common/testvectors/hmac-sha3-256-vectors.h
  • gtests/common/testvectors/hmac-sha3-384-vectors.h
  • gtests/common/testvectors/hmac-sha3-512-vectors.h
  • gtests/common/testvectors/hmac-sha384-vectors.h
  • gtests/common/testvectors/hmac-sha512-vectors.h
  • gtests/common/testvectors_base/curve25519-vectors_base.h
  • gtests/common/testvectors_base/rsa_signature-vectors_base.txt
  • gtests/common/wycheproof/init.py
  • gtests/common/wycheproof/genTestVectors.py

Files Modified:

  • gtests/common/json_reader.cc
  • gtests/common/json_reader.h
  • gtests/common/nist/genNISTTestVector.py
  • gtests/common/testvectors/curve25519-vectors.h
  • gtests/common/testvectors/ike-aesxcbc-vectors.h
  • gtests/common/testvectors/ike-sha1-vectors.h
  • gtests/common/testvectors/ike-sha256-vectors.h
  • gtests/common/testvectors/ike-sha384-vectors.h
  • gtests/common/testvectors/ml-kem-decap-vectors.h
  • gtests/common/testvectors/ml-kem-encap-vectors.h
  • gtests/common/testvectors/ml-kem-keygen-vectors.h
  • gtests/common/testvectors/rsa_signature-vectors.h
  • gtests/common/testvectors/rsaencrypt_bb3072-vectors.h
  • gtests/common/testvectors_base/test-structs.h
  • gtests/freebl_gtest/ghash_unittest.cc
  • gtests/pk11_gtest/pk11_aes_cmac_unittest.cc
  • gtests/pk11_gtest/pk11_aes_gcm_unittest.cc
  • gtests/pk11_gtest/pk11_cbc_unittest.cc
  • gtests/pk11_gtest/pk11_chacha20poly1305_unittest.cc
  • gtests/pk11_gtest/pk11_dsa_unittest.cc
  • gtests/pk11_gtest/pk11_hkdf_unittest.cc
  • gtests/pk11_gtest/pk11_hmac_unittest.cc
  • gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc

1c59dad2bef372f4579dd1587eef805440e60aa2 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/1c59dad2bef372f4579dd1587eef805440e60aa2
Authored: 2026-10-13 22:05:15 +0000
Committed: 2026-10-13 22:05:15 +0000

Bug 2079457 - explicitly reject RSA PKCS#1 v1.5 ciphertexts that are not less than the modulus. r=nss-reviewers,keeler

RSA_DecryptBlock returned implicit rejection output for a ciphertext equal
to the modulus---the existing range check in rsa_PrivateKeyOp was folded into
the constant-time padding check.

Differential Revision: https://phabricator.services.mozilla.com/D331744

Files Modified:

  • lib/freebl/rsapkcs.c

43de7c4c13ca1fc1bfcfd6524cdc33f24d361554 by Tigran Sogomonian <tsogomonian@astralinux.ru>

https://github.com/mozilla/nss/commit/43de7c4c13ca1fc1bfcfd6524cdc33f24d361554
Authored: 2026-10-13 19:50:08 +0000
Committed: 2026-10-13 19:50:08 +0000

Bug 2075179 - finalize the PRAGMA table_info statement on error paths in sdb_init. r=nss-reviewers,keeler

sdb_init() only finalized the statement on the success path, so every
goto loser after a successful sqlite3_prepare_v2() leaked it, and
sqlite3_close() then failed with SQLITE_BUSY, leaking the connection too.

Differential Revision: https://phabricator.services.mozilla.com/D328811

Files Modified:

  • lib/softoken/sdb.c

3fb38b1032cb994ff35515b96c883758814ad7d3 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/3fb38b1032cb994ff35515b96c883758814ad7d3
Authored: 2026-10-13 15:37:24 +0000
Committed: 2026-10-13 15:37:24 +0000

Bug 2076062 - Limit nesting depth in PKCS#12 safeContents decoder r=nss-reviewers,jschanck

Differential Revision: https://phabricator.services.mozilla.com/D329563

Files Modified:

  • gtests/der_gtest/p12_import_unittest.cc
  • lib/pkcs12/p12d.c

b32265e6e074d281ed8a3fb47eb73b19765410a8 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/b32265e6e074d281ed8a3fb47eb73b19765410a8
Authored: 2026-10-13 11:49:30 +0100
Committed: 2026-10-13 11:49:30 +0100

Backed out changeset a631dee40e9f

Files Modified:

  • cpputil/nss_scoped_ptrs.h
  • gtests/der_gtest/p12_import_unittest.cc
  • lib/pkcs12/p12d.c

29d12d7344eb9f4d101e6328accc715993435b07 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/29d12d7344eb9f4d101e6328accc715993435b07
Authored: 2026-10-13 10:08:38 +0000
Committed: 2026-10-13 10:08:38 +0000

Bug 2076062 - Limit nesting depth in PKCS#12 safeContents decoder r=nss-reviewers,jschanck

Differential Revision: https://phabricator.services.mozilla.com/D329563

Files Modified:

  • cpputil/nss_scoped_ptrs.h
  • gtests/der_gtest/p12_import_unittest.cc
  • lib/pkcs12/p12d.c

All jobs completed, we found the following issues.

Known Issues:

  • test-windows11-64-25h2/opt-xpcshell-msix - 2 of 4 failed on the same (retriggered) task (failed: KOqA535ORimHzPV35XmOMQ, e0Gw62meQa-na5y-pV-0uA)

These failures may mean that the library update succeeded; you'll need to review
them yourself and decide. If there are lint failures, you will need to fix them in
a follow-up patch. (Or ignore the patch I made, and recreate it yourself with
./mach vendor security/nss/moz.yaml.)

In either event, I have done all I can, so you will need to take it from here.
When reviewing, please note that this is external code, which needs a full and
careful inspection - not a rubberstamp.

Assignee: nobody → jschanck
Attachment #9659193 - Attachment description: Bug 2081616 - Update NSS to 119695e9cf9a81a41c685b7b652d6774827b742f → Bug 2081616 - Update NSS to 119695e9cf9a81a41c685b7b652d6774827b742f. UPGRADE_NSS_RELEASE
Pushed by jschanck@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0948215a0c8f https://hg.mozilla.org/integration/autoland/rev/e90b5fd0f787 Update NSS to 119695e9cf9a81a41c685b7b652d6774827b742f. UPGRADE_NSS_RELEASE r=nss-reviewers,jschanck
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: