Commit Graph

313 Commits

Author SHA1 Message Date
christophe.ravel.bugs%sun.com
a58024a52e Uprev JSS version to 4.1.1 Beta. 2005-08-24 23:39:12 +00:00
sandeep.konchady%sun.com
9c0e116e76 Bug Id: 304195
Added try/catch block around the method calls within toString().  Calls
such as getInetAddress(), getPort() etc does not check if the socket is
closed, and when applications use toString() on a closed socket, there
is an uncaught exception.
2005-08-16 23:44:45 +00:00
sandeep.konchady%sun.com
62ee9e4e59 As per Wan-Teh's suggestion, the comments are modified to look as shown below.
#/********************************************************************/
#/* The VERSION Strings should be updated in the following           */
#/* files everytime a new release of JSS is generated:               */
#/*                                                                  */
#/* org/mozilla/jss/CryptoManager.java                               */
#/* org/mozilla/jss/CryptoManager.c                                  */
#/* org/mozilla/jss/util/jssver.h                                    */
#/* lib/manifest.mn                                                  */
#/*                                                                  */
#/********************************************************************/
2005-08-12 18:39:14 +00:00
sandeep.konchady%sun.com
c3281b24a7 Older release of JSS had an issue with gradually slowing socket read time when
transfering large files (> 10MB).  In order to test this in current and future
release, there needs to be a test client that can read a file and transfer it to
a server (remote or local) via JSS socket.  The server should report the number
of bytes read and the time it took to read these bytes.  There should not no
degradation in read time if there is no leak of any sort.

This is not part of all.pl, but is a client/server that uses JSS to transfer
files securely.  The main purpose of this test would be to test the performance
of large file transfer using JSS.

NOTE: If bufferedStream.mark(Integer.MAX_VALUE); method is invoked then fill
method of BufferedInputStream class copies lot of data using System.arraycopy
(which in-turn use memcpy). This causes very high CPU usage.  This is one of
the reasons secure large file transfer can become slow over time.
2005-08-11 18:28:59 +00:00
sandeep.konchady%sun.com
4b431e7e5c Modified JSS/JSSE inter communication tests along with JSSPackageTest
and all.pl to use platform specific cert/keystore directory.
2005-06-23 05:59:36 +00:00
christophe.ravel.bugs%sun.com
ccba0763e9 297573 - Modify JSS tests such that they access certs from platform specific directories
r: Sandeep
Force Perl to do unbuffered output to avoid having Java and
Perl output out of sync.
2005-06-21 01:17:30 +00:00
christophe.ravel.bugs%sun.com
5265f6fc95 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Display the result of each test case and global pass rate.
2005-06-16 23:22:46 +00:00
christophe.ravel.bugs%sun.com
743c52ba12 297573 - Modify JSS tests such that they access certs from platform specific directories
r=Sandeep, sr=Glen
Make $testdir a specific directory for each run.
2005-06-15 18:39:37 +00:00
sandeep.konchady%sun.com
81a95c5db7 Added comment to all these files indicating that the version of NSS
mustbe updated every time NSS is updated.  This helps pick the right
version of NSS for JSS builds.
2005-05-19 22:56:30 +00:00
sandeep.konchady%sun.com
dd8d873edd Modified build_java.pl to create a MANIFEST.MF file with JSS product
version information.  This is then added to xpclass(_dbg).jar using
jar -tvf in place of zip -R.

Modified all.pl to execute a new test that checks for product package
version information in jss4.jar as well as compare this to the version
of library (libjss4.so or jss4.dll) being used.  This helps in consistency
check for jss jar and associated lib.

