Commit Graph

1735 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
36a3388bb5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:26 +00:00
Love Hörnquist Åstrand
55b6937629 (parse_certificate): avoid stomping before array
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:49:08 +00:00
Love Hörnquist Åstrand
6fd2be56ae (oidtostring): avoid leaking memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 15:48:24 +00:00
Love Hörnquist Åstrand
34e449f026 Add _hx509_ks_dir_register.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:20:11 +00:00
Love Hörnquist Åstrand
b5676f89dc (libhx509_la_SOURCES): += ks_dir.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:19:38 +00:00
Love Hörnquist Åstrand
2dce0f8401 Remove pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:53 +00:00
Love Hörnquist Åstrand
9d3f7175b2 Remove pcert_pkcs11.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:18:34 +00:00
Love Hörnquist Åstrand
13b7a732d1 Factor out certificate parsing code.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:01:29 +00:00
Love Hörnquist Åstrand
1159d1e392 Add new keystore that treats all files in a directory a keystore,
useful for regression tests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-02 13:00:41 +00:00
Love Hörnquist Åstrand
7750a7a56a Add test_nist and test_nist_pkcs12
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:46:49 +00:00
Love Hörnquist Åstrand
40fdb06355 Test parse PKCS12 files from NIST.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 15:30:40 +00:00
Love Hörnquist Åstrand
4523de21b0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16386 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:51:23 +00:00
Love Hörnquist Åstrand
ade9fa8270 Can handle DSA certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:45:39 +00:00
Love Hörnquist Åstrand
84ec5f8b73 Print error code on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:44:29 +00:00
Love Hörnquist Åstrand
c71a749176 Support DSA signature operations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:59:21 +00:00
Love Hörnquist Åstrand
cfcfa2ad3f Add some more tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:24:07 +00:00
Love Hörnquist Åstrand
6f657ec556 allow breaking early, print a dot for each certificate that is processed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:16:23 +00:00
Love Hörnquist Åstrand
7f3c73aaec Add all nist certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:08:41 +00:00
Love Hörnquist Åstrand
ac8e06b969 Print that it started, it takes a while...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-28 14:08:13 +00:00
Love Hörnquist Åstrand
c62dae6184 control data to drive the NIST tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 19:09:26 +00:00
Love Hörnquist Åstrand
f1a89fb37f Use NIST test certificates to test the x509 stack.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-27 19:04:33 +00:00
Love Hörnquist Åstrand
ce87d34e7c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-04 09:02:34 +00:00
Love Hörnquist Åstrand
1e22f60639 Validate that issuerAltName and subjectAltName isn't empty.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-04 08:59:54 +00:00
Love Hörnquist Åstrand
c30c8e2e42 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:55:20 +00:00
Love Hörnquist Åstrand
ae8b9cd3fb Cast to unsigned char to avoid warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16070 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:54:27 +00:00
Love Hörnquist Åstrand
f47adcff7d Register pkcs11 module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:53:53 +00:00
Love Hörnquist Åstrand
63f313dff8 Add ks_p11.c, install hxtool.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16068 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:52:08 +00:00
Love Hörnquist Åstrand
546c8bd55b Starting point for a pkcs11 module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16067 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-14 15:51:29 +00:00
Love Hörnquist Åstrand
f1778e69af Implement prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:59 +00:00
Love Hörnquist Åstrand
758311a77f add --content to print
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:25:26 +00:00
Love Hörnquist Åstrand
9974253444 Split verify and print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:24:55 +00:00
Love Hörnquist Åstrand
50f29f80b1 _hx509_pbe_decrypt now takes a hx509_lock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16028 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:16:46 +00:00
Love Hörnquist Åstrand
1479736a8f Make _hx509_pbe_decrypt take a hx509_lock, workaround for empty password.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:15:49 +00:00
Love Hörnquist Åstrand
dbb9803d46 Add DC, handle all Directory strings, fix signless problems.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:11:35 +00:00
Love Hörnquist Åstrand
60f96cc909 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:07:41 +00:00
Love Hörnquist Åstrand
99720c49c7 Pass in --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:06:42 +00:00
Love Hörnquist Åstrand
bd113d976f Use option --pass.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:05:22 +00:00
Love Hörnquist Åstrand
7a4c53a008 Add --pass to all commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:44 +00:00
Love Hörnquist Åstrand
f3a5546ac9 Pass in password, add more tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 21:04:21 +00:00
Love Hörnquist Åstrand
0ee0cae9ed Add hx509_lock_command_string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16020 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:59 +00:00
Love Hörnquist Åstrand
dc33020444 add UNKNOWN_LOCK_COMMAND and CRYPTO_NO_PROMPTER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:49:32 +00:00
Love Hörnquist Åstrand
badd92116b pass in password to cms-create-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16018 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 20:47:52 +00:00
Love Hörnquist Åstrand
eec128ce73 Abstract out PBE_string2key so I can add PBE2 s2k later.
Avoid signess warnings with OpenSSL.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:59:11 +00:00
Love Hörnquist Åstrand
6f3bfd6a20 Use void * instead of char * for to avoid signedness issues
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16016 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:57:38 +00:00
Love Hörnquist Åstrand
e61738ea81 (hx509_cert_get_attribute): remove const, its not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16015 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:56:14 +00:00
Love Hörnquist Åstrand
e40eecfbf1 Cast size_t to unsigned long when print.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16014 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:54:26 +00:00
Love Hörnquist Åstrand
9a3ddecf98 Fix signedness warning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16013 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:51:29 +00:00
Love Hörnquist Åstrand
ffeb35878f Use echo, the function check isn't defined here.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:50:59 +00:00
Love Hörnquist Åstrand
d1f924e1ac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:10:04 +00:00
Love Hörnquist Åstrand
432fc6a9b3 Add more options that was missing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-11 14:09:38 +00:00