Commit Graph

32 Commits

Author SHA1 Message Date
Kai Engert 3733205f09 Issue #1338: Follow-up: Cache the most recent PBKDF2 password hash,
to speed up repeated SDR operations.

Landed on NSS-3.48 for Bug 1606992
2020-01-14 13:08:48 +01:00
Daiki Ueno f64e760ab0 Issue #1338 - Followup: certdb: propagate trust information if trust
module is loaded afterwards,

Summary: When the builtin trust module is loaded after some temp certs
being created, these temp certs are usually not accompanied by trust
information. This causes a problem in UXP as it loads the module from a
separate thread while accessing the network cache which populates temp
certs.

This change makes it properly roll up the trust information, if a temp
cert doesn't have trust information.
2020-01-10 20:34:53 +01:00
wolfbeast f4a12fc676 Issue #1338 - Part 2: Update NSS to 3.48-RTM 2020-01-02 21:06:40 +01:00
wolfbeast 2529b2edec Update NSS version. 2019-12-06 17:13:09 +01:00
Craig Disselkoen d927df43e6 [NSS] Bug 1586176 - EncryptUpdate should use maxout not block size. 2019-12-06 16:06:30 +01:00
J.C. Jones 836e72e96c [NSS] Bug 1508776 - Remove unneeded refcounting from SFTKSession
SFTKSession objects are only ever actually destroyed at PK11 session
closure, as the session is always the final holder -- and asserting
refCount == 1 shows that to be true. Because of that, NSC_CloseSession
can just call `sftk_DestroySession` directly and leave
`sftk_FreeSession` as a no-op to be removed in the future.
2019-12-06 15:36:44 +01:00
Moonchild 21b3f62474 Merge pull request #1262 from athenian200/solaris-work
Support Modern Solaris
2019-11-02 14:37:22 +01:00
wolfbeast 29317adcbc Update NSS version 2019-10-24 16:52:46 +02:00
Kevin Jacobs c525bb7918 Add length checks for cryptographic primitives
This rollup patch adds additional length checks around cryptographic
primitives.
2019-10-24 16:47:28 +02:00
wolfbeast edfba06ce3 Support longer (up to RFC maximum) HKDF outputs
HKDF-Expand enforces a maximum output length much shorter than stated in
the RFC. This patch aligns the implementation with the RFC by allocating
more output space when necessary.
2019-10-24 16:14:41 +02:00
athenian200 fca7c45a62 MoonchildProductions#1251 - Part 16: Resolve namespace conflicts with dbm on Solaris.
https://bugzilla.mozilla.org/show_bug.cgi?id=1513913

Mozilla's solution to this is arguably overkill, since the namespace issue on Solaris only required them to change (or temporarily undefine) __log2. Instead they changed ALL the functions to be something along the lines of dbm_log2. They haven't changed the external interface at all, though.

If you're unhappy with this patch, I think I could also use XP_SOLARIS ifdefs to undefine __log2 prior to where it's declared in the dbm headers. The good thing about Mozilla's solution is that it guarantees this namespace issue never occurs again on any platform, though.
2019-10-21 04:53:42 -05:00
wolfbeast 89bd45bf91 Update NSS version. 2019-07-17 01:55:51 +02:00
wolfbeast 5f7e98fff1 Prohibit the use of RSASSA-PKCS1-v1_5 algorithms in TLS 1.3
This is a spec compliance issue.
2019-07-17 01:44:56 +02:00
wolfbeast 1e560deff8 Don't unnecessarily strip leading 0's from key material during PKCS11 import. 2019-07-17 01:31:34 +02:00
wolfbeast ef189737a3 Apply better input checking discipline. 2019-07-17 01:15:00 +02:00
wolfbeast 8ea1f38f9c Change softoken password rounds to a more conservative number still
within industry standard security, considering our db hashing is more
CPU intensive than anticipated.
2019-07-03 16:22:13 +02:00
wolfbeast 3c568a5681 Update NSS to 3.41.1 (custom)
This resolves #82
2019-06-27 00:45:42 +02:00
wolfbeast 4b188510af Revert "Update NSS to 3.41.1 (custom)"
This reverts commit fbc2eaacd6.
2019-06-26 23:32:13 +02:00
wolfbeast fbc2eaacd6 Update NSS to 3.41.1 (custom)
This resolves #82
2019-06-26 15:13:18 +02:00
wolfbeast 74cabf7948 Update NSS to 3.41 2018-12-15 01:42:53 +01:00
wolfbeast ab10600379 Update NSS to 3.38
- Added HACL*Poly1305 32-bit (INRIA/Microsoft)
- Updated to final TLS 1.3 draft version (28)
- Removed TLS 1.3 prerelease draft limit check
- Removed NPN code
- Enabled dev/urandom-only RNG on Linux with NSS_SEED_ONLY_DEV_URANDOM for non-standard environments
- Fixed several bugs with TLS 1.3 negotiation
- Updated internal certificate store
- Added support for the TLS Record Size Limit Extension.
- Fixed CVE-2018-0495
- Various security fixes in the ASN.1 code.
2018-08-14 16:42:52 +02:00
wolfbeast aa6329b694 Don't leak newTemplate in pk11_copyAttributes()
Cherry-pick of NSS fix from 3.37
2018-07-01 16:31:31 +02:00
JustOff f83f62e1bf Update NSS to 3.36.4-RTM 2018-06-11 16:42:50 +03:00
wolfbeast 6f84242a35 Revert "Restore NSS default storage file format to DBM when no prefix is given."
This reverts commit b2c78bbf83.
2018-06-06 15:23:14 +02:00
wolfbeast b2c78bbf83 Restore NSS default storage file format to DBM when no prefix is given. 2018-06-05 22:38:40 +02:00
wolfbeast e10349ab8d Update NSS to 3.35-RTM 2018-06-05 22:24:08 +02:00
Matt A. Tobin 69ac2db129 Partially revert 1ef526f0f - sftkpwd.c
#82 #265
2018-04-26 19:23:01 -04:00
wolfbeast fba28f1975 Revert "Update NSS to 3.35-RTM"
This reverts commit f1a0f0a56f.
2018-04-25 21:33:33 +02:00
wolfbeast 1ef526f0f0 Strengthen the use of the Master Password.
- Use 30k iterations instead of 1.
- Enforce minimum password length of 8 characters.
- Adjust strength meter accordingly.

This resolves #82.
2018-04-18 14:05:21 +02:00
wolfbeast f1a0f0a56f Update NSS to 3.35-RTM 2018-02-23 11:04:39 +01:00
wolfbeast f017b749ea Update NSS to 3.32.1-RTM 2018-02-06 11:46:26 +01:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00