nelson%bolyard.com
58e414d2d3
Bug 489811: RNG_SystemInfoForRNG called twice by nsc_CommonInitialize
...
Thanks to neil@parkwaycc.co.uk for finding this bug.
git-svn-id: svn://10.0.0.236/trunk@257410 18797224-902f-48f8-a5cc-f745e15eee43
2009-06-05 03:17:58 +00:00
rrelyea%redhat.com
85b2f22142
Bug 488396 - DBM needs to be FIPS certifiable.
...
Add a check file to the legacydb
r=nelson
r=wtc
git-svn-id: svn://10.0.0.236/trunk@256934 18797224-902f-48f8-a5cc-f745e15eee43
2009-04-16 18:19:26 +00:00
nelson%bolyard.com
8a29563730
Bug 480280: Add missing SEC_ASN1_GET macro invocations. r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@256779 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 22:40:18 +00:00
rrelyea%redhat.com
a177763a33
Bug 480280 - The CKA_EC_POINT PKCS#11 attribute is encoded in the wrong way: missing encapsulating octet string
...
Add code to 1) accept either type of encoding on input (both NSS and softoken).
2) output the correct encoding unless the environment variable NSS_USE_DECODED_CKA_EC_POINT is set.
r= nelson
git-svn-id: svn://10.0.0.236/trunk@256778 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-31 21:05:32 +00:00
rrelyea%redhat.com
21257bcb4d
Fix one of the review nits wtc pointed (poor formatting of a couple of PR_FALSE statements).
...
bob
git-svn-id: svn://10.0.0.236/trunk@256582 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-18 23:41:21 +00:00
rrelyea%redhat.com
27cbd78118
Bug 465709 NSS_InitWithMerge creates a broken database if it didn't exist before
...
Patches 2 & 3 r=wtc.
1) don't allow writes to the meta data cache if we opened the database
read only.
2) preserve the login state over virtual tokenremovals so updatemerges can complete with a single password in all cases where a single password merge update is possible.
git-svn-id: svn://10.0.0.236/trunk@256581 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-18 23:38:51 +00:00
nelson%bolyard.com
ba8a2d86e0
Bug 478994: Allow Softoken's fork check to be disabled, r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@256324 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-26 06:57:15 +00:00
julien.pierre.boogz%sun.com
c60c10b0b0
Fix for bug 473505 . softoken's C_Initialize and C_Finalize should succeed after a fork in a child process. r=relyea, nelson
...
git-svn-id: svn://10.0.0.236/trunk@256055 18797224-902f-48f8-a5cc-f745e15eee43
2009-02-03 05:34:47 +00:00
rrelyea%redhat.com
229755085d
Bug 426413
...
Audit messages need distinct types
r+ = wtc
git-svn-id: svn://10.0.0.236/trunk@255941 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-27 23:13:21 +00:00
nelson%bolyard.com
23ec3bb692
Bug 472749: Softoken permits AES keys of ANY LENGTH to be created, r=wtc,rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@255881 18797224-902f-48f8-a5cc-f745e15eee43
2009-01-22 01:18:20 +00:00
glen.beasley%sun.com
cea2043bf8
433063 move header to correct directories under freebl and softoken r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@255566 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-17 21:39:05 +00:00
nelson%bolyard.com
3bf81e175c
Bug 453234: Support for SEED Cipher Suites to TLS RFC 4010
...
patch by Yeonjung Kang <kang.yeonjung@gmail.com>, r=nelson
git-svn-id: svn://10.0.0.236/trunk@255547 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-17 06:09:22 +00:00
nelson%bolyard.com
8060804dc4
Bug 464088: Option to build NSS without dbm (handy for WinCE), r=rrelyea
...
git-svn-id: svn://10.0.0.236/trunk@255302 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-02 23:24:53 +00:00
julien.pierre.boogz%sun.com
37f408c46a
Fix for bug 462293 . Fix crashes on fork if softoken is dlclosed on HP-UX and AIX. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@255109 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-19 00:16:56 +00:00
julien.pierre.boogz%sun.com
2749c41853
Fix for bug 462293 . Prevent crash on fork after dlclose on Solaris 8 and 9 . r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@254860 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-03 21:33:00 +00:00
rrelyea%redhat.com
657ddedd3d
Bug 436417 â PK11_ImportDERPrivateKeyInfoAndReturnKey fails when RSA priv key already exists in softoken (edit)
...
git-svn-id: svn://10.0.0.236/trunk@252852 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-04 00:02:33 +00:00
rrelyea%redhat.com
e2367ae0fb
bug 424410 - Win64 tinderbox failing.
...
Correct usage of CK_ULONG_PTR for CK_ULONG.
r=nelson
git-svn-id: svn://10.0.0.236/trunk@248728 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-27 22:47:42 +00:00
rrelyea%redhat.com
95570a56c1
Final patch for merge: fix layer viloation (bug 391296)
...
r=nelson
git-svn-id: svn://10.0.0.236/trunk@247865 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-14 20:41:34 +00:00
rrelyea%redhat.com
f9abd3cf8d
Bug 421978 valgrind uninitialized variables. Patch by dbaron
...
r rrelyea
git-svn-id: svn://10.0.0.236/trunk@247594 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-12 00:01:07 +00:00
rrelyea%redhat.com
ef7b124a1b
Bug 391296 â Need an update helper for Shared Databases
...
r=nelson.
git-svn-id: svn://10.0.0.236/trunk@247495 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-10 20:16:51 +00:00
nelson%bolyard.com
8cd85a42b7
bug 403240: threads hanging in nss_InitLock . r=julien.pierre
...
git-svn-id: svn://10.0.0.236/trunk@245816 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 05:31:32 +00:00
julien.pierre.boogz%sun.com
29443dfc70
Fix for bug 403240 - threads hanging in nss_InitLock . r=wtc,nelson
...
git-svn-id: svn://10.0.0.236/trunk@245810 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-16 04:38:09 +00:00
julien.pierre.boogz%sun.com
f237c5a447
Fix for bug 331096 . NSS softoken must detect forks on all unix-ish platforms. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@244920 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-05 05:33:37 +00:00
rrelyea%redhat.com
b62e10f9cf
bug 401928 softoken updates for pkcs5 v2
...
r= nelsonb
git-svn-id: svn://10.0.0.236/trunk@241877 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-21 01:30:02 +00:00
rrelyea%redhat.com
76c9a9f4d2
bug 279042 First performance improvement patch for shared db.
...
r=neil
git-svn-id: svn://10.0.0.236/trunk@234078 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-06 20:47:34 +00:00
nelson%bolyard.com
f3485fa869
Remove erroneous include of "pkcs11p.h". Bug 388824.
...
Patch by Ian Marshall <idm@yahoo.com> R=rrelyea,nelson
git-svn-id: svn://10.0.0.236/trunk@230698 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 00:15:16 +00:00
rrelyea%redhat.com
13fa0b6c19
Bug 217538 Add shared database to nss.
...
core Checking.
git-svn-id: svn://10.0.0.236/trunk@227936 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 00:24:57 +00:00
rrelyea%redhat.com
5e97cf8097
Add Camilla cipher suites TLS RFC4132 bug 361025
...
code supplied by okazaki@kick.gr.jp
git-svn-id: svn://10.0.0.236/trunk@221086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 19:47:40 +00:00
nelson%bolyard.com
afd3149000
Bug 364684. Fix session object handle counter overflows. r=rrelyea,wtchang
...
git-svn-id: svn://10.0.0.236/trunk@218100 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 04:47:57 +00:00
alexei.volkov.bugs%sun.com
85697cdac7
353780: Klocwork NULL ptr dereferences in pkcs11.c. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@217790 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-05 00:21:45 +00:00
wtchang%redhat.com
c7169e2f5e
Bugzilla Bug 362173: The NSS cryptographic module (the softoken and freebl
...
shared libraries) should have its own version numbers. r=nelsonb and
neil.williams.
Modified Files:
lib/freebl/freebl.rc lib/freebl/freeblver.c
lib/softoken/manifest.mn lib/softoken/pkcs11.c
lib/softoken/softkver.c lib/softoken/softokn.rc
Added Files:
lib/softoken/softkver.h
git-svn-id: svn://10.0.0.236/trunk@216459 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-04 23:31:35 +00:00
wtchang%redhat.com
0c1774273d
Bugzilla Bug 341122: it's not necessary to test slot->slotLock because
...
slot->slotLock cannot be NULL at that point. The patch is contributed by
Ryan Jones <sciguyryan+bugzilla@gmail.com>. r=nelsonb,wtc.
git-svn-id: svn://10.0.0.236/trunk@214029 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-23 22:56:31 +00:00
glen.beasley%sun.com
d4e796ac21
356073 C_GetTokenInfo should return CKR_CRYPTOKI_NOT_INITIALIZED if not initialized r=nelson,sr=neil
...
git-svn-id: svn://10.0.0.236/trunk@213568 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-12 22:27:16 +00:00
julien.pierre.bugs%sun.com
a030f3283d
Fix for bug 115951 . Separate BL_Cleanup and BL_Unload . r=wtchang,nelson
...
git-svn-id: svn://10.0.0.236/trunk@213017 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 21:17:59 +00:00
julien.pierre.bugs%sun.com
2579a4d65f
Fix for bug 353910 . Memory leak in RNG_RNGInit . r=nelson, wtchang
...
git-svn-id: svn://10.0.0.236/trunk@212415 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-26 22:20:18 +00:00
wtchang%redhat.com
82cc75d438
Bugzilla bug 336813: do not set the nonstandard flag CKF_THREAD_SAFE. Set
...
CKF_DUAL_CRYPTO_OPERATIONS and the new v2.10 flag CKF_TOKEN_INITIALIZED.
r=relyea.
git-svn-id: svn://10.0.0.236/trunk@208362 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-24 22:52:21 +00:00
wtchang%redhat.com
4d8af14fe3
Bugzilla Bug 342476: backed out the previous checkin. Not sure if it's a
...
good idea.
git-svn-id: svn://10.0.0.236/trunk@207893 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 23:28:10 +00:00
wtchang%redhat.com
34808440e4
Bugzilla Bug 342476: NSS should set and check the pReserved field in the
...
(extended) CK_C_INITIALIZE_ARGS structure. r=nelsonb,relyea.
Modified files: pk11wrap/pk11load.c softoken/pkcs11.c
git-svn-id: svn://10.0.0.236/trunk@207885 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-18 22:48:41 +00:00
wtchang%redhat.com
de69a1296b
Bugzilla Bug 336813: Improved NSC_GetTokenInfo and FC_GetTokenInfo. Always
...
set CKF_RNG. Set the utcTime member to 16 zeros "0000000000000000".
Factored out the common flag CKF_RNG and CKF_THREAD_SAFE. r=nelsonb,relyea.
Modified files: fipstokn.c pkcs11.c
git-svn-id: svn://10.0.0.236/trunk@207330 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 17:52:31 +00:00
wtchang%redhat.com
c3319980a8
Bugzilla Bug 347024: Moved the software integrity test from
...
nsc_CommonInitialize to the new function sftk_fipsSoftwareIntegrityTest
and have sftk_fipsPowerUpSelfTest call sftk_fipsSoftwareIntegrityTest.
Updated the audit logging code. Removed an extraneous comma between two
string literals in fipstokn.c. r=relyea,nelsonb.
Modified files: fipstest.c fipstokn.c pkcs11.c
git-svn-id: svn://10.0.0.236/trunk@206520 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 21:50:51 +00:00
wtchang%redhat.com
1e048e0321
Bugzilla Bug 336509: put the FIPS token in the Error state only when the
...
continuous RNG test fails.
git-svn-id: svn://10.0.0.236/trunk@206178 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 18:31:07 +00:00
wtchang%redhat.com
305f77214d
Bugzilla Bug 336509: check for continuous RNG test failure after direct and
...
indirect uses of the RNG. r=relyea,nelsonb.
Modified files: fipstokn.c keydb.c pkcs11.c pkcs11c.c pkcs11i.h rsawrapr.c
softoken.h
git-svn-id: svn://10.0.0.236/trunk@206166 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-31 18:10:17 +00:00
alexei.volkov.bugs%sun.com
52fff307bc
[Bug 337011] OOM crash [@ sftk_handleKeyObject][@ sftk_handleKeyParameterObject] Dereferencing possibly NULL "attribute". r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@197887 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-17 20:52:16 +00:00
wtchang%redhat.com
c2d27ebbbd
Bugzilla Bug 298506: Do not log the token name (so the declaration of
...
sftk_getDefTokName in pkcs11i.h and the previous change to sftk_SlotFromID
weren't necessary). Use Linux's audit subsystem if available. r=relyea.
Modified files: fipstokn.c pkcs11.c pkcs11i.h
git-svn-id: svn://10.0.0.236/trunk@196276 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 21:33:11 +00:00
wtchang%redhat.com
82ee19d1f6
Added/removed blank lines to eliminate the diffs between the trunk and the
...
NSS_3_11_BRANCH.
Modified files: pkcs11.c pkcs11c.c
git-svn-id: svn://10.0.0.236/trunk@196043 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:31:30 +00:00
wtchang%redhat.com
7132c908b5
Bugzilla Bug 298506: implemented FIPS 140-2 Security Level 2 audit
...
requirements. r=glen.beasley.
Modified Files:
fipstokn.c pkcs11.c pkcs11c.c pkcs11i.h softoken.h softoknt.h
git-svn-id: svn://10.0.0.236/trunk@196039 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:02:47 +00:00
nelson%bolyard.com
a2bf5d7952
Bug 333090: CKM_DH_PKCS_KEY_PAIR_GEN always fails. r=nelson, sr=rrelyea
...
Patch contributed by Andreas.Sterbenz@sun.com
git-svn-id: svn://10.0.0.236/trunk@193919 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-08 05:05:01 +00:00
rrelyea%redhat.com
1333f0748a
bug 309701 Softtoken C_CreateObject() should not require
...
CKA_NETSCAPE_DB attribute to be present
r=alexei
git-svn-id: svn://10.0.0.236/trunk@193290 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-31 00:38:48 +00:00
rrelyea%redhat.com
c96829a043
Correct bug entry:
...
25683 EC param parsing error not propagated correctly
r=andreas.
git-svn-id: svn://10.0.0.236/trunk@192719 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 19:33:52 +00:00
rrelyea%redhat.com
7ed2261e58
Backing out previous changes that invalid or incorrect log entries for this
...
patch.
git-svn-id: svn://10.0.0.236/trunk@192718 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-21 19:30:10 +00:00