Love Hörnquist Åstrand
6a76da5c65
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:54 +00:00
Love Hörnquist Åstrand
dbdabdf1f9
sprinkel more const
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:31:35 +00:00
Love Hörnquist Åstrand
e62baa6844
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:47 +00:00
Love Hörnquist Åstrand
c1dfa1a518
Make return value of gai_strerror const to match SUSv3.
...
Prompted by Stefan Metzmacher change to Samba.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-05 09:06:29 +00:00
Love Hörnquist Åstrand
29991a7841
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-03 07:30:59 +00:00
Love Hörnquist Åstrand
d39d44a88c
Add <sys/types.h>, OpenSSL 0.9.8 needs it for size_t.
...
From: Quanah Gibson-Mount <quanah@stanford.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-03 07:30:41 +00:00
Love Hörnquist Åstrand
732c640c3a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:18:48 +00:00
Love Hörnquist Åstrand
cb993f6688
(kdc_LDADD): add LDADD
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-29 07:11:10 +00:00
Love Hörnquist Åstrand
c6f1d06058
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 20:29:55 +00:00
Love Hörnquist Åstrand
299df4981f
(_kdc_as_rep): log what enctypes was using in ENC-TS preauth, both for
...
failure and success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 20:29:39 +00:00
Love Hörnquist Åstrand
80e3a7bc53
Use the _krb5_krb_life_to_time function from libkrb5 instead of
...
including our own here too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:13:53 +00:00
Love Hörnquist Åstrand
7e5e3fbc97
indent printf strings
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:11:11 +00:00
Love Hörnquist Åstrand
f3862df669
(hdb_unseal_key_mkey): try to unseal key with keyusage 0 in case the
...
key was encrypted with MIT Kerberos (old patch from Johan)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-28 14:06:16 +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
8bcdc3c323
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:38:54 +00:00
Love Hörnquist Åstrand
98f5ce58f0
add id-rsadsi-rc2-cbc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:38:39 +00:00
Love Hörnquist Åstrand
01b6a65862
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:37:45 +00:00
Love Hörnquist Åstrand
516409901f
add another oid for rc2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:37:30 +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