320 Commits

Author SHA1 Message Date
ian.mcgreer%sun.com
25af9bb35b fips fix for signtool
git-svn-id: svn://10.0.0.236/trunk@108318 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 19:39:37 +00:00
kirk.erickson%sun.com
072424c974 Resolves 107777 - selfserv needs log stats mode
git-svn-id: svn://10.0.0.236/trunk@107940 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-13 02:13:19 +00:00
ian.mcgreer%sun.com
3a136e2217 Output validated cert text to stdout, otherwise the QA scripts think there is a failure.
git-svn-id: svn://10.0.0.236/trunk@107742 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 16:40:26 +00:00
nelsonb%netscape.com
b4a47a9861 Added a new -o option, to override check on received client auth certs,
forcing those certs to be OK.  -v will now test the SSL_LocalCertificate()
function.  Bug 78959.


git-svn-id: svn://10.0.0.236/trunk@107731 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 05:45:21 +00:00
nelsonb%netscape.com
f14f3467c1 Add code to test new SSL_LocalCertificate() function on first connection,
or on every connection if -vv option is used.  Bug 78959.
Also, the nickname "none" can now be used to prevent performing client
authentication without having to use an invalid password.


git-svn-id: svn://10.0.0.236/trunk@107730 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 05:43:06 +00:00
ian.mcgreer%sun.com
d16299751e fips changes. forces login for cert listing.
git-svn-id: svn://10.0.0.236/trunk@107710 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-09 00:37:03 +00:00
ian.mcgreer%sun.com
d7dcb593c7 this seems to be needed to get linux linking again. libnss3.so tries to access the C_GetFunctionList entry point to the libsoftokn3.so library directly, and linux complains that it can't find it.
git-svn-id: svn://10.0.0.236/trunk@107645 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 03:44:17 +00:00
relyea%netscape.com
162c530b16 Land BOB_WORK_BRANCH unto the tip.
remove lots of depricated files.
move some files to appropriate directories (pcertdb *_rand
associated headers to soft token, for instance)
rename several stan files which had the same name as other nss files.
remove depricated functions.


git-svn-id: svn://10.0.0.236/trunk@107628 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 00:15:51 +00:00
nelsonb%netscape.com
b91f3120f1 Reimplement SSL_GetChannelInfo. Add new function SSL_GetCipherSuiteInfo().
Also, implement new ciphersuite preference order.  Bug 78959.


git-svn-id: svn://10.0.0.236/trunk@107060 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 04:24:28 +00:00
jpierre%netscape.com
4ce6e3777c Fix for OS/2 build
git-svn-id: svn://10.0.0.236/trunk@107050 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 03:10:29 +00:00
ian.mcgreer%sun.com
dce8a3b4fd fixes for testing word alignment
git-svn-id: svn://10.0.0.236/trunk@106696 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 16:03:43 +00:00
nelsonb%netscape.com
d8d2f0e62b Explanation of the files in this directory.
git-svn-id: svn://10.0.0.236/trunk@106200 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 22:17:30 +00:00
nelsonb%netscape.com
e8d7f8e737 Get the test CA program working again. Remove some bogus scripts.
git-svn-id: svn://10.0.0.236/trunk@105214 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 22:29:42 +00:00
ian.mcgreer%sun.com
747a800b3e add stan libs to static linked libs
git-svn-id: svn://10.0.0.236/trunk@105167 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 17:43:21 +00:00
ian.mcgreer%sun.com
d37dd4ed78 fix prompts to STDIN when using file passwords, bug 103942
git-svn-id: svn://10.0.0.236/trunk@105059 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 19:54:22 +00:00
ian.mcgreer%sun.com
74c5238ac6 fix AES self-test
git-svn-id: svn://10.0.0.236/trunk@105041 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 17:39:49 +00:00
jpierre%netscape.com
8e55af1b91 Fix for 81246 - do not use a temporary /tmp/Pk12uTemp file anymore in pk12util . This is achieved by using new default functions in the PKCS#12 decoder that use memory storage
git-svn-id: svn://10.0.0.236/trunk@104801 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 18:32:00 +00:00
ian.mcgreer%sun.com
96738acb83 self-testing for AES
git-svn-id: svn://10.0.0.236/trunk@104797 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 16:14:04 +00:00
jpierre%netscape.com
7520340aed Fix for 102089 - add a new "-l" command-line option to selfserv to use local threads . This enables NT fibers on Windows NT
git-svn-id: svn://10.0.0.236/trunk@104179 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 00:35:54 +00:00
jpierre%netscape.com
01e9e71530 Fix for bug 101617 - make selfserv work in multi process mode on Windows NT
git-svn-id: svn://10.0.0.236/trunk@104077 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 02:43:48 +00:00
nelsonb%netscape.com
473503a731 Correct the test for length of data in SSL channel info struct.
git-svn-id: svn://10.0.0.236/trunk@103807 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 04:22:55 +00:00
nelsonb%netscape.com
c4b44f9b2f Add support for new TLS AES ciphersuites. Bug 87021.
git-svn-id: svn://10.0.0.236/trunk@103410 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 03:09:32 +00:00
relyea%netscape.com
eca0a94b81 Fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@103361 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:01:37 +00:00
relyea%netscape.com
22d7ca9cce Handle issues with raw keys not being visible.
git-svn-id: svn://10.0.0.236/trunk@103360 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 22:00:05 +00:00
relyea%netscape.com
5850b3c43f Fix compiler warnings
git-svn-id: svn://10.0.0.236/trunk@103359 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:59:11 +00:00
relyea%netscape.com
b349acd79b Compile in the new brave world where Low level structures are visible.
git-svn-id: svn://10.0.0.236/trunk@103358 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:54:33 +00:00
relyea%netscape.com
e9d550d3e0 Fix compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@103357 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:52:59 +00:00
relyea%netscape.com
1a8f6540c8 rsaperf uses low level external headers. Get those headers from the
development tree.


