142 Commits

Author SHA1 Message Date
biswatosh.chakraborty%sun.com
d724347902 Bug 288730- compiler warnings in certutil, r=Julien
git-svn-id: svn://10.0.0.236/trunk@239820 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 05:03:53 +00:00
neil.williams%sun.com
78f4df229e Bug 396484, certutil doesn't truncate existing temporary files
r=Nelson (trunk)


git-svn-id: svn://10.0.0.236/trunk@236342 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-20 01:53:41 +00:00
neil.williams%sun.com
00d5e71e85 Bug 324744, add generation of policy extensions to certutil
r=Nelson


git-svn-id: svn://10.0.0.236/trunk@236184 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-18 02:18:07 +00:00
nelson%bolyard.com
63bb19098c Fix AIX build bustage from previous checkin for bug 324744.
Can't have trailing commas in enums on AIX.


git-svn-id: svn://10.0.0.236/trunk@235427 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-09 17:34:23 +00:00
nelson%bolyard.com
41b62b2a48 Fix Windows build bustage from previous checkin for bug 324744.
Also, Shorten a large number of too-long lines.


git-svn-id: svn://10.0.0.236/trunk@235426 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-09 17:01:10 +00:00
neil.williams%sun.com
86f9986075 Bug 324744, add policy extension to certutil
r=julien


git-svn-id: svn://10.0.0.236/trunk@235383 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 20:34:51 +00:00
neil.williams%sun.com
d23a220b27 Bug 324744, add gen of policy extns to certutil, second of 3 patches
r=julien


git-svn-id: svn://10.0.0.236/trunk@235372 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-07 18:45:53 +00:00
neil.williams%sun.com
55267bad96 Bug 390973, Add long option names to SECU_ParseCommandLine
r=nelson


git-svn-id: svn://10.0.0.236/trunk@233442 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-30 22:40:23 +00:00
rrelyea%redhat.com
46ef14e3b7 Don't crash on failure of signcert
git-svn-id: svn://10.0.0.236/trunk@232886 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-22 21:36:44 +00:00
rrelyea%redhat.com
557cb6151c Bug 391291 Implement Shared Database Integrity checks.
r=nelson (plus review from kengert)


git-svn-id: svn://10.0.0.236/trunk@231760 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-09 22:36:20 +00:00
nelson%bolyard.com
28a6417ec6 Bug 341371. Make new -g Name option work for non-RSA keys, too. r=alexei
git-svn-id: svn://10.0.0.236/trunk@231618 18797224-902f-48f8-a5cc-f745e15eee43
2007-08-08 00:34:02 +00:00
nelson%bolyard.com
7b65ce0781 Cleanup certutil's keybaord entropy collector. Bug 387621, r=julien.pierre
If this patch is found to be unsatisfactory, we can revert to the other
patch attached to bug 387621.


git-svn-id: svn://10.0.0.236/trunk@230733 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-24 04:44:52 +00:00
biswatosh.chakraborty%sun.com
9d9bddd2af Committing in HEAD BRANCH. Patch for Bug 233932. Reviewed by Neil Williams
Issue: certutil was crashing with some options when given a non existent token
with -h option.


git-svn-id: svn://10.0.0.236/trunk@230110 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-17 13:37:45 +00:00
julien.pierre.bugs%sun.com
e788d02661 Fix for bug 228190 . Remove unnecessary NSS_ENABLE_ECC declarations . r=nelson
git-svn-id: svn://10.0.0.236/trunk@229789 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 04:39:19 +00:00
julien.pierre.bugs%sun.com
d329696c7f Fix for bug 123996 . Document certutil -C -a . r=nelson
git-svn-id: svn://10.0.0.236/trunk@229407 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-06 03:19:22 +00:00
neil.williams%sun.com
c9b3d28d42 Bug 385642, Add usage for object signing to certutil's -V option
r=nelson, developer=Kaspar Brand,mozbugzilla@velox.ch


git-svn-id: svn://10.0.0.236/trunk@228804 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-27 01:50:16 +00:00
neil.williams%sun.com
72294aae93 Bug 341371, add a way to make CSR with an existing key
r=nelson


git-svn-id: svn://10.0.0.236/trunk@228139 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-15 21:28:05 +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
alexei.volkov.bugs%sun.com
c26c6aea64 part of the fix for 324740. This patch splits certutil by moving code related to extension generation into separate file (certext.c)
git-svn-id: svn://10.0.0.236/trunk@226815 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 21:52:04 +00:00
nelson%bolyard.com
faf5e91640 Bug 377548 – NSS QA test program certutil's default DSA prime is only 512 bits.
r=rrelyea


git-svn-id: svn://10.0.0.236/trunk@226225 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 01:07:29 +00:00
julien.pierre.bugs%sun.com
a368a1c6f7 Fix for bug 378104 - certutil crashes creating certs with very long validity. r=alexei.volkov
git-svn-id: svn://10.0.0.236/trunk@224963 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 21:01:35 +00:00
neil.williams%sun.com
8bd2ddb975 Bug 337519, Certutil/blapitest usage mentions unimplemented curves,r=nelson
git-svn-id: svn://10.0.0.236/trunk@218831 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 01:30:00 +00:00
alexei.volkov.bugs%sun.com
85f93c516b 343231: certutil issues certs for invalid requests. r=nelson
git-svn-id: svn://10.0.0.236/trunk@216200 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-01 01:10:03 +00:00
nelson%bolyard.com
4a93e5afa8 Fix broken build.
git-svn-id: svn://10.0.0.236/trunk@199618 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 18:12:50 +00:00
julien.pierre.bugs%sun.com
5dd322ef79 Fix for bug 340909 . Add batch command to usage. r=nelson
git-svn-id: svn://10.0.0.236/trunk@199561 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 01:24:23 +00:00
julien.pierre.bugs%sun.com
c3d7a51aec Fix for bug 340040 - add certutil option to verify an OCSP responder cert. r=nelson
git-svn-id: svn://10.0.0.236/trunk@199080 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-06 01:08:59 +00:00
julien.pierre.bugs%sun.com
1a94b08b86 Fix for bug 335036. certutil tries to shutdown NSS even if it didn't initialize . r=wtchang, nelson
git-svn-id: svn://10.0.0.236/trunk@196631 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-16 02:17:26 +00:00
wtchang%redhat.com
377e2c4373 Bugzilla bug 334683: removed extraneous semicolons. r=alexei.volkov.
Modified files: cmd/certutil/certutil.c lib/pki/pkistore.h


git-svn-id: svn://10.0.0.236/trunk@194687 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 19:04:23 +00:00
nelson%bolyard.com
4b89440f12 Don't add 3 to the user-supplied number of validity months. Bug 333679.
r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@194443 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 01:00:11 +00:00
julien.pierre.bugs%sun.com
dec84162f8 Fix for 333657 . Increase maximum RSA key size to 8192 bits in freebl. r=nelson
git-svn-id: svn://10.0.0.236/trunk@194210 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-12 05:39:01 +00:00
wtchang%redhat.com
5ee099ec32 Bugzilla Bug 328228: fixed the typo "secp169k1". The patch is contributed
by jyri <jyri.virkki@sun.com>. r=wtc,vipul.gupta.
Modified files: bltest/blapitest.c certutil/certutil.c


git-svn-id: svn://10.0.0.236/trunk@190895 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 22:15:57 +00:00
alexei.volkov.bugs%sun.com
316c78b15d 53229: certutil should not use gets();
julien rv+; wan-teh sr+


