Closed Bug 2078879 Opened 1 month ago Closed 1 month ago

Update NSS to new version af937cc9ce85a335b6cb16012afbd0ca23252244 from 2026-10-06 18:19:26

Categories

(Core :: Security: PSM, enhancement)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 2079444
Tracking Status
firefox159 --- affected

People

(Reporter: update-bot, Assigned: jschanck)

References

Details

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

Attachments

(1 obsolete file)

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


security/nss/build.sh | 6 +-
security/nss/cpputil/nss_scoped_ptrs.h | 6 +
security/nss/gtests/cryptohi_gtest/cryptohi_unittest.cc | 90 +
security/nss/gtests/pk11_gtest/pk11_kem_unittest.cc | 3 +-
security/nss/gtests/pk11_gtest/pk11_module_unittest.cc | 96 +
security/nss/gtests/pkcs11testmodule/pkcs11testmodule.cpp | 168 ++-
security/nss/gtests/ssl_gtest/ssl_dhe_unittest.cc | 129 ++
security/nss/lib/certdb/certdb.c | 9 +
security/nss/lib/cryptohi/seckey.c | 9 +-
security/nss/lib/pk11wrap/pk11skey.c | 117 +-
security/nss/lib/pkcs12/p12.h | 15 -
security/nss/lib/pkcs12/p12e.c | 210 ----
security/nss/lib/pkcs7/p7common.c | 161 ---
security/nss/lib/pkcs7/p7create.c | 23 -
security/nss/lib/pkcs7/secmime.c | 712 --------------
security/nss/lib/pkcs7/secmime.h | 133 --
security/nss/lib/pkcs7/secpkcs7.h | 39 -
security/nss/lib/smime/cms.h | 56 -
security/nss/lib/smime/cmsarray.c | 11 -
security/nss/lib/smime/cmsattr.c | 36 +-
security/nss/lib/smime/cmsauthenvdata.c | 6 -
security/nss/lib/smime/cmslocal.h | 14 +-
security/nss/lib/smime/cmsmessage.c | 65 -
security/nss/lib/smime/cmsrecinfo.c | 40 -
security/nss/lib/smime/cmssigdata.c | 26 -
security/nss/lib/smime/cmssiginfo.c | 31 -
security/nss/lib/smime/manifest.mn | 1 -
security/nss/lib/smime/smime.gyp | 1 -
security/nss/lib/smime/smime.h | 83 +-
security/nss/lib/smime/smimemessage.c | 187 ---
security/nss/lib/smime/smimeutil.c | 162 ---
security/nss/lib/ssl/ssl3con.c | 80 +-
security/nss/lib/ssl/ssl3ecc.c | 4 +-
security/nss/lib/ssl/ssl3exthandle.c | 15 +-
security/nss/lib/ssl/sslauth.c | 57 +-
security/nss/lib/ssl/sslcert.c | 110 ++
security/nss/lib/ssl/sslimpl.h | 29 +-
security/nss/lib/ssl/sslnonce.c | 15 +-
security/nss/lib/ssl/sslreveal.c | 11 +-
security/nss/lib/ssl/sslsecur.c | 14 +-
security/nss/lib/ssl/sslsnce.c | 26 +-
security/nss/lib/ssl/sslsock.c | 14 +-
security/nss/lib/ssl/tls13con.c | 41 +-
security/nss/lib/ssl/tls13subcerts.c | 38 +-
security/nss/moz.yaml | 4 +-
45 files changed, 926 insertions(+), 2177 deletions(-)


af937cc9ce85a335b6cb16012afbd0ca23252244 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/af937cc9ce85a335b6cb16012afbd0ca23252244
Authored: 2026-10-06 11:19:26 -0700
Committed: 2026-10-06 11:19:26 -0700

Bug 390374 - Backed out changeset a402b503db8b

Files Modified:

  • lib/pk11wrap/pk11pbe.c

f2c80eccc6f72d30801fa764f0d2139a1bb3359b by Dana Keeler <dkeeler@mozilla.com>

https://github.com/mozilla/nss/commit/f2c80eccc6f72d30801fa764f0d2139a1bb3359b
Authored: 2026-10-06 17:06:07 +0000
Committed: 2026-10-06 17:06:07 +0000

Bug 2078438 - remove unused private pkcs12, pkcs7, and smime functions r=nss-reviewers,jschanck

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

Files Deleted:

  • lib/smime/smimemessage.c

Files Modified:

  • lib/pkcs12/p12.h
  • lib/pkcs12/p12e.c
  • lib/pkcs7/p7common.c
  • lib/pkcs7/p7create.c
  • lib/pkcs7/secmime.c
  • lib/pkcs7/secmime.h
  • lib/pkcs7/secpkcs7.h
  • lib/smime/cms.h
  • lib/smime/cmsarray.c
  • lib/smime/cmsattr.c
  • lib/smime/cmsauthenvdata.c
  • lib/smime/cmslocal.h
  • lib/smime/cmsmessage.c
  • lib/smime/cmsrecinfo.c
  • lib/smime/cmssigdata.c
  • lib/smime/cmssiginfo.c
  • lib/smime/manifest.mn
  • lib/smime/smime.gyp
  • lib/smime/smime.h
  • lib/smime/smimeutil.c