Added a new test JSSPackaeTest.java that reads MANIFEST.MF from jss jar
to fetch product version information.
2005-05-17 21:15:12 +00:00
sandeep.konchady%sun.com
6b0615c933 Fix for JSSE and JSS client timeout issue
Fixed a couple of issues.
[1] Reduced JSS and JSSE server timeout from 2 min to 35 sec
[2] Added try/catch to JSSE client to detect non Sun JCA
[3] Added socket and program timeout for JSS and JSSE clients so that they exit
gracefully
[4] Split TLS and SSLv3 in seperate mothods in JSSE_SSLclient.java
2005-04-25 21:28:12 +00:00
christophe.ravel.bugs%sun.com
df9ef8a155 Changing beta flag to RTM. 2005-04-19 22:53:46 +00:00
sandeep.konchady%sun.com
f6fb7c1979 In JSSE_SSLServer.java and JSS_SSLServer.java added a timeout
mechanism to shutdown the server after 2 min. Also added
socket timeouts in JSSE_SSLClient.java and JSS_SSLClient.java
2005-04-14 17:37:49 +00:00
glen.beasley%sun.com
a7873159bf 282732 read/write/accept/close thread protection 2005-04-05 20:41:46 +00:00
christophe.ravel.bugs%sun.com
3c6218acb3 283383 Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers
Java path and options are passed from all.pl to startJssServ.sh and
startJsseServ.sh.
2005-04-04 18:07:00 +00:00
christophe.ravel.bugs%sun.com
28d7bfd55e 283383: Create JSS and JSSE client/server test programs that intercommunicates to validate ciphers.
Fix issue with testing optimized version
Wrong jar file was taken for test with BUILD_OPT=1
2005-04-03 00:24:58 +00:00
sandeep.konchady%sun.com
1bb3982eb2 Adding 7 java files, 2 shell scripts and modified all.pl for
bug id : 283383.

Java files added are JSS and JSSE server and clients. The purpose
of which is to intercommunicate between JSS and JSSE to validate
supported ciphers between the two.  startJss*.sh are scripts for
starting JSS and JSSE servers. These tests are added to all.pl
to run as a part of overall JSS test suite.

Currently these tests do not report errors when a cipher that is
suppose to work between JSS and JSSE fails.  I will file another
feature enhancement request to address this.
2005-03-30 22:19:56 +00:00
saul.edwards%sun.com
6c4afa32b5 Bug 225635 : GenerateCertRequest leaks arena 2005-03-25 21:12:05 +00:00
gerv%gerv.net
f45b5900c8 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-02 22:28:27 +00:00
glen.beasley%sun.com
7791836733 Rename HCL to NSS 171027 2005-01-28 19:16:12 +00:00
christophe.ravel.bugs%sun.com
7115486487 JSS tip: Version = 4.1 beta 2004-12-07 23:46:40 +00:00
christophe.ravel.bugs%sun.com
a8a211f314 Move to version 4.0.1 Beta. 2004-12-01 01:19:58 +00:00
wchang0222%aol.com
0d2bd6bda7 Bugzilla bug 270686: in getStatusString(), we should test statusString for
null before invoking the toString() method on it.  The patch is contributed
by Christine Ho of AOL. r=wtc,glen.beasley.
2004-11-18 22:56:11 +00:00
wchang0222%aol.com
7d4312d780 Bugscape bug 57238: implemented CMCCertId, OtherMsg, and TaggedContentInfo
for CMC.  The patch is contributed by Christine Ho of AOL. r=wtc.
Added Files: CMCCertId.java OtherMsg.java TaggedContentInfo.java
2004-11-09 06:01:15 +00:00
glen.beasley%sun.com
613c73fc0a 220223 TokenException caused by left over cert8.db 2004-10-22 00:00:51 +00:00
wchang0222%aol.com
140228c846 Bugzilla bug 264257: added GetCert and LRA Pop witness controls to CMC.
The code is contributed by Christine Ho of AOL.  r=wtc.
Added Files: GetCert.java LraPopWitness.java
2004-10-13 23:35:39 +00:00
glen.beasley%sun.com
428ccbac52 181540 support SHA-256, SHA-384, SHA-512 2004-10-12 23:24:40 +00:00
saul.edwards%sun.com
f00c3e60ba 208193: Add enableTLS, enableTLSDefault APIs. 2004-10-01 16:42:24 +00:00
christophe.ravel.bugs%sun.com
32b4f5eaea NSS 3.9.3 / JSS 4.0 release candidate.
Change NSS Beta flag to false
Change JSS Beta flag to false

