Commit Graph

1552 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand db921e48f1 add DER NULL to the digest oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:07:15 +00:00
Love Hörnquist Åstrand aae0d9d220 add --content-info to cms-verify-sd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:06:21 +00:00
Love Hörnquist Åstrand 2524a63c87 (hx509_cms_create_signed_1): pass in a full AlgorithmIdentifier
instead of heim_oid for digest_alg


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:02:13 +00:00
Love Hörnquist Åstrand 4fa74ad527 make digest_alg a digest_oid, it's not needed right now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:31:44 +00:00
Love Hörnquist Åstrand a7c5af0827 add CERT_NOT_FOUND
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:30:12 +00:00
Love Hörnquist Åstrand 3f7e96f387 (_hx509_certs_find): add error code for keyset not found
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:49 +00:00
Love Hörnquist Åstrand a2cf1e1758 (hx509_cms_verify_signed): add external store of certificates, use the
right digest algorithm identifier.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:29:01 +00:00
Love Hörnquist Åstrand 8e29b2d8f8 fix const warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:21:50 +00:00
Love Hörnquist Åstrand cbf73d7f8f slightly less verboese
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:20:47 +00:00
Love Hörnquist Åstrand f1fdd9b275 add hx509_cert_find_subjectAltName_otherName
add HX509_QUERY_MATCH_FRIENDLY_NAME


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:41 +00:00
Love Hörnquist Åstrand fdbb09ce51 add hx509_octet_string_list, remove bad comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:19:03 +00:00
Love Hörnquist Åstrand 765e4bf4ad add HX509_QUERY_MATCH_FRIENDLY_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:34 +00:00
Love Hörnquist Åstrand 15822411b5 (hx509_certs_append): needs a hx509_lock, add one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 19:07:07 +00:00