92a3656ee4116f9765eb3bf8ccf0963e05d0089e by Charlotte <69423184+tqpcharlie@users.noreply.github.com>

https://github.com/mozilla/nss/commit/92a3656ee4116f9765eb3bf8ccf0963e05d0089e
Authored: 2026-10-06 17:02:17 +0000
Committed: 2026-10-06 17:02:17 +0000

Bug 390374 - return NULL for deprecated PBE functions r=nss-reviewers,rrelyea,keeler

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

Files Modified:

  • lib/pk11wrap/pk11pbe.c

e115b09575c4d0a4676921b219e0b1de84ae065f by Jan Alexander Steffens (heftig) <heftig@archlinux.org>

https://github.com/mozilla/nss/commit/e115b09575c4d0a4676921b219e0b1de84ae065f
Authored: 2026-10-06 16:13:40 +0000
Committed: 2026-10-06 16:13:40 +0000

Bug 2070738 - Fix generating nss.pc with system-nspr. r=nss-reviewers,djackson

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

Files Modified:

  • build.sh

ad51c7b309873c1c13e1368726109f3fd4df4e6a by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/ad51c7b309873c1c13e1368726109f3fd4df4e6a
Authored: 2026-10-05 21:38:17 +0000
Committed: 2026-10-05 21:38:17 +0000

Bug 2066048 - replace sslSecurityInfo peerCert with peerCertDER. r=keeler

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

Files Modified:

  • gtests/ssl_gtest/ssl_dhe_unittest.cc
  • lib/certdb/certdb.c
  • lib/ssl/ssl3con.c
  • lib/ssl/ssl3ecc.c
  • lib/ssl/ssl3exthandle.c
  • lib/ssl/sslauth.c
  • lib/ssl/sslcert.c
  • lib/ssl/sslimpl.h
  • lib/ssl/sslnonce.c
  • lib/ssl/sslreveal.c
  • lib/ssl/sslsecur.c
  • lib/ssl/sslsnce.c
  • lib/ssl/sslsock.c
  • lib/ssl/tls13con.c
  • lib/ssl/tls13subcerts.c

ada0d6ce7ad676e68220974f0eebedcdba80cd55 by John Schanck <jschanck@mozilla.com>

https://github.com/mozilla/nss/commit/ada0d6ce7ad676e68220974f0eebedcdba80cd55
Authored: 2026-10-05 21:38:16 +0000
Committed: 2026-10-05 21:38:16 +0000

Bug 2067244 - remove support for inherited DSA parameters in libssl. r=keeler

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

Files Modified:

  • cpputil/nss_scoped_ptrs.h
  • gtests/cryptohi_gtest/cryptohi_unittest.cc
  • gtests/ssl_gtest/ssl_dhe_unittest.cc
  • lib/cryptohi/seckey.c
  • lib/ssl/ssl3con.c
  • lib/ssl/tls13con.c

87811bf4c55931c4bc1e0b9b735fcb838b9cba49 by Robert Relyea <rrelyea@redhat.com>

https://github.com/mozilla/nss/commit/87811bf4c55931c4bc1e0b9b735fcb838b9cba49
Authored: 2025-11-07 11:01:32 -0800
Committed: 2025-11-07 11:01:32 -0800

Bug 2017995 Fix issues with Unwrapping keys using tokens in FIPS mode.

Currently, If we try to unwrap a key in FIPS mode using a private key stored in a token, but the key needs to be stored in the FIPS token, the unwrap fails. This shows up as CAC cards trying to read email when the token is in FIPS mode. This is because we aren' t able to just import a raw key value into the token in FIPS mode.

The solution is to teach the internal pk11_ImportSymKeyWithTempl() how to import a key into a FIPS token, and allow it to do so when it's used in an unwrap simulation context.

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

--HG--
extra : rebase_source : bbc6249d553de9c7ae38ce38835e5b6dede67656

Files Modified:

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

All jobs completed, we found the following issues.

Known Issues:

  • test-linux2404-64/debug-xpcshell - 1 of 4 failed on the same (retriggered) task (failed: Q8YFuNr-SJeZeRx3yPXuYQ)
  • test-android-em-14-x86_64/debug-geckoview-crashtest-swr-nofis - 1 of 4 failed on the same (retriggered) task (failed: OAfGxV_GRtml4MURBnbH7g)

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

This bug is being closed because a newer revision of the library is available.
This bug will be marked as a duplicate of it (because although this bug is older, it is superseded by the newer one).

Status: NEW → RESOLVED
Closed: 1 month ago
Duplicate of bug: 2079444
Resolution: --- → DUPLICATE
Attachment #9654156 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: