e62baa6844
x
Love Hörnquist Åstrand
2005-08-05 09:06:47 +00:00
c1dfa1a518
Make return value of gai_strerror const to match SUSv3. Prompted by Stefan Metzmacher change to Samba.
Love Hörnquist Åstrand
2005-08-05 09:06:29 +00:00
29991a7841
x
Love Hörnquist Åstrand
2005-08-03 07:30:59 +00:00
d39d44a88c
Add <sys/types.h>, OpenSSL 0.9.8 needs it for size_t. From: Quanah Gibson-Mount <quanah@stanford.edu>
Love Hörnquist Åstrand
2005-08-03 07:30:41 +00:00
732c640c3a
x
Love Hörnquist Åstrand
2005-07-29 07:18:48 +00:00
cb993f6688
(kdc_LDADD): add LDADD
Love Hörnquist Åstrand
2005-07-29 07:11:10 +00:00
c6f1d06058
x
Love Hörnquist Åstrand
2005-07-28 20:29:55 +00:00
299df4981f
(_kdc_as_rep): log what enctypes was using in ENC-TS preauth, both for failure and success.
Love Hörnquist Åstrand
2005-07-28 20:29:39 +00:00
80e3a7bc53
Use the _krb5_krb_life_to_time function from libkrb5 instead of including our own here too.
Love Hörnquist Åstrand
2005-07-28 14:13:53 +00:00
7e5e3fbc97
indent printf strings
Love Hörnquist Åstrand
2005-07-28 14:11:11 +00:00
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)
Love Hörnquist Åstrand
2005-07-28 14:06:16 +00:00
24112b1082
x
Love Hörnquist Åstrand
2005-07-28 08:04:39 +00:00
97749b61d7
Use --certificate= for enveloped/unenvelope.
Love Hörnquist Åstrand
2005-07-28 07:41:03 +00:00
7b67cbffb6
Use --certificate= for enveloped/unenvelope. Clean up.
Love Hörnquist Åstrand
2005-07-28 07:40:33 +00:00
72e891c830
x
Love Hörnquist Åstrand
2005-07-28 00:01:26 +00:00
e7e008d515
add EnvelopeData tests
Love Hörnquist Åstrand
2005-07-27 23:53:41 +00:00
1664de4c46
use id-envelopedData for ContentInfo
Love Hörnquist Åstrand
2005-07-27 23:52:50 +00:00
b49ccf6f28
add contentinfo wrapping for create/unwrap enveloped data
Love Hörnquist Åstrand
2005-07-27 23:49:18 +00:00
696002ebd3
regen
Love Hörnquist Åstrand
2005-07-27 23:48:22 +00:00
bb5f88e0f6
add enveloped data (aes128)
Love Hörnquist Åstrand
2005-07-27 23:48:05 +00:00
3be00a5b2b
add "new" RC2 oid
Love Hörnquist Åstrand
2005-07-27 23:45:31 +00:00
8bcdc3c323
x
Love Hörnquist Åstrand
2005-07-27 23:38:54 +00:00
98f5ce58f0
add id-rsadsi-rc2-cbc
Love Hörnquist Åstrand
2005-07-27 23:38:39 +00:00
01b6a65862
x
Love Hörnquist Åstrand
2005-07-27 23:37:45 +00:00
516409901f
add another oid for rc2
Love Hörnquist Åstrand
2005-07-27 23:37:30 +00:00
4cdb843b8c
x
Love Hörnquist Åstrand
2005-07-27 21:51:21 +00:00
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)
Love Hörnquist Åstrand
2005-07-27 21:45:25 +00:00
09977986dc
verify ContentInfo wrapping code in hxtool
Love Hörnquist Åstrand
2005-07-27 21:42:32 +00:00
d5ceba204e
(cms_create_sd): support wrapping in content info spelling
Love Hörnquist Åstrand
2005-07-27 21:35:40 +00:00
4044d83371
(cms_create_sd): support wrapping in content info
Love Hörnquist Åstrand
2005-07-27 21:35:18 +00:00
73187c0202
test more cms signeddata messages
Love Hörnquist Åstrand
2005-07-27 21:23:03 +00:00
46bbb370e4
generate SignedData
Love Hörnquist Åstrand
2005-07-27 21:21:52 +00:00
9717fcdc7f
(cms_create_sd): support certificate store, add support to unwrap a ContentInfo the SignedData inside.
Love Hörnquist Åstrand
2005-07-27 21:19:50 +00:00
e84e12d06e
sprinkel rk_UNCONST
Love Hörnquist Åstrand
2005-07-27 21:18:21 +00:00
db921e48f1
add DER NULL to the digest oid's
Love Hörnquist Åstrand
2005-07-27 21:07:15 +00:00
aae0d9d220
add --content-info to cms-verify-sd
Love Hörnquist Åstrand
2005-07-27 21:06:21 +00:00
2524a63c87
(hx509_cms_create_signed_1): pass in a full AlgorithmIdentifier instead of heim_oid for digest_alg
Love Hörnquist Åstrand
2005-07-27 21:02:13 +00:00
4fa74ad527
make digest_alg a digest_oid, it's not needed right now
Love Hörnquist Åstrand
2005-07-27 20:31:44 +00:00
a7c5af0827
add CERT_NOT_FOUND
Love Hörnquist Åstrand
2005-07-27 20:30:12 +00:00
3f7e96f387
(_hx509_certs_find): add error code for keyset not found
Love Hörnquist Åstrand
2005-07-27 20:29:49 +00:00
a2cf1e1758
(hx509_cms_verify_signed): add external store of certificates, use the right digest algorithm identifier.
Love Hörnquist Åstrand
2005-07-27 20:29:01 +00:00
8e29b2d8f8
fix const warning
Love Hörnquist Åstrand
2005-07-27 19:21:50 +00:00
cbf73d7f8f
slightly less verboese
Love Hörnquist Åstrand
2005-07-27 19:20:47 +00:00
fdbb09ce51
add hx509_octet_string_list, remove bad comment
Love Hörnquist Åstrand
2005-07-27 19:19:03 +00:00
765e4bf4ad
add HX509_QUERY_MATCH_FRIENDLY_NAME
Love Hörnquist Åstrand
2005-07-27 19:07:34 +00:00
15822411b5
(hx509_certs_append): needs a hx509_lock, add one
Love Hörnquist Åstrand
2005-07-27 19:07:07 +00:00
9c1ee5d947
x
Love Hörnquist Åstrand
2005-07-27 19:05:00 +00:00
968da2e639
add test cases turds to CLEANFILES
Love Hörnquist Åstrand
2005-07-27 19:04:36 +00:00
f85f390567
add test_query to TESTS, fix dependency on hxtool sources on hxtool-commands.h
Love Hörnquist Åstrand
2005-07-27 19:02:48 +00:00
ad070bdb2f
explain what signer is for create-sd
Love Hörnquist Åstrand
2005-07-27 19:02:07 +00:00
ed0a230297
add query, add more options to verify-sd and create-sd
Love Hörnquist Åstrand
2005-07-27 19:01:44 +00:00
03717b6fd4
add more cms tests
Love Hörnquist Åstrand
2005-07-27 19:01:21 +00:00
6215763ddb
add query, add more options to verify-sd
Love Hörnquist Åstrand
2005-07-27 18:56:36 +00:00
8d5e771c77
test query interface
Love Hörnquist Åstrand
2005-07-27 18:55:44 +00:00
13e9a40274
fix filenames for ds/ke files, add pkcs12 files, regen
Love Hörnquist Åstrand
2005-07-27 18:55:01 +00:00
e757fa8562
add test for cms
Love Hörnquist Åstrand
2005-07-27 15:24:04 +00:00
1c9aeb2f70
test for cms
Love Hörnquist Åstrand
2005-07-27 15:23:46 +00:00
defa66507d
use (some of the) options for -create-sd
Love Hörnquist Åstrand
2005-07-27 15:23:36 +00:00
0eacf30968
add more options for create-sd
Love Hörnquist Åstrand
2005-07-27 15:23:12 +00:00
7d99983112
x
Love Hörnquist Åstrand
2005-07-27 15:00:52 +00:00
08e64c0d1b
(gen_wrapper): use the generated version of name for function, if no function is is used, also use the generated name for the structure name.
Love Hörnquist Åstrand
2005-07-27 15:00:40 +00:00
8c8ebcd9aa
x
Love Hörnquist Åstrand
2005-07-27 11:54:50 +00:00
56686ca406
Make variable initiation constant by moving them to global context
Love Hörnquist Åstrand
2005-07-27 11:54:36 +00:00
a1d804e568
change to c89 comment
Love Hörnquist Åstrand
2005-07-27 11:53:39 +00:00
04f1a146d5
x
Love Hörnquist Åstrand
2005-07-27 11:46:54 +00:00
b49dd2f6b0
switch to slc
Love Hörnquist Åstrand
2005-07-27 11:45:55 +00:00
d93bbaaf99
x
Love Hörnquist Åstrand
2005-07-27 06:48:43 +00:00
e83339d3f7
remove duplicate asn1_CMSAttributes.x
Love Hörnquist Åstrand
2005-07-27 06:48:19 +00:00
4368c9e814
x
Love Hörnquist Åstrand
2005-07-26 21:32:20 +00:00
62327ac49e
rename optind to optidx
Love Hörnquist Åstrand
2005-07-26 21:32:07 +00:00
268bcef1fe
x
Love Hörnquist Åstrand
2005-07-26 18:38:22 +00:00
9b6c2d438b
Update to pkinit-27
Love Hörnquist Åstrand
2005-07-26 18:38:08 +00:00
7e8fdbc14d
update to pkinit-27
Love Hörnquist Åstrand
2005-07-26 18:37:02 +00:00
7a6e3e0f04
x
Love Hörnquist Åstrand
2005-07-25 23:37:04 +00:00
533201dbb2
x
Love Hörnquist Åstrand
2005-07-25 23:36:22 +00:00
876760dd16
make it work for non c99 compilers too
Love Hörnquist Åstrand
2005-07-25 23:36:00 +00:00
153f392b66
start testing BIT STRING
Love Hörnquist Åstrand
2005-07-25 23:35:22 +00:00
4da84fff89
x
Love Hörnquist Åstrand
2005-07-25 23:13:34 +00:00
3acf98f2ca
(hx509_verify_destroy_ctx): add
Love Hörnquist Åstrand
2005-07-25 23:13:24 +00:00
b01e981819
free hx509_verify_ctx
Love Hörnquist Åstrand
2005-07-25 23:12:45 +00:00
198909873a
x x
Love Hörnquist Åstrand
2005-07-25 22:42:47 +00:00
f6fb9b1a0f
(_hx509_name_ds_cmp): make sure all strings are not equal
Love Hörnquist Åstrand
2005-07-25 22:41:48 +00:00
b890285d10
x
Love Hörnquist Åstrand
2005-07-25 22:04:59 +00:00
1e5d1917c9
clean up checks
Love Hörnquist Åstrand
2005-07-25 22:04:36 +00:00
a856bf7a9d
return error
Love Hörnquist Åstrand
2005-07-25 21:50:53 +00:00
810020a64d
return errors from iterations
Love Hörnquist Åstrand
2005-07-25 21:50:28 +00:00
7b05df1363
x
Love Hörnquist Åstrand
2005-07-25 21:33:22 +00:00
440f98d5f7
(parse_certificate): return errno's not 1 in case of error
Love Hörnquist Åstrand
2005-07-25 21:32:34 +00:00