Closed Bug 2076590 Opened 1 month ago Closed 1 month ago

Update NSS to new version 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b from 2026-03-12 20:38:53

Categories

(Core :: Security: PSM, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
159 Branch
Tracking Status
firefox159 --- fixed

People

(Reporter: update-bot, Assigned: update-bot)

References

Details

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

Attachments

(2 external files)

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


security/nss/CLAUDE.md | 42 +-
security/nss/automation/abi-check/expected-report-libnss3.so.txt | 21 +
security/nss/automation/abi-check/expected-report-libnssutil3.so.txt | 15 +-
security/nss/automation/abi-check/expected-report-libsmime3.so.txt | 57 +-
security/nss/automation/abi-check/expected-report-libssl3.so.txt | 31 +
security/nss/automation/abi-check/previous-nss-release | 2 +-
security/nss/cmd/certutil/certutil.c | 22 +-
security/nss/cmd/certutil/keystuff.c | 86 ++-
security/nss/cmd/httpserv/httpserv.c | 19 +-
security/nss/cmd/lib/secutil.c | 8 +
security/nss/cmd/p7content/p7content.c | 2 +-
security/nss/cmd/pk11importtest/pk11importtest.c | 58 +
security/nss/cmd/shlibsign/shlibsign.c | 7 +-
security/nss/cpputil/nss_scoped_ptrs.h | 4 +
security/nss/gtests/certdb_gtest/cert_unittest.cc | 94 ++-
security/nss/gtests/der_gtest/secasn1decode_unittest.cc | 118 +++
security/nss/gtests/pk11_gtest/pk11_eddsa_unittest.cc | 7 +-
security/nss/gtests/pk11_gtest/pk11_eddsa_vectors.h | 29 +
security/nss/gtests/pk11_gtest/pk11_module_unittest.cc | 97 ++
security/nss/gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc | 20 +
security/nss/gtests/pk11_gtest/pk11_signature_test.cc | 36 +
security/nss/gtests/pk11_gtest/pk11_signature_test.h | 22 +
security/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp | 77 ++-
security/nss/gtests/smime_gtest/smime_unittest.cc | 122 +++
security/nss/gtests/softoken_gtest/softoken_gtest.cc | 326 ++++++++-
security/nss/gtests/softoken_static_gtest/softoken_static_gtest.cc | 60 +
security/nss/gtests/softoken_static_gtest/softoken_static_gtest.gyp | 40 +
security/nss/lib/certdb/alg1485.c | 6 -
security/nss/lib/certdb/cert.h | 87 +--
security/nss/lib/certdb/certdb.c | 191 -----
security/nss/lib/certdb/certv3.c | 9 -
security/nss/lib/certdb/genname.c | 57 -
security/nss/lib/certdb/genname.h | 3 -
security/nss/lib/certdb/polcyxtn.c | 6 -
security/nss/lib/certdb/stanpcertdb.c | 60 +-
security/nss/lib/certdb/xconst.c | 39 -
security/nss/lib/certdb/xconst.h | 7 -
security/nss/lib/certhigh/certhigh.c | 112 ---
security/nss/lib/certhigh/certvfy.c | 174 -----
security/nss/lib/certhigh/crlv2.c | 36 -
security/nss/lib/cryptohi/seckey.c | 48 +-
security/nss/lib/cryptohi/secsign.c | 69 +-
security/nss/lib/cryptohi/secvfy.c | 12 +-
security/nss/lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c | 6 +-
security/nss/lib/nss/nss.def | 7 +
security/nss/lib/nss/nss.h | 6 +-
security/nss/lib/pk11wrap/pk11akey.c | 19 +-
security/nss/lib/pk11wrap/pk11auth.c | 210 ++----
security/nss/lib/pk11wrap/pk11cxt.c | 17 -
security/nss/lib/pk11wrap/pk11mech.c | 94 +--
security/nss/lib/pk11wrap/pk11obj.c | 75 +--
security/nss/lib/pk11wrap/pk11pk12.c | 110 ++-
security/nss/lib/pk11wrap/pk11priv.h | 17 +-
security/nss/lib/pk11wrap/pk11slot.c | 71 +--
security/nss/lib/pk11wrap/secmodti.h | 12 +-
security/nss/lib/pki/certificate.c | 35 +
security/nss/lib/pki/pki.h | 9 +-
security/nss/lib/pki/pki3hack.c | 52 +-
security/nss/lib/pki/trustdomain.c | 12 +-
security/nss/lib/smime/cmsdigest.c | 2 +-
security/nss/lib/softoken/lowkey.c | 7 +
security/nss/lib/softoken/lowkeyti.h | 7 +-
security/nss/lib/softoken/pkcs11.c | 11 +
security/nss/lib/softoken/pkcs11c.c | 109 ++-
security/nss/lib/softoken/pkcs11u.c | 4 +
security/nss/lib/softoken/sftkpwd.c | 131 +++-
security/nss/lib/softoken/softkver.h | 6 +-
security/nss/lib/util/derdec.c | 194 +-----
security/nss/lib/util/nssutil.h | 6 +-
security/nss/lib/util/secasn1d.c | 36 +-
security/nss/lib/util/secoid.c | 23 +-
security/nss/lib/util/secoidt.h | 8 +-
security/nss/mach | 64 +-
security/nss/moz.yaml | 4 +-
security/nss/nss.gyp | 1 +
security/nss/nss/automation/abi-check/new-report-libssl3.so.txt | 16 -
security/nss/tests/cert/cert.sh | 73 ++-
security/nss/tests/common/tsan_suppressions.txt | 1 -
security/nss/tests/fips/fips.sh | 9 +
security/nss/tests/gtests/gtests.sh | 2 +-
security/nss/tests/tools/openssl-ed25519.p12 | Bin
security/nss/tests/tools/tools.sh | 13 +
82 files changed, 2115 insertions(+), 1702 deletions(-)


824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b by Robert Relyea <rrelyea@redhat.com>

https://github.com/mozilla/nss/commit/824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b
Authored: 2026-03-12 13:38:53 -0700
Committed: 2026-03-12 13:38:53 -0700

Bug 1993638 can't import eddsa .p12 from OpenSSL

This is a more complete patch which includes test cases.
I've updated some of the key printing functions.

This code makes sure the imported keys have the correct CKK_ value, and it fixes import and export. It follows RFC 8032 and RFC 8410.

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

Files Added:

  • tests/tools/openssl-ed25519.p12

Files Modified:

  • automation/abi-check/expected-report-libnss3.so.txt
  • automation/abi-check/expected-report-libnssutil3.so.txt
  • automation/abi-check/expected-report-libsmime3.so.txt
  • automation/abi-check/expected-report-libssl3.so.txt
  • cmd/certutil/certutil.c
  • cmd/certutil/keystuff.c
  • cmd/lib/secutil.c
  • cmd/pk11importtest/pk11importtest.c
  • cpputil/nss_scoped_ptrs.h
  • gtests/pk11_gtest/pk11_eddsa_unittest.cc
  • gtests/pk11_gtest/pk11_eddsa_vectors.h
  • gtests/pk11_gtest/pk11_signature_test.cc
  • gtests/pk11_gtest/pk11_signature_test.h
  • lib/cryptohi/seckey.c
  • lib/cryptohi/secsign.c
  • lib/cryptohi/secvfy.c
  • lib/nss/nss.def
  • lib/pk11wrap/pk11pk12.c
  • lib/pk11wrap/pk11priv.h
  • lib/softoken/lowkey.c
  • lib/softoken/lowkeyti.h
  • lib/softoken/pkcs11.c
  • lib/softoken/pkcs11c.c
  • lib/softoken/pkcs11u.c
  • lib/util/secoid.c
  • lib/util/secoidt.h
  • tests/cert/cert.sh
  • tests/tools/tools.sh

303fdfca7ec1529516090211f67d896370b53c88 by Robert Relyea <rrelyea@redhat.com>

https://github.com/mozilla/nss/commit/303fdfca7ec1529516090211f67d896370b53c88
Authored: 2026-09-28 09:58:12 -0700
Committed: 2026-09-28 09:58:12 -0700

Bug 2055638 - fix clang format

introduced in patch 540abf125cc8

Files Modified:

  • gtests/softoken_static_gtest/softoken_static_gtest.cc

827b8daeda8498e2881804c3e4bf46d328d72e03 by Robert Relyea <rrelyea@redhat.com>

https://github.com/mozilla/nss/commit/827b8daeda8498e2881804c3e4bf46d328d72e03
Authored: 2026-09-14 16:34:54 -0700
Committed: 2026-09-14 16:34:54 -0700

Bug 2072045 pk12util fails to import private key into SoftHSM token despite initialized slot and valid PKCS#12 file.

This patch updates the template my removing a bunch of extreous new attribute additions. The template is actually designed so the it includes all the RSA values, and the other key types add their own values along the way RSA leaves the template intact. When the additional values were added, it extended the template and causes RSA to misplace the pointer to the final common attributes.

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

Files Modified:

  • gtests/pk11_gtest/pk11_module_unittest.cc
  • gtests/pkcs11testmodule/pkcs11testmodule.cpp
  • lib/pk11wrap/pk11akey.c

effd8296ad01e51a7f8cc17f1301bc8d6302191f by Lars Eggert <lars@eggert.org>

https://github.com/mozilla/nss/commit/effd8296ad01e51a7f8cc17f1301bc8d6302191f
Authored: 2026-09-25 16:58:37 +0000
Committed: 2026-09-25 16:58:37 +0000

Bug 2075580 - p7content: open output file in binary mode r=nss-reviewers,djackson

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

Files Modified:

  • cmd/p7content/p7content.c

40e6ffa3d6a5aea6e1dc80ffbf5ad5b80874f4de by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/40e6ffa3d6a5aea6e1dc80ffbf5ad5b80874f4de
Authored: 2026-09-25 16:39:43 +0000
Committed: 2026-09-25 16:39:43 +0000

Bug 2068388 - fix msvc build error. r=djackson

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

Files Modified:

  • gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc

7010c6efa8e443c5f201b4e7fb17c69d9b07754e by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/7010c6efa8e443c5f201b4e7fb17c69d9b07754e
Authored: 2026-09-25 16:36:04 +0000
Committed: 2026-09-25 16:36:04 +0000

Bug 2072416 - use SEC_ASN1_GET for SEC_OctetStringTemplate in der_gtest r=nss-reviewers,jschanck

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

Files Modified:

  • gtests/der_gtest/secasn1decode_unittest.cc

01634a0d393a4b7fff89b81dc61695e0f6a8b85f by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/01634a0d393a4b7fff89b81dc61695e0f6a8b85f
Authored: 2026-09-25 16:26:56 +0000
Committed: 2026-09-25 16:26:56 +0000

Bug 2074663 - remove unused and unexported CERT_ functions r=jschanck

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

Files Modified:

  • lib/certdb/alg1485.c
  • lib/certdb/cert.h
  • lib/certdb/certdb.c
  • lib/certdb/certv3.c
  • lib/certdb/genname.c
  • lib/certdb/genname.h
  • lib/certdb/polcyxtn.c
  • lib/certdb/stanpcertdb.c
  • lib/certdb/xconst.c
  • lib/certdb/xconst.h
  • lib/certhigh/certhigh.c
  • lib/certhigh/certvfy.c
  • lib/certhigh/crlv2.c
  • lib/libpkix/pkix_pl_nss/pki/pkix_pl_nameconstraints.c

b862830eedb535a3e8cb6292c1016b17c099146f by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/b862830eedb535a3e8cb6292c1016b17c099146f
Authored: 2026-09-25 15:21:06 +0000
Committed: 2026-09-25 15:21:06 +0000

Bug 2072416 - fix leak when decoding nested indefinite length octet strings with null arena. r=djackson

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

Files Modified:

  • gtests/der_gtest/secasn1decode_unittest.cc
  • lib/util/secasn1d.c

41980ffc753172e58de2a634d8e02aeccfa29cd5 by Dennis Jackson <djackson@mozilla.com>

https://github.com/mozilla/nss/commit/41980ffc753172e58de2a634d8e02aeccfa29cd5
Authored: 2026-09-25 15:21:05 +0000
Committed: 2026-09-25 15:21:05 +0000

Bug 2072416 - Keep ASN.1 constructed-string substring allocations out of the caller's SECItem r=jschanck

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

Files Modified:

  • gtests/der_gtest/secasn1decode_unittest.cc
  • lib/util/secasn1d.c

cf03a9f2c7878c150fd316a5384e9a591d68b3c2 by Lars Eggert <lars@eggert.org>

https://github.com/mozilla/nss/commit/cf03a9f2c7878c150fd316a5384e9a591d68b3c2
Authored: 2026-09-25 11:17:40 +0000
Committed: 2026-09-25 11:17:40 +0000

Bug 2075525 - link softoken_static_gtest against advapi32 on Windows. r=nss-reviewers,nkulatova

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

Files Modified:

  • gtests/softoken_static_gtest/softoken_static_gtest.gyp

5203594139dc6e3fb061c5a8c70ac599c34e16f0 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/5203594139dc6e3fb061c5a8c70ac599c34e16f0
Authored: 2026-09-24 22:28:09 +0000
Committed: 2026-09-24 22:28:09 +0000

Bug 2055638 - add regression test for bug 2054616. r=nss-reviewers,keeler

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

Files Added:

  • gtests/softoken_static_gtest/softoken_static_gtest.cc
  • gtests/softoken_static_gtest/softoken_static_gtest.gyp

Files Modified:

  • nss.gyp
  • tests/gtests/gtests.sh

f43e62d749cf6e8670ab3b9052c1fa540b8b0cfa by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/f43e62d749cf6e8670ab3b9052c1fa540b8b0cfa
Authored: 2026-09-24 22:26:29 +0000
Committed: 2026-09-24 22:26:29 +0000

Bug 2055583 - add regression test for bug 2054719. r=nss-reviewers,keeler

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

Files Modified:

  • gtests/smime_gtest/smime_unittest.cc

1641cb3bc8d2fe7bdfe8465c681dbfd533668c95 by Anna <anna.weine@mozilla.com>

https://github.com/mozilla/nss/commit/1641cb3bc8d2fe7bdfe8465c681dbfd533668c95
Authored: 2026-09-24 18:21:50 +0000
Committed: 2026-09-24 18:21:50 +0000

Bug 2075289 - httpserv: OCSP responses are sent without a Content-Length header r=jschanck

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

Files Modified:

  • cmd/httpserv/httpserv.c

bfa2e0ca22054af533840a2daefde0bf1481a474 by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/bfa2e0ca22054af533840a2daefde0bf1481a474
Authored: 2026-09-24 17:54:29 +0000
Committed: 2026-09-24 17:54:29 +0000

Bug 2075021 - remove unused private PK11_ functions r=nss-reviewers,jschanck

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

Files Modified:

  • lib/pk11wrap/pk11auth.c
  • lib/pk11wrap/pk11cxt.c
  • lib/pk11wrap/pk11mech.c
  • lib/pk11wrap/pk11obj.c
  • lib/pk11wrap/pk11priv.h
  • lib/pk11wrap/pk11slot.c
  • lib/pk11wrap/secmodti.h

a12a879c17d98de3127c973d623503be9baf1bbd by Tigran Sogomonian <tsogomonian@astralinux.ru>

https://github.com/mozilla/nss/commit/a12a879c17d98de3127c973d623503be9baf1bbd
Authored: 2026-09-24 17:50:45 +0000
Committed: 2026-09-24 17:50:45 +0000

Bug 2075291 - avoid NULL dereference in NSS_CMSDigestContext_StartMultiple error path. r=nss-reviewers,keeler

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

Files Modified:

  • lib/smime/cmsdigest.c

b53f7ea2ca6ead0811781dd67ae0aa4ffccc2835 by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/b53f7ea2ca6ead0811781dd67ae0aa4ffccc2835
Authored: 2026-09-24 17:38:43 +0000
Committed: 2026-09-24 17:38:43 +0000

Bug 2073293 - add CERT_GetDERCertTrust r=nss-reviewers,nkulatova,jschanck

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

Files Deleted:

  • nss/automation/abi-check/new-report-libssl3.so.txt

Files Modified:

  • automation/abi-check/expected-report-libnss3.so.txt
  • gtests/certdb_gtest/cert_unittest.cc
  • gtests/softoken_gtest/softoken_gtest.cc
  • lib/certdb/cert.h
  • lib/certdb/stanpcertdb.c
  • lib/nss/nss.def
  • lib/pki/certificate.c
  • lib/pki/pki.h
  • lib/pki/pki3hack.c
  • lib/pki/trustdomain.c

aa628c3cfa38db91161c82bfd59ad51976b9d048 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/aa628c3cfa38db91161c82bfd59ad51976b9d048
Authored: 2026-09-24 16:38:51 +0000
Committed: 2026-09-24 16:38:51 +0000

Bug 1719827 - auto update key4db entry KDF iteration count on login. r=rrelyea

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

Files Modified:

  • gtests/softoken_gtest/softoken_gtest.cc
  • lib/softoken/sftkpwd.c

73786b1eb0708684b1b29ba545f2691192045f7e by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/73786b1eb0708684b1b29ba545f2691192045f7e
Authored: 2026-09-24 16:37:32 +0000
Committed: 2026-09-24 16:37:32 +0000

Bug 2068388 - reject RSA public exponents larger than 32 bits. r=nss-reviewers,nkulatova

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

Files Modified:

  • gtests/pk11_gtest/pk11_rsapkcs1_unittest.cc
  • lib/pk11wrap/pk11akey.c

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

https://github.com/mozilla/nss/commit/1ee0f644d2618b03c7612170d6227ebd32fb381f
Authored: 2026-09-23 23:48:22 +0000
Committed: 2026-09-23 23:48:22 +0000

Bug 2075024 - improve mach support for dist builds. r=djackson

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

Files Modified:

  • CLAUDE.md
  • mach

1f95b4058cbe245f8d3bf59bb900cb19989685cc by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/1f95b4058cbe245f8d3bf59bb900cb19989685cc
Authored: 2026-09-23 23:07:45 +0000
Committed: 2026-09-23 23:07:45 +0000

Bug 2037628 - protect PK11SlotInfo::lastLoginCheck with PK11SlotInfo::nssTokenLock r=nss-reviewers,jschanck

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

Files Modified:

  • lib/pk11wrap/pk11auth.c
  • lib/pk11wrap/pk11priv.h
  • lib/pk11wrap/pk11slot.c
  • lib/pk11wrap/secmodti.h
  • tests/common/tsan_suppressions.txt

2f33ab54edf95fd5b60a6daf7667d9f3246ffc0d by Robert Relyea <rrelyea@redhat.com>

https://github.com/mozilla/nss/commit/2f33ab54edf95fd5b60a6daf7667d9f3246ffc0d
Authored: 2026-09-17 10:30:23 -0700
Committed: 2026-09-17 10:30:23 -0700

Bug 2047771 - fix fips failures in debug builds.

either fix the session close in test cases, or silence the checks introduced by phabricator D306881.

The checks are reasonable santity checks for NSS (which, in general avoids closing all the sessions because it would clobber keys on other threads), and the only turned on for debug builds and if NSS_STRICT_SHUTDOWN is turned on. However, this is my normal test environment, and sever FIPS tests fail. We didn't see that because we don't run FIPS tests on FIPS builds, yet along FIPS tests on debug FIPS builds in the CI (probably should add that). Anyway the solution is simple. For shlibsign, simply close the session before shutdown, and for pk11mode, simply turn off NSS_STRICT_SHUTDOWN (pk11mode does close the sessions, but it purposefully uses C_CloseAllSessions because it has to test every entry point to the FiPS module).

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

Files Modified:

  • cmd/shlibsign/shlibsign.c
  • tests/fips/fips.sh

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

https://github.com/mozilla/nss/commit/7b2cdf84180c4c3b9da7fb855da320967af2fd3d
Authored: 2026-09-23 20:32:17 +0000
Committed: 2026-09-23 20:32:17 +0000

Bug 2068381 - fix error path double free of param_free in PK11_UnwrapPrivKey. r=nss-reviewers,keeler

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

Files Modified:

  • lib/pk11wrap/pk11obj.c

0cf969fe0787d200f859dfb2868ec8f45df75f39 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/0cf969fe0787d200f859dfb2868ec8f45df75f39
Authored: 2026-09-23 20:25:57 +0000
Committed: 2026-09-23 20:25:57 +0000

Bug 2074968 - stub out DER_Lengths. r=nss-reviewers,keeler

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

Files Modified:

  • lib/util/derdec.c

1185be2b8cfb384b7190a639c3e339973bad11c8 by Anna <anna.weine@mozilla.com>

https://github.com/mozilla/nss/commit/1185be2b8cfb384b7190a639c3e339973bad11c8
Authored: 2026-09-23 14:34:34 +0200
Committed: 2026-09-23 14:34:34 +0200

Set version numbers to 3.131 Beta

Files Modified:

  • automation/abi-check/expected-report-libnssutil3.so.txt
  • automation/abi-check/expected-report-libsmime3.so.txt
  • automation/abi-check/previous-nss-release
  • lib/nss/nss.h
  • lib/softoken/softkver.h
  • lib/util/nssutil.h

6e17c0b7059cb99ec8d24c4d911550b5df2559c0 by Anna <anna.weine@mozilla.com>

https://github.com/mozilla/nss/commit/6e17c0b7059cb99ec8d24c4d911550b5df2559c0
Authored: 2026-09-23 14:34:32 +0200
Committed: 2026-09-23 14:34:32 +0200

Release notes for NSS 3.130

--HG--
extra : source : a95aa88e36a76bebe3090841741dc88d2b776077

Files Added:

  • doc/src/releases/nss_3_130.md

Files Modified:

  • doc/src/releases/index.md

Duplicate of this bug: 2074607
Assignee: nobody → update-bot
Status: NEW → ASSIGNED
Attachment #9650322 - Attachment description: Bug 2076590 - Update NSS to 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b → Bug 2076590 - Update NSS to 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b UPGRADE_NSS_RELEASE
Pushed by nkulatova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/0f05975dac0c https://hg.mozilla.org/integration/autoland/rev/4e4844d88907 Update NSS to 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b UPGRADE_NSS_RELEASE r=ai4dev-reviewers,padenot,nkulatova
Pushed by asilaghi@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/5971d8f82f79 https://hg.mozilla.org/integration/autoland/rev/b047337f446e Revert "Bug 2076590 - Update NSS to 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b UPGRADE_NSS_RELEASE r=ai4dev-reviewers,padenot,nkulatova" for causing build bustages at SEC_ASN1DecodeInteger_Util

Backed out for causing build bustages at SEC_ASN1DecodeInteger_Util
Backout Link
Push with failures
Failure Log
Failure line lld-link: error: undefined symbol: SEC_ASN1DecodeInteger_Util

Flags: needinfo?(update-bot)

The NSS upgrade commit 0f05975dac0cd8b66b590eef4b6ac05180243cb7 (the sole commit in the push) broke the build-win64/debug task.

Root cause: the commit added a call to SEC_ASN1DecodeInteger() in sftk_unwrapPrivateKey (security/nss/lib/softoken/pkcs11c.c). Because softoken includes utilrename.h, this resolves to the symbol SEC_ASN1DecodeInteger_Util. In the Firefox folded-libs build, softokn3.dll links against security/nss3.lib whose exports are driven by the Firefox-maintained list security/nss.symbols. That list exported SEC_ASN1DecodeInteger and neighbours such as SEC_ASN1DecodeItem_Util/SEC_ASN1Decode_Util, but not SEC_ASN1DecodeInteger_Util, so the reference was left unresolved:

lld-link: error: undefined symbol: SEC_ASN1DecodeInteger_Util
>>> referenced by security/nss/lib/softoken/pkcs11c.c:7492 (sftk_unwrapPrivateKey)

Fix: add SEC_ASN1DecodeInteger_Util to security/nss.symbols in alphabetical order, between SEC_ASN1DecodeInteger and SEC_ASN1DecodeItem.

Pushed by nkulatova@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/b6e86598fad7 https://hg.mozilla.org/integration/autoland/rev/ab4944e8df71 Update NSS to 824793aca473a0bb4a9dc3d4a88a6d0f2786bd7b UPGRADE_NSS_RELEASE r=ai4dev-reviewers,padenot,nkulatova https://github.com/mozilla-firefox/firefox/commit/9b10dc6ce678 https://hg.mozilla.org/integration/autoland/rev/40ef2b20123a Export SEC_ASN1DecodeInteger_Util from nss3 for the softoken build r=crypto-reviewers,jschanck
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 159 Branch

It looks like we experienced one or more build failures when trying to apply this
update. You will need to apply this update manually; you can replicate the patch
locally with ./mach vendor security/nss/moz.yaml. I'm going to abandon the Phabricator patch and
let you submit a new one.

If the build failure wasn't caused by a library change, and was instead caused by
something structural in the build system please let my maintainers know in
Slack:#secinf.

I do my best to automatically add new files to the build, but some moz.build files
are complicated and you may need to fix them manually.

QA Whiteboard: [qa-triage-done-c160/b159]

Clearing the needinfo request since it is pending on an account that cannot answer (a bot, a component watcher, or a disabled account).

For more information, please visit BugBot documentation.

Flags: needinfo?(update-bot)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: