nelson%bolyard.com
57cce7ecb3
Bug 464406: Fix signtool regressions, make signtool work again
...
part 1 - Fix signtool -l and -L commands, r=Alexei
git-svn-id: svn://10.0.0.236/trunk@255141 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-20 03:49:06 +00:00
wtc%google.com
dd4990d839
Bug 454961: pr_fgets should return NULL if it reaches EOF before reading
...
any data. This matches the behavior of fgets. Removed an accidental use
of the comma operator in util.c and a test that's no longer necessary with
the change to pr_fgets. r=alexei.volkov.
Modified Files:
signtool.c util.c
git-svn-id: svn://10.0.0.236/trunk@254288 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-18 00:30:07 +00:00
julien.pierre.boogz%sun.com
b073a231dd
Fix for bug 423839 . Add multiple PKCS#11 token password command-line option to NSS tools. r=nelson
...
git-svn-id: svn://10.0.0.236/trunk@253478 18797224-902f-48f8-a5cc-f745e15eee43
2008-08-08 23:48:12 +00:00
nelson%bolyard.com
e8840674d1
Bug 438876: signtool is still using static libraries, patch part 2.
...
r=rrelyea
Modified Files:
certgen.c manifest.mn
git-svn-id: svn://10.0.0.236/trunk@252708 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-30 21:26:58 +00:00
nelson%bolyard.com
f0cd45b777
Restore USE_STATIC_LIBS = 1 to manifest.mn to get signtool building on
...
Windows again. This is a partial backout of the previous checkin for
manifest.mn. Also, don't include unnecessary private header files.
Related to bug 438876. Sheriff Nelson
git-svn-id: svn://10.0.0.236/trunk@252703 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-30 20:33:40 +00:00
rrelyea%redhat.com
4823b480ce
Bug 438876
...
signtool is still using static libraries
r=wtc
also addresses review comments 2 and 3.
git-svn-id: svn://10.0.0.236/trunk@252655 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-27 21:01:48 +00:00
biswatosh.chakraborty%sun.com
755e627d40
Bug 301259 â signtool Usage message is unhelpful, r=julien,nelson
...
git-svn-id: svn://10.0.0.236/trunk@238322 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-30 06:21:05 +00:00
nelson%bolyard.com
96ac1dae2b
Bug 390185. Remove erroneous reference to "Database" from error message.
...
r=neil.williams
git-svn-id: svn://10.0.0.236/trunk@231257 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-02 05:51:13 +00:00
rrelyea%redhat.com
8563dfd635
bug 217538: shared database support... changes to cmd.
...
cmd changes are as follows:
1) fix a bug in blapitest.c
2) enable certutil to change the password on a database on the command line.
3) remove the explicit tests for cert and key databases in modutil and signtool.
git-svn-id: svn://10.0.0.236/trunk@227929 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 23:24:19 +00:00
biswatosh.chakraborty%sun.com
acbb6ee559
For Bug Id 162748.
...
git-svn-id: svn://10.0.0.236/trunk@224220 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-05 15:09:25 +00:00
rrelyea%redhat.com
0a3bb0e619
Bug 320583 Support for SHA256/384/512 with ECC signing
...
git-svn-id: svn://10.0.0.236/trunk@189396 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-08 06:14:31 +00:00
wtchang%redhat.com
d5fb72b2db
Bugzilla Bug 298612: make sure that the int argument that we pass to the
...
isspace, etc. macros is EOF or between 0 and 255. r=nelsonb.
git-svn-id: svn://10.0.0.236/trunk@177786 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 22:06:47 +00:00
julien.pierre.bugs%sun.com
537476c2f2
Remove dead and very bogus pre-softoken code
...
git-svn-id: svn://10.0.0.236/trunk@171501 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-02 06:33:25 +00:00
julien.pierre.bugs%sun.com
8a56cde8ef
Include secmodi.h for SECMOD_NewListLock
...
git-svn-id: svn://10.0.0.236/trunk@163346 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 04:08:16 +00:00
julien.pierre.bugs%sun.com
c35c22f7da
Remove unused variable
...
git-svn-id: svn://10.0.0.236/trunk@163345 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-07 04:04:25 +00:00
nelsonb%netscape.com
4791ee737c
Use the "c beautifier" (cb) to give this code a common K&R style with
...
an indentation of 4. Also rewrap a few strangely wrapped lines.
Bug 249330.
git-svn-id: svn://10.0.0.236/trunk@159304 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-16 00:04:47 +00:00
nelsonb%netscape.com
324befa90f
Apply review feedback to signtool sources. Add test case to QA tests.
...
Bug 248751.
git-svn-id: svn://10.0.0.236/trunk@159298 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 22:21:57 +00:00
nelsonb%netscape.com
8115cc035e
Add -X option to produce signed XPI files for mozilla. Bug 248751.
...
Path contributed by jeff klawiter <jeff@j-maxx.net>. r=nelson
git-svn-id: svn://10.0.0.236/trunk@159222 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-15 00:01:50 +00:00
gerv%gerv.net
43cb9e1492
Bug 236613: change to MPL/LGPL/GPL tri-license.
...
git-svn-id: svn://10.0.0.236/trunk@155484 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 15:03:26 +00:00
jpierre%netscape.com
f9c5648c5d
Support GeneralizedTime in NSS tools. bug 210530. r=wtc
...
git-svn-id: svn://10.0.0.236/trunk@151617 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 01:15:01 +00:00
nelsonb%netscape.com
15b7b08f9e
Detect empty emailAddr strings in CERTCertificates. Bugzilla bug 211540.
...
Modified Files:
cmd/dbck/dbck.c cmd/signtool/util.c lib/certdb/certdb.c
lib/certdb/stanpcertdb.c lib/pkcs7/p7decode.c lib/pki/certificate.c
lib/pki/pki3hack.c lib/smime/cmssiginfo.c lib/softoken/pkcs11u.c
git-svn-id: svn://10.0.0.236/trunk@149330 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-15 00:10:01 +00:00
wtc%netscape.com
c497dd6d2d
Include nss.h for the declaration of NSS_Shutdown. Use "" around prmem.h
...
and prio.h.
git-svn-id: svn://10.0.0.236/trunk@142883 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-24 05:23:42 +00:00
wtc%netscape.com
1871b254e6
Bug 58221: don't use strlen to check if a string is of length 0.
...
git-svn-id: svn://10.0.0.236/trunk@139752 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 06:30:12 +00:00
wtc%netscape.com
6d47044c42
Bug 197890: Eliminated the artificial dependency of all NSS cmd tools on
...
zlib. Only some of them (modutil and signtool) need zlib and we now define
that dependency explicitly. In shlibsign/sign.sh, escape the drive letter
if the pathname contains it and we are using Cygwin so that the pathname
does not contain any colon, which is the PATH separator in Cygwin. r=relyea
Modified Files: platlibs.mk modutil/manifest.mn shlibsign/sign.sh
signtool/manifest.mn
git-svn-id: svn://10.0.0.236/trunk@139615 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 21:48:18 +00:00
ian.mcgreer%sun.com
b74702329e
bug 177556, signtool -l fails
...
r=wtc
git-svn-id: svn://10.0.0.236/trunk@138724 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 21:14:36 +00:00
wtc%netscape.com
916c634dce
Bug 191214: fixed the object leaks in signtool that prevented NSS_Shutdown
...
from succeeding and added the NSS_Shutdown call back. r=jpierre.
Modified Files: certgen.c sign.c signtool.c
git-svn-id: svn://10.0.0.236/trunk@137163 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 23:11:13 +00:00
wtc%netscape.com
fc82d526b5
Bug 191214: backed out the previous checkin until this bug (object leaks)
...
is fixed.
git-svn-id: svn://10.0.0.236/trunk@137106 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 01:50:31 +00:00
wtc%netscape.com
89a5f206f5
Bug 171263: signtool should call NSS_Shutdown before it exits.
...
git-svn-id: svn://10.0.0.236/trunk@137096 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 00:39:37 +00:00
wtc%netscape.com
23826d1288
Bug 145029: fixed compiler warnings (mostly "xxx might be used
...
uninitialized").
git-svn-id: svn://10.0.0.236/trunk@136476 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 02:49:11 +00:00
relyea%netscape.com
db6a20b385
!@#!$@! signtool thinks it knows how to verify if the certdb's are there and
...
OK or not. Of course it doesn't.
bob
git-svn-id: svn://10.0.0.236/trunk@132938 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-04 20:37:08 +00:00
wtc%netscape.com
ba3d26e6cf
Bug 166781: fixed the bug that 'r2' may be used uninitialized. r=nicolson.
...
git-svn-id: svn://10.0.0.236/trunk@130614 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 22:22:12 +00:00
nicolson%netscape.com
4b34ca8158
Fix 164126: makefile build error.
...
Change the NSS module name from "security" to "nss".
git-svn-id: svn://10.0.0.236/trunk@128961 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 16:38:56 +00:00
wtc%netscape.com
952d7bcc66
Removed README.TXT, which is just README with Windows line endings (CRLF).
...
git-svn-id: svn://10.0.0.236/trunk@124852 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 17:11:25 +00:00
kirk.erickson%sun.com
ed9469d29f
Fixed indentation caught by Wan-Teh (66606).
...
git-svn-id: svn://10.0.0.236/trunk@123097 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 22:41:45 +00:00
kirk.erickson%sun.com
74f18bf830
Resolves 66606. Added -O (enable OCSP checking).
...
git-svn-id: svn://10.0.0.236/trunk@123034 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 16:29:28 +00:00
wtc%netscape.com
7d92def93d
Bugzilla bug 135824: fixed slot reference leaks in signtool and removed
...
a faulty attempt to set user trust. r=relyea,mcgreer.
Modified files: certgen.c util.c
git-svn-id: svn://10.0.0.236/trunk@121383 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 17:08:20 +00:00
relyea%netscape.com
50406c66c5
Bug 133584: Fix reference leaks which prevent shutdown in NSS and in the tests.
...
Debug builds can verify correct operation by setting NSS_STRICT_SHUTDOWN, which
will cause an assert if shutdown is called but not all the modules are freed (which
means a slot, key, or cert reference has been leaked).
git-svn-id: svn://10.0.0.236/trunk@118866 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-12 19:05:21 +00:00
relyea%netscape.com
38313e37c4
Don't try verifying the db's in a multi-access database case
...
git-svn-id: svn://10.0.0.236/trunk@118170 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-05 00:10:39 +00:00
ian.mcgreer%sun.com
028a31b09c
bug 123296, infinite loop in signtool when incorrect password given at command line
...
git-svn-id: svn://10.0.0.236/trunk@117517 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 22:23:28 +00:00
wtc%netscape.com
f4a5b96f33
Bugzilla bug 114748: deleted unnecessary EXTRA_LIBS augmentation. The
...
zlib and jar libs are already added to EXTRA_LIBS by ../platlibs.mk.
git-svn-id: svn://10.0.0.236/trunk@114231 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:01:03 +00:00
wtc%netscape.com
d6278cf4d9
Bugzilla bug 111574: standard header files should be included with
...
#include <foo.h>, not #include "foo.h". Thanks to Roland Mainz
<Roland.Mainz@informatik.med.uni-giessen.de> for the patch. r=wtc.
Modified files: signtool.h jar.h
git-svn-id: svn://10.0.0.236/trunk@109645 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-04 18:36:58 +00:00
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
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
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
nicolson%netscape.com
d709f29528
Fix bug 90228: Signtool not picking up hidden (dot) files when performing
...
signing.
Don't skip files that start with "." and "#".
git-svn-id: svn://10.0.0.236/trunk@99665 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-20 21:31:33 +00:00
wtc%netscape.com
bf65953ded
Bugzilla bug 70758: additional changes for this bug. r=nicolson.
...
Modified files: list.c sign.c verify.c
git-svn-id: svn://10.0.0.236/trunk@98802 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 13:28:21 +00:00
nicolson%netscape.com
03e0d3a38c
ERRX is still -1.
...
git-svn-id: svn://10.0.0.236/trunk@97877 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 21:34:22 +00:00
nicolson%netscape.com
26e70e152c
Fix 70758: signtool fails on Windows 2000, returns still 0.
...
git-svn-id: svn://10.0.0.236/trunk@97876 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-25 21:33:56 +00:00
kirke%netscape.com
55dbf03443
Resolves bug 66244 - Many NSS command do not detect failure of NSS_Init* functions. Introduced SECU_PrintPRandOSError(progName); to print on failure. Each command is responsible for exiting with appropriate status to distinguish failure points.
...
git-svn-id: svn://10.0.0.236/trunk@85896 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-31 23:25:02 +00:00
nelsonb%netscape.com
68e54ecade
Add missing #include "nss.h"
...
git-svn-id: svn://10.0.0.236/trunk@84516 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-07 07:43:28 +00:00