232 Commits

Author SHA1 Message Date
chrisk%netscape.com
a4265a293d Fix DSA / BLAPI interface by creating stub functions that have the
correct signature for being called via context->update or context->verify.


git-svn-id: svn://10.0.0.236/trunk@72071 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 23:43:42 +00:00
mcgreer%netscape.com
b60671d35c added roots.
git-svn-id: svn://10.0.0.236/trunk@72055 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 22:39:02 +00:00
chrisk%netscape.com
040db90898 Sorted output for certutil -L
git-svn-id: svn://10.0.0.236/trunk@72054 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 22:25:40 +00:00
thayes%netscape.com
7dd6529da9 Change password dialogs to account for expanded capabilities (beyond
just certificates)


git-svn-id: svn://10.0.0.236/trunk@72039 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 20:38:10 +00:00
thayes%netscape.com
517d5bed80 Fix cleanup code in Decrypt to check for NULL pointers
git-svn-id: svn://10.0.0.236/trunk@72036 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 20:19:39 +00:00
thayes%netscape.com
fbf60c4809 Add permanent (token) key for supporting Secret Decoder Ring (SDR)
Bug 26085


git-svn-id: svn://10.0.0.236/trunk@71975 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-10 19:00:45 +00:00
cotter%netscape.com
2af679a064 Latest fixes re SDR & pswd mgr.
git-svn-id: svn://10.0.0.236/trunk@71626 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 22:23:50 +00:00
nelsonb%netscape.com
e052a8e582 Carry forward fix from NSS 2.8 for servers that don't do ssl2.
git-svn-id: svn://10.0.0.236/trunk@71609 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 20:32:18 +00:00
javi%netscape.com
885131d1e3 Make SendUIEvent take a bit for isModal instead of always hard-coding it
to true.


git-svn-id: svn://10.0.0.236/trunk@71539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:21:23 +00:00
javi%netscape.com
3ac887fdc3 For optimized builds, we have to link in an extra library to avoid
undefined symbols.


git-svn-id: svn://10.0.0.236/trunk@71538 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 20:10:39 +00:00
javi%netscape.com
ba9e08495d Work around for a bug w/ Mozilla where the KEYGEN window blocks forever
and prevents PSM from exiting when Mozilla quits.


git-svn-id: svn://10.0.0.236/trunk@71419 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:57:25 +00:00
mcgreer%netscape.com
d7f3d2ca81 iterate context creation for all ciphers when doing performance tests.
git-svn-id: svn://10.0.0.236/trunk@71411 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:09:13 +00:00
mcgreer%netscape.com
bb06d7fb45 fork content version between ns-branded builds and mozilla builds.
git-svn-id: svn://10.0.0.236/trunk@71401 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 22:35:29 +00:00
javi%netscape.com
8533b99aca Change the name of the OCSP URL from "location" to "ocspLocation" so Mozilla
doesn't get confused and try to change the web site we're viewing.

This is a work around because that bug will not be fixed for Beta2 in Mozilla.


git-svn-id: svn://10.0.0.236/trunk@71377 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 19:03:48 +00:00
mcgreer%netscape.com
f25459bc76 Allow for building with internal roots.
git-svn-id: svn://10.0.0.236/trunk@71375 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 18:37:53 +00:00
mcgreer%netscape.com
937b2f9c3c Allow for building with internal root certs.
git-svn-id: svn://10.0.0.236/trunk@71374 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 18:37:14 +00:00
mcgreer%netscape.com
fa678d0a4a more performance testing
* timing of context creation for ciphers
* provide system information


git-svn-id: svn://10.0.0.236/trunk@71326 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 01:40:29 +00:00
thayes%netscape.com
e1f78d746d Use PK11 fixed key lookup to locate the key value. Fix ENCRYPT/DECRYPT bug in
SDR_Decrypt.


git-svn-id: svn://10.0.0.236/trunk@71200 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 23:06:02 +00:00
relyea%netscape.com
6c6b9f8e6c Return to using the thread safe version. The non-thread safe version can double free memory
git-svn-id: svn://10.0.0.236/trunk@71193 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:37:17 +00:00
relyea%netscape.com
5d6e8ad9e2 Fix bug which would have bypassed mac checking in TLS
git-svn-id: svn://10.0.0.236/trunk@71192 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:36:02 +00:00
relyea%netscape.com
7c9f18ac81 Set up code that allows you to run only some of the SSL tests in a single run.
git-svn-id: svn://10.0.0.236/trunk@71191 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:35:00 +00:00
relyea%netscape.com
d3001cdfd2 Fix Environment variable overrides.
git-svn-id: svn://10.0.0.236/trunk@71190 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:34:07 +00:00
mcgreer%netscape.com
49caba958d fix static array (found with solaris 2.7 build)
git-svn-id: svn://10.0.0.236/trunk@71185 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 22:17:47 +00:00
javi%netscape.com
19ca97b15e Need to make in the ui directory as well.
git-svn-id: svn://10.0.0.236/trunk@71118 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:20:30 +00:00
javi%netscape.com
ca51101cc1 Use nlslayer as the library name instead of strres to avoid any potential
confusion.