git-svn-id: svn://10.0.0.236/trunk@185002 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 01:46:59 +00:00
julien.pierre.bugs%sun.com
2d586238a6 Fix for 166727 . certutil should not call CERT_GetDBContentVersion. r=nelson
git-svn-id: svn://10.0.0.236/trunk@184428 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 21:18:26 +00:00
julien.pierre.bugs%sun.com
cd9e48019f Remove dead files. r=wtchang
git-svn-id: svn://10.0.0.236/trunk@184121 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 00:48:41 +00:00
julien.pierre.bugs%sun.com
252f4e19f5 Fix for bug 292390 . Prevent crash in certutil with -P option and dbprefix omitted.
git-svn-id: svn://10.0.0.236/trunk@172886 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-29 21:58:49 +00:00
nelsonb%netscape.com
d8464f4c39 Prevent crash in certutil -C when incoming request has no attributes.
Bug 291542. r=julien.pierre


git-svn-id: svn://10.0.0.236/trunk@172640 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-23 02:12:00 +00:00
alexei.volkov.bugs%sun.com
775e2d0de9 Fix for bug 265003: Add CRL generation to crlutil. Reviewed JP+
git-svn-id: svn://10.0.0.236/trunk@172015 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-12 02:24:17 +00:00
neil.williams%sun.com
8422202248 Bug 286505 Now reports an error on EOF in standard input. Leaving resolution
unchanged until we find out why the failure is different on SPARC than on x86.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170915 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-19 03:36:55 +00:00
neil.williams%sun.com
e36019c5db Bug 285208 Fixes ext processing bug introduced by previous patch.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170816 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-17 01:43:47 +00:00
neil.williams%sun.com
433054e19a Bug 285208: certutil when given arguments for both -7 and -8 would create two
subjAltName extensions. Now a list single extension with both name types in
created.
r=nelson


git-svn-id: svn://10.0.0.236/trunk@170647 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-14 18:55:46 +00:00
neil.williams%sun.com
8395d7fafb r=nelson Bug=263779
git-svn-id: svn://10.0.0.236/trunk@170477 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-09 23:02:48 +00:00
wtchang%redhat.com
1365bb6f66 Bugzilla Bug 282527: fixed a bug that prevented certutil from generating
a cert with multiple DNS names in the subjectAltName extension.  The patch
is contributed by Neil Williams of Sun. r=wtc.


git-svn-id: svn://10.0.0.236/trunk@169700 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-23 23:44:09 +00:00
nelsonb%netscape.com
24d3f5738b Fix certutil's ability to read PQG files. Make certutil able to read
the files produced by the command "makepqg -a".  Plug some memory leaks.
r=relyea,vipul  Bug 247739


git-svn-id: svn://10.0.0.236/trunk@158387 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 22:23:00 +00:00
ian.mcgreer%sun.com
f7fd7e85b4 bug 180268, reimplement ssl step-up for builtins
git-svn-id: svn://10.0.0.236/trunk@156475 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 20:08:38 +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
nelsonb%netscape.com
f887f9cc12 Import base64 encoded certificate files with old MAC line endings.
Bug 221272. sr=wtc.


git-svn-id: svn://10.0.0.236/trunk@152828 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-16 23:52:46 +00:00
wchang0222%aol.com
0882fac1ee Bugzilla bug 233112: fixed a typo: "futuer" -> "future". Thanks to
Heikki Toivonen <hjtoi-bugzilla@comcast.net> for the bug report.


git-svn-id: svn://10.0.0.236/trunk@152357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-05 05:56:54 +00:00
nelsonb%netscape.com
6a696f9188 Invoke SECU_RegisterDynamicOids() so that more OIDs will print out.
Bug 132942.  a=wtc.


git-svn-id: svn://10.0.0.236/trunk@152051 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:48:58 +00:00
jpierre%netscape.com
12f7d5ece4 Fix crash in certutil if usage is omitted
git-svn-id: svn://10.0.0.236/trunk@149132 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-11 00:01:32 +00:00
ian.mcgreer%sun.com
decc84df49 ECC code landing.
Contributed by Sheuling Chang, Stephen Fung, Vipul Gupta, Nils Gura,
and Douglas Stebila of Sun Labs


git-svn-id: svn://10.0.0.236/trunk@148060 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-17 13:45:42 +00:00