Code freeze.
2004-09-22 21:56:36 +00:00
glen.beasley%sun.com
8b09c31544 258666 JDK 1.5 made enum a keyword 2004-09-21 18:16:14 +00:00
saul.edwards%sun.com
d50f77aa5b 258699: Add finalize method to CipherContentProxy class. 2004-09-20 17:11:55 +00:00
glen.beasley%sun.com
ddff876c72 224566 JVM crashes due to socketAccept timeout 2004-09-09 22:53:31 +00:00
glen.beasley%sun.com
843eb0e40a 244865 MEM Leak in callbacks.c using SSL_RevealURL 2004-09-03 18:32:03 +00:00
glen.beasley%sun.com
f4dcb125f4 244881 Mem leak in SSLSocket getStatus 2004-09-03 17:15:12 +00:00
glen.beasley%sun.com
0e5da067d5 BugId 251635 jss4.jar needs to load libjss4 2004-08-25 18:05:04 +00:00
glen.beasley%sun.com
b3719b51cb 251635 upgrading to JSS to 4.0 2004-07-20 20:39:25 +00:00
gerv%gerv.net
3634d4d94b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 15:03:26 +00:00
wchang0222%aol.com
30ada30854 Set JSS version to 3.5.
Modified Files:
	org/mozilla/jss/CryptoManager.java
	org/mozilla/jss/util/jssver.h pkg/solaris/Makefile.com
2004-01-16 00:50:21 +00:00
wchang0222%aol.com
2543d8c8d1 Bugscape bug 54500: made uniqueNamedKeyExists public. 2004-01-08 18:09:15 +00:00
wchang0222%aol.com
95e1ce0279 Bugscape bug 54500: trim preceding/trailing whitespace from passed-in
String arguments.
2003-12-23 01:19:48 +00:00
wchang0222%aol.com
4b807fd2b8 Bugzilla bug 228907: added a stub implementation for the obsolete native
function Java_org_mozilla_jss_pkcs11_PK11Cert_getNickname, which is listed
in the symbol export file jss.def.
2003-12-20 15:56:11 +00:00
wchang0222%aol.com
c367aa403a Bugscape bug 54500: Improved the previous checkin: fixed leaks of the
return values of PK11_GetSymKeyNickname. Removed unnecessary assignment
statements "symKeyObj = NULL;".  Removed an unnecessary else { }.
2003-12-19 19:36:30 +00:00
wchang0222%aol.com
ec5678ff34 Bugscape bug 54500: added some new methods to the SecretDecoderRing
KeyManager class.  The patch is contributed by Matthew Harmsen of AOL.
Modified Files:
	lib/jss.def org/mozilla/jss/SecretDecoderRing/KeyManager.c
	org/mozilla/jss/SecretDecoderRing/KeyManager.java
2003-12-19 05:33:50 +00:00
wchang0222%aol.com
546a8a6e87 Set JSS version to 3.5 Beta.
Modified Files:
	org/mozilla/jss/CryptoManager.java
	org/mozilla/jss/util/jssver.h
2003-12-19 05:08:34 +00:00
wchang0222%aol.com
a08b14e07e Bugzilla bug 228907: enable PK11Store.getCertificates to return the correct
nicknames for certs with multiple instances.  This requires adding a new
nickname argument to the constructors of the various cert classes and
passing a nickname better than NSS's cert->nickname where possible.
r=thomask.
Modified Files:
	pkcs11/PK11Cert.c
	pkcs11/PK11Cert.java
	pkcs11/PK11InternalCert.java
	pkcs11/PK11InternalTokenCert.java
	pkcs11/PK11Store.c
	pkcs11/PK11TokenCert.java
	pkcs11/pk11util.h
	util/java_ids.h
2003-12-19 00:19:57 +00:00
wchang0222%aol.com
750ff55aa5 Bugzilla bug 225619: fixed memory leaks. 2003-11-14 01:42:51 +00:00
wchang0222%aol.com
31e5ec1ebe Bugzilla bug 225626: need to allocate PORTArenaPool rather than PLArenaPool
for the 'arena' member of CERTVerifyLog.  Fixed memory leaks on an error
path.
2003-11-14 01:41:15 +00:00
wchang0222%aol.com
b1b3012d66 Set JSS version to 3.4.2 Beta 2.
Modified Files: CryptoManager.java util/jssver.h
2003-11-14 01:37:04 +00:00
wchang0222%aol.com
c90a594d65 Upgraded to NSS_3_7_9_RTM (from NSS_3_7_8_RTM).
Modified Files: manifest.mn org/mozilla/jss/CryptoManager.java
2003-11-13 23:39:46 +00:00
nicolson%netscape.com
c3e4461e42 Fix 225615: memory leak in SSLSocket.socketConnect. 2003-11-13 23:10:13 +00:00