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
Love Hörnquist Åstrand
24112b1082
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 08:04:39 +00:00
Love Hörnquist Åstrand
97749b61d7
Use --certificate= for enveloped/unenvelope.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:41:03 +00:00
Love Hörnquist Åstrand
7b67cbffb6
Use --certificate= for enveloped/unenvelope.
...
Clean up.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 07:40:33 +00:00
Love Hörnquist Åstrand
72e891c830
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 00:01:26 +00:00
Love Hörnquist Åstrand
e7e008d515
add EnvelopeData tests
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:53:41 +00:00
Love Hörnquist Åstrand
1664de4c46
use id-envelopedData for ContentInfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:52:50 +00:00
Love Hörnquist Åstrand
b49ccf6f28
add contentinfo wrapping for create/unwrap enveloped data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:49:18 +00:00
Love Hörnquist Åstrand
696002ebd3
regen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:48:22 +00:00
Love Hörnquist Åstrand
bb5f88e0f6
add enveloped data (aes128)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:48:05 +00:00
Love Hörnquist Åstrand
3be00a5b2b
add "new" RC2 oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:45:31 +00:00
Love Hörnquist Åstrand
4cdb843b8c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:51:21 +00:00
Love Hörnquist Åstrand
430ca62d97
Add HX509_QUERY_MATCH_FUNCTION that allows caller to match by
...
function, note that this doesn't not work directly for backends that
implements ->query, they must do their own processing.
(I'm running out of flags, only 12 left now)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:45:25 +00:00
Love Hörnquist Åstrand
09977986dc
verify ContentInfo wrapping code in hxtool
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:42:32 +00:00
Love Hörnquist Åstrand
d5ceba204e
(cms_create_sd): support wrapping in content info
...
spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:35:40 +00:00
Love Hörnquist Åstrand
4044d83371
(cms_create_sd): support wrapping in content info
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:35:18 +00:00
Love Hörnquist Åstrand
73187c0202
test more cms signeddata messages
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:23:03 +00:00
Love Hörnquist Åstrand
46bbb370e4
generate SignedData
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:21:52 +00:00
Love Hörnquist Åstrand
a41a9123b4
CMS SignedData messages, wrapped inside ContentInfo
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15804 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:21:26 +00:00
Love Hörnquist Åstrand
9717fcdc7f
(cms_create_sd): support certificate store, add support to unwrap a
...
ContentInfo the SignedData inside.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:19:50 +00:00
Love Hörnquist Åstrand
e84e12d06e
sprinkel rk_UNCONST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:18:21 +00:00