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

382 Коммитов

Автор SHA1 Сообщение Дата
nicolson%netscape.com c3e4461e42 Fix 225615: memory leak in SSLSocket.socketConnect. 2003-11-13 23:10:13 +00:00
nicolson%netscape.com 975c6d1b52 try forcing the bourne shell to execute the command line. 2003-10-23 22:01:55 +00:00
nicolson%netscape.com 2d8d587276 more debugging info. 2003-10-22 04:08:17 +00:00
nicolson%netscape.com 01b4508c5d More debugging information. 2003-10-16 22:17:00 +00:00
nicolson%netscape.com 03573a14f2 Try * instead of . to get zip to grab all the contents of a directory. 2003-10-16 03:28:19 +00:00
nicolson%netscape.com 510c723d9d Try to get zip working properly on the Windows build machines. 2003-10-12 20:21:04 +00:00
nicolson%netscape.com d87d5b77b6 Change ';' to '&&' so the command fails if any of the subcommands fails.
Print out the return value of the command.
This is to debug a problem where the zip file is not being created on windows.
2003-10-09 22:39:54 +00:00
wtc%netscape.com 7124399198 Bugzilla bug 216117: added a TokenProxy member to the PK11Cert class to
store the slot pointer for the certificate *instance*.  This slot pointer
is not necessarily cert->slot.  Try to get the correct slot pointer for a
cert instance where possible.  This patch helps us handle multiple
instances of the same cert better.
Modified Files:
	PK11Finder.c pkcs11/PK11Cert.c pkcs11/PK11Cert.java
	pkcs11/PK11InternalCert.java pkcs11/PK11InternalTokenCert.java
	pkcs11/PK11Store.c pkcs11/PK11Token.c
	pkcs11/PK11TokenCert.java pkcs11/pk11util.h
	provider/java/security/JSSKeyStoreSpi.c ssl/SSLServerSocket.c
	ssl/callbacks.c ssl/common.c ssl/jssl.h util/java_ids.h
