Граф коммитов

329 Коммитов

Автор SHA1 Сообщение Дата
thayes%netscape.com 88125da9ad Change password dialogs to account for expanded capabilities (beyond
just certificates)
2000-06-12 20:38:10 +00:00
thayes%netscape.com bf816b2fd6 Fix cleanup code in Decrypt to check for NULL pointers 2000-06-12 20:19:39 +00:00
thayes%netscape.com 69bf5e02f0 Add permanent (token) key for supporting Secret Decoder Ring (SDR)
Bug 26085
2000-06-10 19:00:45 +00:00
cotter%netscape.com 2933117137 Latest fixes re SDR & pswd mgr. 2000-06-06 22:23:50 +00:00
nelsonb%netscape.com ff38a32d6c Carry forward fix from NSS 2.8 for servers that don't do ssl2. 2000-06-06 20:32:18 +00:00
javi%netscape.com f9f9771717 Make SendUIEvent take a bit for isModal instead of always hard-coding it
to true.
2000-06-05 20:21:23 +00:00
javi%netscape.com 04ea52060e For optimized builds, we have to link in an extra library to avoid
undefined symbols.
2000-06-05 20:10:39 +00:00
javi%netscape.com 89cce2ba69 Work around for a bug w/ Mozilla where the KEYGEN window blocks forever
and prevents PSM from exiting when Mozilla quits.
2000-06-02 23:57:25 +00:00
mcgreer%netscape.com 2fdccb23da iterate context creation for all ciphers when doing performance tests. 2000-06-02 23:09:13 +00:00
mcgreer%netscape.com 660609a4b8 fork content version between ns-branded builds and mozilla builds. 2000-06-02 22:35:29 +00:00
javi%netscape.com ef6455a2b3 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.
2000-06-02 19:03:48 +00:00
mcgreer%netscape.com 71f8add772 Allow for building with internal roots. 2000-06-02 18:37:53 +00:00
mcgreer%netscape.com 0d12f95984 Allow for building with internal root certs. 2000-06-02 18:37:14 +00:00
mcgreer%netscape.com 7d43393e89 more performance testing
* timing of context creation for ciphers
* provide system information
2000-06-02 01:40:29 +00:00
thayes%netscape.com d1e928a94f Use PK11 fixed key lookup to locate the key value. Fix ENCRYPT/DECRYPT bug in
SDR_Decrypt.
2000-05-31 23:06:02 +00:00
relyea%netscape.com 98a5737ae6 Return to using the thread safe version. The non-thread safe version can double free memory 2000-05-31 22:37:17 +00:00
relyea%netscape.com ad8f118aaa Fix bug which would have bypassed mac checking in TLS 2000-05-31 22:36:02 +00:00
relyea%netscape.com c188c7b0a3 Set up code that allows you to run only some of the SSL tests in a single run. 2000-05-31 22:35:00 +00:00
relyea%netscape.com ca2ed5221a Fix Environment variable overrides. 2000-05-31 22:34:07 +00:00
mcgreer%netscape.com e4e149a3f2 fix static array (found with solaris 2.7 build) 2000-05-31 22:17:47 +00:00
javi%netscape.com 9a2682d684 Need to make in the ui directory as well. 2000-05-31 00:20:30 +00:00
javi%netscape.com 8c7512ebe3 Use nlslayer as the library name instead of strres to avoid any potential
confusion.
2000-05-30 21:54:07 +00:00
thayes%netscape.com 33002364e2 Initial version of header for SDR wrappers 2000-05-27 03:31:51 +00:00
nelsonb%netscape.com d68b6b26e5 Fix build on NT. Correct link order in PKCS11 directory. 2000-05-27 01:30:29 +00:00
nelsonb%netscape.com bab15254dd Add new implementation of the algorithm from RFC 2268. Fix some comments. 2000-05-27 01:29:35 +00:00
mcgreer%netscape.com 05e4df1b47 fix up file handling. 2000-05-26 23:19:17 +00:00
mcgreer%netscape.com 7013421ee8 break off mode list when next option is reached 2000-05-26 23:09:09 +00:00
mcgreer%netscape.com cee709350d fix dsa self-test 2000-05-26 23:05:05 +00:00
mcgreer%netscape.com dcd1804c81 * allow a directory for tests to be specified
* separate pqg generation for dsa test
* fix dsa self-test
2000-05-26 23:04:47 +00:00
thayes%netscape.com c42f89a0e3 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)
2000-05-26 22:34:36 +00:00
thayes%netscape.com 15e1426676 Initial version of the PK11 wrappers for SDR. This version uses a fixed key id (0)
and and 3DES key value.
2000-05-26 22:24:01 +00:00
mcgreer%netscape.com ceb33018d3 self-test 2000-05-26 07:53:38 +00:00
mcgreer%netscape.com bfa266d912 self-test 2000-05-26 07:48:19 +00:00
mcgreer%netscape.com de531540c9 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. 2000-05-26 07:41:22 +00:00
mcgreer%netscape.com b0555467b4 Allow any build to use moz_import rule. mozilla dbm uses different lib name, so copy it over. 2000-05-25 23:10:35 +00:00
nelsonb%netscape.com 2a8f51bedf Use the -g keysize value, instead of DES_KEY_LENGTH, for all crypto
algorithms except DES and 3DES.
2000-05-25 22:42:23 +00:00
nelsonb%netscape.com 05f5b12e1d Simplify and speed up client cache expiration detection. 2000-05-24 19:28:27 +00:00
nelsonb%netscape.com 7d4e22e9f7 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.
2000-05-24 03:44:50 +00:00
nelsonb%netscape.com b3137b12fc 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.
2000-05-24 03:35:23 +00:00
nelsonb%netscape.com c5e3dcad6d Changes in support of corrected TLS rollback detection. 2000-05-24 03:31:44 +00:00
nelsonb%netscape.com 86b584b98c Fix a transcription error that caused a crash. 2000-05-24 02:22:18 +00:00
mcgreer%netscape.com 51a773754f Added calls for BSAFE 5.0 2000-05-23 22:15:25 +00:00
mcgreer%netscape.com e84e4debf8 break a long rsa message into key-sized blocks for testing. 2000-05-23 20:01:31 +00:00
javi%netscape.com 3c31505513 Look for libnecko_res.so instead of libnecko_resource.so on UNIX platforms. 2000-05-23 16:45:01 +00:00
javi%netscape.com 7570330e38 Trick xpcom world into treating psm just as it would mozilla. 2000-05-23 01:14:39 +00:00
javi%netscape.com a69c4aef06 Don't link against libraries we don't need. 2000-05-22 17:34:42 +00:00
chrisk%netscape.com 7e57cbed52 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
2000-05-22 15:28:22 +00:00
chrisk%netscape.com 0ac50812ec Added SEC_ASN1DecodeInteger function 2000-05-22 15:24:20 +00:00
cotter%netscape.com 83b6a12dae Revised section on Personal Security Password w/ SDR info, plus related glossary items. 2000-05-20 01:23:34 +00:00
mcgreer%netscape.com d992f5bbb1 hash performance functions now look the same as the other ciphers. add a zerobuffer option to avoid creating random buffers when performance testing. 2000-05-19 22:50:48 +00:00
nelsonb%netscape.com 3573568670 Performance enhancement. Takes only 70% as long as previous version. 2000-05-19 22:14:38 +00:00
mcgreer%netscape.com b794d07c5a fix up the mode arrays. 2000-05-19 21:02:05 +00:00
ddrinan%netscape.com eabd0fcadb Fixed server_cert_view_buttons. Bugzilla 36129 2000-05-19 20:39:06 +00:00
mcgreer%netscape.com eaa03a341a work on making test program more usable.
* added usage
* chaining modes and stream ciphers reset contexts when doing multiple iterations for performance testing
2000-05-19 20:34:05 +00:00
javi%netscape.com e6c5e8bb63 Have the current directory in the LD_LIBRARY_PATH first so that the shared
objects in the current directory are loaded before others that may be in
the LD_LIBRARY_PATH
2000-05-19 20:14:03 +00:00
nelsonb%netscape.com d438b82ca9 Add support for sha1. Add repetition count argument to -p. 2000-05-19 18:35:53 +00:00
javi%netscape.com ed54cae0eb Use the correct type of comments for the start-psm script. 2000-05-19 17:19:59 +00:00
javi%netscape.com 12f47aba2f Make sure the strings we get for configuring PKCS11 are the correct length.
This way the names we provide for the token name and such will stick.
2000-05-19 17:13:05 +00:00
nelsonb%netscape.com 4557e70221 Fix sha_fast for 64-bit solaris and 64-bit Alpha. 2000-05-19 02:10:33 +00:00
ddrinan%netscape.com 09712404f2 Remove reference to NLS library 2000-05-19 00:16:20 +00:00
ddrinan%netscape.com 3cffdd843b Updates 2000-05-18 23:53:53 +00:00
mcgreer%netscape.com dfbeea37d2 very rudimentary test code for regression tests of BLAPI. 2000-05-18 22:59:42 +00:00
ddrinan%netscape.com be0dd57552 Initial check-in 2000-05-18 21:30:26 +00:00
ddrinan%netscape.com 88de140bbe Fixed i18n libraries for unix 2000-05-18 21:02:09 +00:00
ddrinan%netscape.com 28fb6e90e3 mozreg is a static library on unix 2000-05-18 20:06:09 +00:00
ddrinan%netscape.com da036efed7 Fixed comment style for Solaris 2000-05-18 18:32:43 +00:00
mcgreer%netscape.com e8d29939a2 Changing MIN's and MAX's to PR_MIN, PR_MAX 2000-05-18 15:32:18 +00:00
mcgreer%netscape.com 0a5c0e59b9 Changing all MIN's and MAX's to PR_MIN, PR_MAX 2000-05-18 15:30:12 +00:00
mcgreer%netscape.com 00eecfe9ba changing all MIN's and MAX's to PR_MIN, PR_MAX (MIN and MAX were defined in dbm). 2000-05-18 15:28:43 +00:00
nelsonb%netscape.com 1f4568e616 Changes to ssl_EmulateSendFile suggested by Wan-Teh.
See http://bugzilla.mozilla.org/show_bug.cgi?id=39011
2000-05-18 01:32:53 +00:00
roeber%netscape.com 4952877b4b Applying ancient patch to dump out extended key usage extensions 2000-05-18 01:02:40 +00:00
nelsonb%netscape.com 8dd2412683 In ssl3_GenerateSessionKeys() ensure params secitem always points to valid
CK_SSL3_MASTER_KEY_DERIVE_PARAMS structure.  Bugzilla bug 39682.
2000-05-18 00:41:38 +00:00
mcgreer%netscape.com 1dccac1327 allow import of NSPR and DBM from mozilla when building with BSAFE. 2000-05-17 23:19:18 +00:00
dougt%netscape.com 8293d5fb8d Adding SIOUX event processing 2000-05-17 23:00:19 +00:00
dougt%netscape.com 68cac0b082 Mac tweeks. 2000-05-17 22:59:40 +00:00
ddrinan%netscape.com dcfb0a496f Initial check-in 2000-05-17 20:26:28 +00:00
roeber%netscape.com 3987a4d480 Detect at runtime when we're running with NSPR 1 and switch the thread-private-data calls accordingly. This lets our pkcs#11 modules be loaded into Communicator. 2000-05-17 20:19:24 +00:00
roeber%netscape.com c05c1677d2 If a database has not been given a label, return the filename so Communicator has *something* to show 2000-05-17 18:28:13 +00:00
ddrinan%netscape.com 2ed6a63718 Fixed syntax error 2000-05-17 17:46:22 +00:00
mcgreer%netscape.com a2164241bb fix some compiler warnings 2000-05-17 17:31:20 +00:00
cotter%netscape.com b17ccc5893 Changes related to new UI for viewing cert chains. 2000-05-17 04:19:47 +00:00
thayes%netscape.com 7935d54dfd Land latest SDR changes on the tip. 2000-05-17 01:20:20 +00:00
javi%netscape.com e95c2ed2f2 Add new function for getting the version string that can be used by
Mozilla.
2000-05-17 00:17:42 +00:00
mcgreer%netscape.com b7aa1cb7a3 including md2 and md5 implementations in MOZILLA_SECURITY_BUILD 2000-05-16 23:05:47 +00:00
ddrinan%netscape.com a9011363c1 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 21:30:23 +00:00
ddrinan%netscape.com 20c50baf29 Fixed the release_md rule to copy the components stuff 2000-05-16 18:54:01 +00:00
ddrinan%netscape.com 882bbca42e Load the nlslayer/M14 from \\drinan. This is temporary 2000-05-16 18:47:22 +00:00
ddrinan%netscape.com ea496f8cc8 OS/2 changes for snizinsk@us.ibm.com 2000-05-16 18:30:55 +00:00
mcgreer%netscape.com bc82834652 Performance enhancements for md5 implementation.
+ unroll a loop in md5_compress
+ remove a superfluous variable
2000-05-16 18:18:39 +00:00
relyea%netscape.com 303f425f64 Add a mini-framework to allow us to test NSS releases without using tet. 2000-05-16 17:50:52 +00:00
relyea%netscape.com 38d6152e38 Change the attribute allocation scheme to a fixed array in the object. 2000-05-16 17:40:22 +00:00
relyea%netscape.com 4a3b75ec7e Add SSL and TLS to the slotlist search functions 2000-05-16 17:37:10 +00:00
relyea%netscape.com e1a6eb335e 1) performance changes.
a) do C_Decrypt in the handUnwrap case on it's own session so we don't
 single thread through the code.
	b) reuse the session created for the symKey when importing the key from data.