git-svn-id: svn://10.0.0.236/trunk@71094 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:54:07 +00:00
thayes%netscape.com
54b45daf6a Initial version of header for SDR wrappers
git-svn-id: svn://10.0.0.236/trunk@70985 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 03:31:51 +00:00
nelsonb%netscape.com
4e9eafa605 Fix build on NT. Correct link order in PKCS11 directory.
git-svn-id: svn://10.0.0.236/trunk@70978 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:30:29 +00:00
nelsonb%netscape.com
a2672c9272 Add new implementation of the algorithm from RFC 2268. Fix some comments.
git-svn-id: svn://10.0.0.236/trunk@70977 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-27 01:29:35 +00:00
mcgreer%netscape.com
d5432800ca fix up file handling.
git-svn-id: svn://10.0.0.236/trunk@70964 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:19:17 +00:00
mcgreer%netscape.com
0d21df33e8 break off mode list when next option is reached
git-svn-id: svn://10.0.0.236/trunk@70962 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:09:09 +00:00
mcgreer%netscape.com
e130527e3f fix dsa self-test
git-svn-id: svn://10.0.0.236/trunk@70961 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:05:05 +00:00
mcgreer%netscape.com
9be62697ba * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test


git-svn-id: svn://10.0.0.236/trunk@70960 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 23:04:47 +00:00
thayes%netscape.com
25a30b6f74 Put SDR changes on the tip. These changes include:
+ support for generic handling of messages on threads (msgthread.*)
  + add set_db_password form handling to control connection (temporary)
  + add SDR functions (Encrypt and Decrypt) and Changepassword to MISC category
  + checkin prototypes for trigger.js and install.js (parts of PSM installation)


git-svn-id: svn://10.0.0.236/trunk@70953 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:34:36 +00:00
thayes%netscape.com
68ae42e908 Initial version of the PK11 wrappers for SDR. This version uses a fixed key id (0)
and and 3DES key value.


git-svn-id: svn://10.0.0.236/trunk@70948 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:01 +00:00
mcgreer%netscape.com
3ad68f9285 self-test
git-svn-id: svn://10.0.0.236/trunk@70915 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:53:38 +00:00
mcgreer%netscape.com
7616cb0e38 self-test
git-svn-id: svn://10.0.0.236/trunk@70913 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:48:19 +00:00
mcgreer%netscape.com
850329a356 Fix up the hashes to only use one mode. Add self-test capability to bltest (test each of the BLAPI functions). DSA self-test not working at this time.
git-svn-id: svn://10.0.0.236/trunk@70912 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 07:41:22 +00:00
mcgreer%netscape.com
5a02e6206f Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over.
git-svn-id: svn://10.0.0.236/trunk@70873 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:10:35 +00:00
nelsonb%netscape.com
92bec039c5 Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.


git-svn-id: svn://10.0.0.236/trunk@70867 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 22:42:23 +00:00
nelsonb%netscape.com
426f0d84cf Simplify and speed up client cache expiration detection.
git-svn-id: svn://10.0.0.236/trunk@70748 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 19:28:27 +00:00
nelsonb%netscape.com
1880f41677 Correct the implementation of the options for disabling SSL2, SSL3 and TLS.
Add a new -R option to selfserv, which disables detection of rollback from
TLS to SSL3.0.  This is necessary for testing with broken TLS clients.


git-svn-id: svn://10.0.0.236/trunk@70709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:44:50 +00:00
nelsonb%netscape.com
73f5156cca Fix the logic in client and server to detect version roll-back attack,
rolling back from TLS (SSL 3.1) to SSL 3.0.  Provide a new SSL socket
option to disable roll-back detection in servers, since certain TLS
clients are doing it incorrectly.


git-svn-id: svn://10.0.0.236/trunk@70708 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:35:23 +00:00
nelsonb%netscape.com
e4ad3d1501 Changes in support of corrected TLS rollback detection.
git-svn-id: svn://10.0.0.236/trunk@70707 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 03:31:44 +00:00
nelsonb%netscape.com
45d8ebf2ca Fix a transcription error that caused a crash.
git-svn-id: svn://10.0.0.236/trunk@70703 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-24 02:22:18 +00:00
mcgreer%netscape.com
231ef49c1e Added calls for BSAFE 5.0
git-svn-id: svn://10.0.0.236/trunk@70686 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 22:15:25 +00:00
mcgreer%netscape.com
74bd0ad7de break a long rsa message into key-sized blocks for testing.
git-svn-id: svn://10.0.0.236/trunk@70677 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 20:01:31 +00:00
javi%netscape.com
50d69f17f7 Look for libnecko_res.so instead of libnecko_resource.so on UNIX platforms.
git-svn-id: svn://10.0.0.236/trunk@70672 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 16:45:01 +00:00
javi%netscape.com
c1230f5a1a Trick xpcom world into treating psm just as it would mozilla.
git-svn-id: svn://10.0.0.236/trunk@70648 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-23 01:14:39 +00:00
javi%netscape.com
feaecbaf4e Don't link against libraries we don't need.
git-svn-id: svn://10.0.0.236/trunk@70600 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 17:34:42 +00:00
chrisk%netscape.com
771c88f21f Added RFC2630 OID values:
SEC_OID_CMS_EPHEMERAL_STATIC_DIFFIE_HELLMAN = id-alg-ESDH
SEC_OID_CMS_3DES_KEY_WRAP                   = id-alg-CMS3DESwrap
SEC_OID_CMS_RC2_KEY_WRAP                    = id-alg-CMSRC2wrap


git-svn-id: svn://10.0.0.236/trunk@70598 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 15:28:22 +00:00