2003-09-24 22:20:15 +00:00
wtc%netscape.com 9c91edd706 Bugzilla bug 220209: fixed a cert reference leak in
JSSL_CallCertSelectionCallback if the PK11_FindKeyByAnyCert call fails.
2003-09-24 21:07:17 +00:00
wtc%netscape.com d4c0e6f2e4 Deleted unused code. 2003-09-23 22:56:46 +00:00
wtc%netscape.com 72601483e7 Set JSS version to 3.4.2 Beta 1.
Modified Files: CryptoManager.java util/jssver.h
2003-09-23 20:57:15 +00:00
wtc%netscape.com c1499f4a08 Bugzilla bug 219756: fixed a CERTCertificate reference leak. 2003-09-20 00:27:30 +00:00
wtc%netscape.com 061f92769b Bugzilla bug 216693: use "." instead of "org" to specify the list for zip. 2003-08-27 01:13:06 +00:00
wtc%netscape.com 797bd4d0ea Import NSS_3_7_8_RTM. 2003-08-27 01:01:59 +00:00
nicolson%netscape.com ec0fcca998 Update JSS to version 3.4.1. 2003-08-27 00:08:43 +00:00
wtc%netscape.com 38be9d9331 Bugzilla bug 216693: running make in mozilla/security/jss should build the
class jar file.
Modified Files: rules.mk build_java.pl
2003-08-19 20:08:33 +00:00
wtc%netscape.com ca9de7e2fa Bugscape bug 50033: make the KeyType class public and force it to load
during CryptoManager.initialize(), before we add JSS as a provider.  The
KeyType class was failing to load properly, because its static initializers
force the class load of KeyWrapAlgorithm, whose signature needed to be
verified, which invoked JSS's signature provider, which accessed KeyType.
Basically, installing JSS as the default signature provider before its
classes have loaded creates a possibility of circular dependencies in class
initialization.  The patch is due to Jamie Nicolson.  r=wtc.
Modified Files: CryptoManager.java pkcs11/KeyType.java
2003-08-15 01:00:35 +00:00
wtc%netscape.com 1d0969818d Bugscape bug 49314: code cleanup. Throw InvalidKeyException directly
instead of NoSuchAlgorithmException.
2003-08-07 21:45:35 +00:00
glen.beasley%sun.com f0a3999250 215190 delete CA created certs 2003-08-07 00:34:32 +00:00
nicolson%netscape.com 75d97a0079 Convert public key to JSS public key. 2003-08-05 18:54:49 +00:00
glen.beasley%sun.com 6ded2b6eb3 remove no longer used include blapi.h 2003-07-24 23:01:08 +00:00
nicolson%netscape.com 9eaa5fbd47 Remove dependency on secrng.h. We don't need it. 2003-07-11 18:13:26 +00:00
nicolson%netscape.com f0f344e82a update to JSS 3.4 RTM. 2003-05-19 21:44:23 +00:00
nicolson%netscape.com 822995bd0b Partial fix for 189964: support more algorithm names. 2003-05-19 18:36:38 +00:00
glen.beasley%sun.com c257837f18 201047 ssl timeouts 2003-05-14 22:34:38 +00:00
nicolson%netscape.com 027947b867 Fix 205066: double-free in PK11KeyGenerator.c:constructSHA1PBAKey() 2003-05-14 00:04:02 +00:00
nicolson%netscape.com 7cd1436ceb Fix 205069: broken loop logic in PFX.java. 2003-05-09 19:02:56 +00:00
nicolson%netscape.com 36d2120328 Replace unnecessary Debug.trace() statement with a comment in the code. 2003-05-09 18:57:15 +00:00
nicolson%netscape.com f7123ebbf1 Improve parameter class handling. 2003-04-28 23:32:39 +00:00
nicolson%netscape.com d72dc83313 Build with NSS 3.7.3 RTM. 2003-04-28 23:31:12 +00:00
nicolson%netscape.com ae6470da30 Fix blackflag 619793: support RC2/CBC/PKCS5Padding. 2003-04-28 21:48:33 +00:00
nicolson%netscape.com 3d44a05368 Move to JSS 3.4 beta. 2003-04-28 21:28:00 +00:00
glen.beasley%sun.com 5973e1c1e8 201245 convert SecretKey to SecretKeyFacade 2003-04-21 21:38:34 +00:00
nicolson%netscape.com 0aa4ee62dd Take out bogus dependency on ASN1Util. 2003-04-15 23:21:04 +00:00
nicolson%netscape.com 91109807f8 Fix 202182: Base64InputStream throws EOFException on valid input. 2003-04-15 22:39:36 +00:00
nicolson%netscape.com 97011b8592 Catch NULL pointers before passing them to C and risking a crash.
Improve javadoc.
2003-04-15 21:55:53 +00:00
nicolson%netscape.com f05b22eedd Remove misleading comment. 2003-04-09 21:30:19 +00:00
nicolson%netscape.com bbedcf3afe Fix 198125: PK11Signature.engineUpdateNative ignores offset and length. 2003-03-19 00:57:29 +00:00
glen.beasley%sun.com 63fb2576a6 solaris pkg version 2003-01-14 20:26:36 +00:00
glen.beasley%sun.com a448ee37c6 solaris pkging support 2003-01-13 20:35:36 +00:00
glen.beasley%sun.com d362c01efd Solaris pkg support 2003-01-13 19:43:15 +00:00
glen.beasley%sun.com 173ecd55e4 Solaris pkg copyright 2003-01-09 22:53:13 +00:00
nicolson%netscape.com 9460ab9be1 Upgrade version from 3.2 to 3.3.
Uncomment MessageDigest implementations (doh!).
2003-01-01 02:58:22 +00:00
nicolson%netscape.com 5e1bcfd6d2 Add DigestTest to all.pl.
Make DigestTest and SigTest return nonzero error code on failure.
2003-01-01 02:57:50 +00:00
nicolson%netscape.com 76ceb77be4 Fix 186097: ProofOfPossession.encode() has paranoid assertion. 2002-12-19 02:31:38 +00:00
nicolson%netscape.com a7f090b8a6 Partial fix for 184754: assertion violation in get_token_certs_for_cache.
Don't assert if we fail to lookup the cert we just imported. It could
be a bug in the PKCS #11 driver. Instead, throw an exception.
2002-12-18 23:14:48 +00:00
nicolson%netscape.com f5c66b92aa Fix 180827: Update version strings for JSS 3.3. 2002-12-13 06:12:30 +00:00
nicolson%netscape.com 844a47f512 Fix 180396: javax.crypto.Cipher wrapping does not work with RSA algorithm.
Support RSA as a wrapping/unwrapping algorithm.
2002-11-19 00:41:09 +00:00
nicolson%netscape.com 80f7fdb602 Throw InvalidKeyException instead of InvalidAlgorithmParameterException,
because the latter may get thrown away by our caller, but the former will
not be.
2002-11-19 00:39:43 +00:00
nicolson%netscape.com 929e00e5b5 Change silly switch statement to an if statement. 2002-11-19 00:31:10 +00:00
nicolson%netscape.com 5f21037ae6 Make NotExtractableException take a String argument to its constructor. 2002-11-19 00:30:43 +00:00
nicolson%netscape.com 62297d34ca default doesProduceOutput to true for compatibility. 2002-11-08 02:24:20 +00:00
nicolson%netscape.com ac141012ed Add isExtensionPresent and getExtension. 2002-11-08 00:40:26 +00:00
glen.beasley%sun.com d39fba9d10 removes sun provider and set passwords 2002-11-07 22:49:26 +00:00
glen.beasley%sun.com da13ded012 move removeSunProvider after JSS JCE provider is loaded 2002-11-07 03:33:04 +00:00
nicolson%netscape.com c6fdcc6563 Add license header to new file. 2002-11-06 03:24:39 +00:00
nicolson%netscape.com ecfe6a3ccd Add TestSDR, to test the new SecretDecoderRing.
In all.pl, always set the CLASSPATH to be the signed JSS JAR file, so
that we can use the JCE (javax.crypto.*) interface.
2002-11-06 03:22:10 +00:00
nicolson%netscape.com 7ddd008d89 Correctly detect a missing key. 2002-11-06 03:20:53 +00:00
nicolson%netscape.com 10b3205212 Improve InvalidBERException.
Add feature of SEQUENCE.OF_Template whereby elements need not produce
any output. This is for dealing with very large SEQUENCEs, such as
large CRLs, where the list should be processed in some way, but not made
into an ASN1 object hierarchy.
2002-11-06 02:00:55 +00:00
nicolson%netscape.com bf773f650f update version strings. 2002-10-18 23:59:01 +00:00
nicolson%netscape.com c30e440420 The new SecretDecoderRing. 2002-10-17 00:33:42 +00:00
nicolson%netscape.com 9327ee2bc2 Generate a permanent key pair, since KeyStore isn't working yet. 2002-10-17 00:32:48 +00:00
nicolson%netscape.com 2ed819fbe8 remove print statements. 2002-10-17 00:07:50 +00:00
nicolson%netscape.com 0dc2c94550 Forget KeyStore, it is still very broken. 2002-10-17 00:07:29 +00:00
nicolson%netscape.com 9f40fcb3c9 More little hacks, but it still doesn't work right. 2002-10-17 00:07:08 +00:00
nicolson%netscape.com f061515562 Fix an implementation detail. 2002-10-17 00:05:53 +00:00
nicolson%netscape.com 5a6988bce7 Temporary fix for 164692: SSL ops that timeout should throw
java.net.SocketTimeoutException.
2002-10-11 03:49:34 +00:00
glen.beasley%sun.com 827c5b030a 171027 removed deprecated code 2002-10-10 04:35:56 +00:00
nicolson%netscape.com 6649c1141a upgrade to NSS 3.6 RTM and NSPR 4.2.2. 2002-10-09 18:30:38 +00:00
nicolson%netscape.com 07d11e97ed fix warning. 2002-10-07 18:00:28 +00:00
nicolson%netscape.com cc61c535dd Fix 158727: JSSKeyStoreSpi.getCertificateChain is questionable.
Make KeyStore.getCertificateChain() work.
2002-10-05 00:19:49 +00:00
nicolson%netscape.com a2394e4148 Fix 162904: Missing invalidityDate in RevRequest in CMMF package.
Update RevRequest to conform to RFC 2797.
Also updated the CRLReason enumeration.
2002-10-04 22:46:04 +00:00
nicolson%netscape.com 82f245ad70 Fix 160028: JSSKeyGeneratorSpi.HmacSHA1 should be renamed to PBAHmacSHA1. 2002-10-04 22:27:46 +00:00
nicolson%netscape.com ef56ced392 Fix 160017: getAlgorithm() not implemented for PKCS #11 keys. 2002-10-04 22:13:21 +00:00
nicolson%netscape.com d227f02eee Open up the class a little. 2002-10-04 21:18:35 +00:00
nicolson%netscape.com f013957a9e Remove hardcoded algorithms (now that NSS bug 162761 is fixed). 2002-10-04 21:05:18 +00:00
nicolson%netscape.com 035d09e748 Deprecate this, start using javax.crypto.BadPaddingException instead. 2002-10-04 21:04:37 +00:00
nicolson%netscape.com ad556c8a45 Fix EncryptionAlgorithm to handle lookups from JCA descriptions.
Support CipherSpi.engineGetKeySize.
Handle javax.crypto.spec.IvParameterSpec.
Handle multiple parameter classes.
2002-10-04 21:04:09 +00:00
nicolson%netscape.com d761e8497b support storing private and symmetric keys (now that NSS bug 128172 is fixed). 2002-10-04 21:02:50 +00:00
nicolson%netscape.com cac200a7c2 Handle AES keys. 2002-10-04 21:02:16 +00:00
nicolson%netscape.com 3fd1601e52 allow algorithms to support multiple parameter classes. 2002-10-04 21:00:58 +00:00
nicolson%netscape.com a793f44808 Cleanup spurious printlns and exceptions. 2002-10-04 20:59:20 +00:00
nicolson%netscape.com 19c38d81ff Add SymmetricKey.getLength(). 2002-10-04 20:58:05 +00:00
nicolson%netscape.com 65af04c0b9 Fix error message when we find something unexpected in a SEQUENCE. 2002-09-27 00:07:11 +00:00
nicolson%netscape.com 72d7f9c27c override INTEGER.getTemplate() with one that returns an ENUMERATED.Template. 2002-09-26 23:25:21 +00:00
glen.beasley%sun.com f24613dd00 163762 configureOCSPNative 2002-09-26 19:52:06 +00:00
nicolson%netscape.com 17483a5da8 Fix 160024: remove class JSSJCEProvider. 2002-09-19 01:22:52 +00:00
nicolson%netscape.com d6b5ddebcd make SPKI.getEncoded() actually return itself, DER-encoded. This way it
correctly implements X509EncodedKeySpec.
2002-09-19 01:16:41 +00:00
nicolson%netscape.com 9691a59be5 more descriptive error message. 2002-09-19 01:15:36 +00:00
nicolson%netscape.com 4a6c72448b Fix 150720: Support KeyFactory.generatePrivate(DSAPrivateKeySpec). 2002-09-19 01:14:08 +00:00
nicolson%netscape.com b3fdb4c8db Fix 157513: SignerInfo.java does not verify what it have signed. 2002-09-16 19:42:13 +00:00
sonja.mirtitsch%sun.com d7ae78b606 if USE_64 is set use option -d64 to java
write to stderr like the programs do so output is in order and logfiles
	are clean
