1146 Commits

Author SHA1 Message Date
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
rrelyea%redhat.com
3a14004d4e Fix windows and solaris build bustage.
git-svn-id: svn://10.0.0.236/trunk@230335 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 22:31:14 +00:00
rrelyea%redhat.com
db84946fa7 Changes for nss built with mozilla (use mozilla's sqlite).
git-svn-id: svn://10.0.0.236/trunk@230326 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-19 21:36:50 +00:00
neil.williams%sun.com
f4f094b47f Bug 325672, Create CanBypass function
r=Nelson


git-svn-id: svn://10.0.0.236/trunk@230235 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-18 21:38:55 +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
aa15649ec2 Remove unnecessary file. Fix for bug 325805 . r=rrelyea
git-svn-id: svn://10.0.0.236/trunk@229846 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 22:01:50 +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
nelson%bolyard.com
ded1a4393f Remove #include <unistd.h> for unix. bug 381375. r=julien.pierre
git-svn-id: svn://10.0.0.236/trunk@229772 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:43:03 +00:00
nelson%bolyard.com
4e004e6eb9 Make ocspclnt read and write binary files on stdin and stdout.
bug 381375. r=neil.williams,julien.pierre


git-svn-id: svn://10.0.0.236/trunk@229770 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-11 23:40:02 +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
65b45c6ad8 Bug 382292, Add support for Camellia cipher to symkeyutil
r=neil.williams


git-svn-id: svn://10.0.0.236/trunk@228282 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 01:18:41 +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
fa2a6a38e5 Don't include change to use shared util library.
git-svn-id: svn://10.0.0.236/trunk@227934 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 23:54:26 +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
110431be3e Bug 358785: Merge NSS_LIBPKIX_BRANCH back to trunk. r=julien, r=alexei
git-svn-id: svn://10.0.0.236/trunk@226998 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-25 07:28:38 +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
nelson%bolyard.com
7c6abf4ec3 Bug 213359 – enhance PK12util to extract certs from p12 file. r=Neil.williams
git-svn-id: svn://10.0.0.236/trunk@226170 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 03:14:58 +00:00
neil.williams%sun.com
d366d9b378 Bug 351767, pk12util -o <out> -W crashes if <out> is directory
r=nelson


git-svn-id: svn://10.0.0.236/trunk@225611 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 02:06:28 +00:00
nelson%bolyard.com
5d54f1ef06 Bug 371470 – vfychain needs option to verify for specific date, r=neil,julien
git-svn-id: svn://10.0.0.236/trunk@225508 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 04:18:19 +00:00
nelson%bolyard.com
61715b27da Bug 371470 – vfychain needs option to verify for specific date, r=julien,neil
git-svn-id: svn://10.0.0.236/trunk@225507 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 04:11:27 +00:00
nelson%bolyard.com
d7d73517fd Add missing TLS_RSA_WITH_NULL_SHA cipher suite. Bug 370957. r=slavo,julien
git-svn-id: svn://10.0.0.236/trunk@225056 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 00:22:16 +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
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
alexei.volkov.bugs%sun.com
552caf5dfc 366557 - Small memory leaks in selfserv. fix for selfserv crash. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221894 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-14 20:22:22 +00:00
alexei.volkov.bugs%sun.com
127dfd3f61 129218 - memory leaks in tstclnt. r=neil, sr=nelson
git-svn-id: svn://10.0.0.236/trunk@221824 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 15:40:58 +00:00
alexei.volkov.bugs%sun.com
08155c3d99 366557 - Small memory leaks in selfserv. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221783 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-12 17:29:59 +00:00
nelson%bolyard.com
9da1a3170b Bug 367037 - don't call usage from any thread but the primordial thread.
Instead, return from the thread so the primordial thread will clean up.
This fixes many leaks.  r=neil.williams,alexei.volkov
For any errors involving bad cipher letters, print a meaningful error.


git-svn-id: svn://10.0.0.236/trunk@221661 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 00:54:44 +00:00
alexei.volkov.bugs%sun.com
efdf2963dc 129218 - memory leaks in tstclnt. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221649 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 23:23:55 +00:00
alexei.volkov.bugs%sun.com
e026409e5b 129218 - memory leaks in tstclnt. r=neil
git-svn-id: svn://10.0.0.236/trunk@221341 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 21:01:25 +00:00
alexei.volkov.bugs%sun.com
bae64fdd44 129218 - memory leaks in tstclnt. Fix mem leak in strsclnt.c/main/PL_CreateOptState. r=wtc
git-svn-id: svn://10.0.0.236/trunk@221329 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-05 19:48:16 +00:00
alexei.volkov.bugs%sun.com
3362ecc93f 338986 - Unauthorized OCSP response error from user's default OCSP responder. r=nelson
git-svn-id: svn://10.0.0.236/trunk@221121 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 00:30:19 +00:00
rrelyea%redhat.com
5e97cf8097 Add Camilla cipher suites TLS RFC4132 bug 361025
code supplied by okazaki@kick.gr.jp


git-svn-id: svn://10.0.0.236/trunk@221086 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 19:47:40 +00:00
wtchang%redhat.com
99d0de7701 Bugzilla bug 358785: removed redundant declaration of PKIX_ERRORNAMES,
which is declared in pkix_tools.h (included by testutil_nss.h).


git-svn-id: svn://10.0.0.236/trunk@221053 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 02:28:02 +00:00
wtchang%redhat.com
f371c9b43d Bugzilla bug 358785: don't build the static library. We only use the
shared library, and on Windows the static library and import library have
the same file name (pkixutil.lib).


git-svn-id: svn://10.0.0.236/trunk@221044 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-28 01:30:27 +00:00
wtchang%redhat.com
c375e514a7 Bugzilla bug 358785: merged the libpkix test programs (in
mozilla/security/nss/cmd/libpkix) from the NSS_LIBPKIX_BRANCH onto the
trunk.  Most directories that contained only one test program were
consolidated as suggested by Nelson Bolyard.


git-svn-id: svn://10.0.0.236/trunk@220942 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-26 19:56:55 +00:00
kaie%kuix.de
86cc3c6be2 Bug 371024, Typos in NSS' error strings
r=rrelyea, r=nelson


git-svn-id: svn://10.0.0.236/trunk@220711 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-22 10:51:09 +00:00
alexei.volkov.bugs%sun.com
7628e096bb 363476(vfyserv needs OCSP option) and 363477(vfyserv needs option to save server certs to local files. sr=kengert, r=neil.williams
git-svn-id: svn://10.0.0.236/trunk@220096 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 00:39:34 +00:00
alexei.volkov.bugs%sun.com
434416d9ea Bug 348882 - addbuiltin command ignores "c" trust arg (and probably others). r=kengert, r=neil.williams
git-svn-id: svn://10.0.0.236/trunk@220095 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 00:35:53 +00:00
glen.beasley%sun.com
b39cfcbb42 367910 pk11mode -verbose mode r=Neil, sr=alexei
git-svn-id: svn://10.0.0.236/trunk@219552 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-06 04:43:41 +00:00
nelson%bolyard.com
c5bb81d728 Replace <LAYER> tags with <IFRAME>. Results looks right, but variables
from right frame are not succesfully fetched by left frame.  Bug 54685.


git-svn-id: svn://10.0.0.236/trunk@219332 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-01 18:55:53 +00:00
nelson%bolyard.com
a149fb286f Bug 193386. Add ability to seek to negative offset from EOF.
r=slavo.katuscak,glen.beasley


git-svn-id: svn://10.0.0.236/trunk@218989 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 19:38:05 +00:00
nelson%bolyard.com
8c79a6af0a Open output file in binary mode for writing binary PKCS7 message.
Bug 301496. Patch by Alexei.Volkov, r=nelson


git-svn-id: svn://10.0.0.236/trunk@218942 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 01:15:43 +00:00
glen.beasley%sun.com
e5ec8eff0d 367910 pk11mode added to build and fips.sh r=neil
git-svn-id: svn://10.0.0.236/trunk@218911 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 19:04:57 +00:00
alexei.volkov.bugs%sun.com
23216a4680 Bug 301496: NSS_Shutdown failure in p7sign. r=nelson
git-svn-id: svn://10.0.0.236/trunk@218874 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 00:52:26 +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
nelson%bolyard.com
6785167326 Convert from calling PR_GetIPNodeByName to calling PR_GetAddrInfoByName.
Bug 324305. Patch by wtchang.  r=nelson


git-svn-id: svn://10.0.0.236/trunk@218187 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-11 04:29:11 +00:00
nelson%bolyard.com
fbdab43d95 Bug 366390. correct misleading function names in fipstest. r=glen.beasley
git-svn-id: svn://10.0.0.236/trunk@218099 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 04:14:30 +00:00
alexei.volkov.bugs%sun.com
11990ac0ef 279085: NSS tools display public exponent as negative number. r=nelson
git-svn-id: svn://10.0.0.236/trunk@218039 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 00:56:28 +00:00