2) robustness changes.
	a) try different ways of getting the signature length if non-complient
 tokens don't present the modulus to us.
	b) Recover from state buffers changing sizes on us in the middle of
GetOperationState().
2000-05-16 17:36:24 +00:00
relyea%netscape.com 2c6cd2027f Only output caching if we turn tracing on. 2000-05-16 17:28:31 +00:00
relyea%netscape.com 1d44cff3d9 Add TLS and SSL flags to modutil.
Allow the Default flag to work specifically on a slot.
2000-05-16 17:27:29 +00:00
relyea%netscape.com f33f43b0fb 1) add code to allow selfserv to reuse existing listen ports when they are 'just haning around' (allows our test suits to run when starting and stopping the server all the time).
2) flush out any server output so it doesn't get lost from out test suites
2000-05-16 17:25:42 +00:00
roeber%netscape.com 46aa9fd2cd sync the database after writes 2000-05-16 01:55:20 +00:00
roeber%netscape.com 10698def3e Properly deregister shadow objects of session objects 2000-05-16 01:54:46 +00:00
mcgreer%netscape.com 9a0a622110 In BSAFE build, libfreebl.a has symbols needed by libbsafe.a (memory management). 2000-05-16 00:18:51 +00:00
mcgreer%netscape.com b4b2161fb5 reordered libraries for builds 2000-05-15 22:59:12 +00:00
dougt%netscape.com 56111f3144 Adding nsString and friends so that people can link against us without XPCOM until runtime. 2000-05-15 21:00:52 +00:00
roeber%netscape.com 67340d55fd Store object contents in network byte order, for database portability 2000-05-15 20:59:11 +00:00
roeber%netscape.com 5eb446422c Use the public (cap-NSS) mutex calls, not the private ones 2000-05-15 20:58:19 +00:00
dougt%netscape.com 4883dbdbd8 Updating project to build with standalone nlsLayer. 2000-05-15 20:56:30 +00:00
mcgreer%netscape.com c47bfa264a Changed DestroyContext functions so that freeit means free everything or free nothing, not just the context pointer. 2000-05-15 20:54:35 +00:00
roeber%netscape.com a7aa365f98 First checkin of database module 2000-05-15 20:39:58 +00:00
dougt%netscape.com 9a19e941a2 First Checked In. 2000-05-15 19:59:01 +00:00
ddrinan%netscape.com 028dac8036 Put nls layer into a separate static library 2000-05-13 03:27:53 +00:00
ddrinan%netscape.com 1ae114236d Initial checkin 2000-05-13 03:12:20 +00:00
mcgreer%netscape.com b696b30318 Add condition for BSAFE build. 2000-05-12 23:37:36 +00:00
mcgreer%netscape.com a09c5f58b5 Initial checkin of implementations of MD2 and MD5. An empty definition of Diffie-Hellman to allow for building, more later. Changes to Makefile for building with BSAFE. 2000-05-12 23:35:06 +00:00
dougt%netscape.com 309679b112 Fixes to make Mac work. 2000-05-12 19:58:37 +00:00
dougt%netscape.com a8cb2d6d75 First Checked In. 2000-05-12 19:57:18 +00:00
dougt%netscape.com 02dfda82c2 Fix to make compile on Mac. 2000-05-12 19:57:00 +00:00
dougt%netscape.com 2c82d0326c Fixes to make Mac compile. 2000-05-12 19:51:52 +00:00
dougt%netscape.com c1a2a82b2d Changes make project use static crypto lib. 2000-05-12 18:55:31 +00:00
dougt%netscape.com 09d6cac477 Minor changes to fix mac build bustages. 2000-05-12 18:43:28 +00:00
ddrinan%netscape.com 3a7fed2a26 No longer use obscuring layer from protocol 2000-05-12 03:18:09 +00:00
ddrinan%netscape.com 79b17428dc No longer build or export obscuring stuff 2000-05-12 03:17:08 +00:00
thayes%netscape.com 78f417fe60 Merge changes from SDR_BRANCH.
Add more SDR features, and provide compatibility between older PSM servers
and this client library.
2000-05-11 01:49:15 +00:00
ddrinan%netscape.com a20bf8b24b Link xpcom dynamically for Solaris and HP-UX 2000-05-10 00:01:29 +00:00
ddrinan%netscape.com f569007a34 Fixed NSPR library typos for Solaris 2000-05-09 23:14:07 +00:00
ddrinan%netscape.com 9b5eb6b4ed I18N include should be lower case 2000-05-09 22:07:05 +00:00
ddrinan%netscape.com df989039f6 Added import for I18N headers and libraries 2000-05-09 22:06:01 +00:00
roeber%netscape.com ce22112233 Adding CK_USHORT back in, for pedantic tests' sake 2000-05-09 18:57:58 +00:00
roeber%netscape.com a4edbbec1e Backing out accidental (recursive) commit 2000-05-09 18:35:24 +00:00
roeber%netscape.com 85c6f8a123 Added ckmd.h to private exports list 2000-05-09 18:31:16 +00:00
ddrinan%netscape.com dad57d51c4 Fixed some comments 2000-05-09 18:24:35 +00:00
ddrinan%netscape.com d8ab0e3ce1 Added newline to end of file 2000-05-09 02:20:54 +00:00
ddrinan%netscape.com 58864fea8f Fix up manifest 2000-05-09 01:36:43 +00:00
ddrinan%netscape.com c09d9bf787 Adding Makefile to build in Mozilla 2000-05-09 01:35:54 +00:00
ddrinan%netscape.com 10330d5146 Fixed up manifest 2000-05-09 01:31:07 +00:00
thayes%netscape.com be40087a3f Add makefile to the tip 2000-05-09 01:30:38 +00:00
ddrinan%netscape.com 7fed1f1465 Adding Makefile to build this in Mozilla 2000-05-09 01:30:31 +00:00
ddrinan%netscape.com b46e4b8819 Fixed typo for NSPR import for Solaris 2.5.1 2000-05-09 00:47:19 +00:00
ddrinan%netscape.com b7da9b1c1e Fix for Solaris 2.5.1 2000-05-09 00:33:13 +00:00
ddrinan%netscape.com 4ef40182d2 Get NSPR 4.0 for Solaris 2.5.1 2000-05-09 00:06:35 +00:00
nelsonb%netscape.com 6aecad3658 Small optimization for RSA Server Key exchange message. Uses fewer PK11_
calls to do the job. Also, plug one mem leak in Fortezza code.
2000-05-08 23:55:05 +00:00
roeber%netscape.com 49fd5a0ac2 Initial checkin of an simple module-excercise program 2000-05-08 23:19:45 +00:00
nelsonb%netscape.com 2cc58fa51d Several fixes. Builds on WIN32. Prints Usage when invalid syntax. 2000-05-08 23:13:10 +00:00
mcgreer%netscape.com f136d80343 change to comment text 2000-05-05 00:50:38 +00:00
mcgreer%netscape.com 155b690f03 Code to provide hooks to RSA's BSAFE licensed code. 2000-05-04 21:58:18 +00:00
ddrinan%netscape.com 6d6362aab7 Remove special import for Solaris 2.5.1 2000-05-04 21:48:43 +00:00
ddrinan%netscape.com 783f279fc7 Build NSS before building PSM 2000-05-04 21:30:45 +00:00
ddrinan%netscape.com 04cca635f5 Fixed typo in nss gmake 2000-05-04 20:58:44 +00:00
ddrinan%netscape.com 4516262e5d Initial revision 2000-05-04 20:40:41 +00:00
thayes%netscape.com 434aee07c6 Add makefiles to tip for psm library builds 2000-05-03 18:09:53 +00:00
thayes%netscape.com 906c32777e Fix LDAPSDK include path to allow locally installed sdk 2000-05-02 21:55:10 +00:00
thayes%netscape.com 104ea86501 Copy nspr libraries into platform build directory to allow running without library path
setup.
2000-05-02 00:38:11 +00:00
mwelch%netscape.com fc0a04baa1 Applying Mac changes 2000-04-28 09:35:09 +00:00