git-svn-id: svn://10.0.0.236/trunk@103356 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:52:06 +00:00
relyea%netscape.com
689040a632 Remove unneeded references to the KeyDB data structure.
fix compilier warnings.


git-svn-id: svn://10.0.0.236/trunk@103355 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:50:21 +00:00
relyea%netscape.com
0023cdd352 Fix compilier warnings.
Remove calls to low level key structures.


git-svn-id: svn://10.0.0.236/trunk@103354 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:47:29 +00:00
relyea%netscape.com
f9427b6c6c Remove dead code.
Fix compiler warnings.


git-svn-id: svn://10.0.0.236/trunk@103353 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:45:41 +00:00
relyea%netscape.com
6e05bd575f Fix compiler warnings.
Use the new Initalization functions for Modules.


git-svn-id: svn://10.0.0.236/trunk@103352 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:44:20 +00:00
relyea%netscape.com
d931f220fc BlapiTest required headers are no longer public. Get them from the
developement directory.


git-svn-id: svn://10.0.0.236/trunk@103350 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 21:42:54 +00:00
ian.mcgreer%sun.com
159f90e97a put in a test for search by nickname
git-svn-id: svn://10.0.0.236/trunk@103337 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 20:41:52 +00:00
nelsonb%netscape.com
838aefdfe7 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
Also, reduce size of SSL server session cache on disk.


git-svn-id: svn://10.0.0.236/trunk@103059 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:05:08 +00:00
nelsonb%netscape.com
65c1d8ebc2 Use new function SSL_GetChannelInfo(). Bugzilla bug 78959.
git-svn-id: svn://10.0.0.236/trunk@103058 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:02:05 +00:00
mcgreer%netscape.com
cf2aaa9018 initial checkin of pkiutil.
git-svn-id: svn://10.0.0.236/trunk@102919 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:58 +00:00
mcgreer%netscape.com
c280ddbd94 initial checkin of the new command library.
git-svn-id: svn://10.0.0.236/trunk@102918 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-14 18:37:37 +00:00
wtc%netscape.com
7a6591ae62 Bugzilla bug 98335: fixed two errors identified by compiler warnings
and deleted an unnecessary if.  The patch is contributed by
timeless@mac.com.


git-svn-id: svn://10.0.0.236/trunk@102887 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 21:39:05 +00:00
relyea%netscape.com
ab5346358b Add option to reset the cert and key database.
git-svn-id: svn://10.0.0.236/trunk@102454 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:18:13 +00:00
relyea%netscape.com
96a8daf191 Fix Updating the slot in modutil.
Add option to dump the raw PKCS #11 strings.


git-svn-id: svn://10.0.0.236/trunk@102453 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 21:16:51 +00:00
nelsonb%netscape.com
44cf59d2ab Fix a crash. An attempt to move a sensitive key longer than 48 bytes
from one token to another will no longer crash.  Instead, it will fail
with the new error code SEC_ERROR_CANNOT_MOVE_SENSITIVE_KEY.  Bug 97887.
In addition, DHE key pairs are now generated with CKA_SENSITIVE false.


git-svn-id: svn://10.0.0.236/trunk@102373 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 03:00:39 +00:00
nelsonb%netscape.com
611393a6b4 Allow the 5 new DHE cipher suites to be selected with the -c command line
option.  Facilitates testing of bug 95987.


git-svn-id: svn://10.0.0.236/trunk@102073 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 04:29:45 +00:00
relyea%netscape.com
fb609dc013 BLAPI is complete below the PKCS #11 line, so should not call high level initialization functions.
git-svn-id: svn://10.0.0.236/trunk@101755 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 18:21:09 +00:00
relyea%netscape.com
af9c01bd19 1) Open database RW if we are encrypting so that the SDR key can be created.
2) Return an error code if we fail to open the database.
3) Initialize the database if it wasn't already


git-svn-id: svn://10.0.0.236/trunk@101754 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 18:20:07 +00:00
wtc%netscape.com
c263db4585 Bugzilla bug 94685: fixed compiler warnings.
git-svn-id: svn://10.0.0.236/trunk@101738 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 03:52:23 +00:00
wtc%netscape.com
266995ef87 Bugzilla bug 94685: defining SECUTIL_NEW caused the wrong function
declaration (with PRFileDesc* as the first parameter) to be used and
hence a compiler warning.


git-svn-id: svn://10.0.0.236/trunk@101673 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 00:22:07 +00:00
wtc%netscape.com
8baf9712df Bugzilla bug 94685: added 'const' to eliminate compiler warning.
Modified files: install.c instsec.c


git-svn-id: svn://10.0.0.236/trunk@101670 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 00:10:00 +00:00
wtc%netscape.com
2e28d51dbd Bugzilla bug 94685: deleted unused variable 'iter'.
git-svn-id: svn://10.0.0.236/trunk@101668 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 00:05:46 +00:00
wtc%netscape.com
fda93275b2 Bugzilla bug 94685: eliminated a compiler warning about unreferenced label
'retry'.


git-svn-id: svn://10.0.0.236/trunk@101658 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 23:25:54 +00:00