fixed path so script works on NT
tarted to put in markers strings so a status report script will be
	able to find the things
clean fix for the NATIVE_FLAG problem
more output for the ENVIRONMENT section
2002-09-13 00:24:34 +00:00
nicolson%netscape.com 7c36a5ea49 Fix 160020: KeyFactory.translateKey uses bad format names. 2002-09-09 23:21:45 +00:00
nicolson%netscape.com 24ac9ef616 Initialize variable to null. Indicated by bug 160076: Crashes when the
PasswordCallback returns an invalid password.
2002-09-09 21:24:48 +00:00
nicolson%netscape.com 13520fed74 deal with new exceptions. 2002-09-06 16:23:48 +00:00
nicolson%netscape.com 5d2a8fb52b fix 166711: SSLSocket.setCipherPreference does the wrong thing. 2002-09-05 01:33:40 +00:00
nicolson%netscape.com ab02daa4a8 Fix 166711: SSLSocket.setCipherPreference does the wrong thing. 2002-09-05 01:17:00 +00:00
nicolson%netscape.com b3a2ea855b "assert" is now a keyword, so remove this method. 2002-09-05 01:06:26 +00:00
nicolson%netscape.com 5f68a9a11b Take out the NSS_USE_STATIC_LIBS flag. I have no idea why we needed it before. 2002-08-29 18:07:42 +00:00
nicolson%netscape.com d784f5eac1 Fix 143163: Add public constructors for some CRMF classes. 2002-08-28 18:20:24 +00:00