Commit Graph

16239 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
4d9b604abe Pick out certs in chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:45:00 +00:00
Love Hörnquist Åstrand
93e4629277 clean ev.data and ev.data.out
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16875 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:01:07 +00:00
Love Hörnquist Åstrand
1ecf995c65 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16874 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:00:04 +00:00
Love Hörnquist Åstrand
a36d831663 TODO list
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16873 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:58:41 +00:00
Love Hörnquist Åstrand
d567d58fea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:53:49 +00:00
Love Hörnquist Åstrand
94e1fd1616 Add code to load OCSPBasicOCSPResponse files, reload crl when its
changed on disk.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:52:33 +00:00
Love Hörnquist Åstrand
7c1b919893 Update for ocsp merge. handle building path w/o subject (using subject key id)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16870 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:51:22 +00:00
Love Hörnquist Åstrand
54c42411cb _hx509_map_file changed prototype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16869 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:49:37 +00:00
Love Hörnquist Åstrand
34b94bcd88 _hx509_map_file changed prototype, returns struct stat if requested.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16868 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:48:48 +00:00
Love Hörnquist Åstrand
3c28ff7607 Add stub for ocsp-fetch, _hx509_map_file changed prototype, add ocsp
parsing to verify command.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16867 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:47:31 +00:00
Love Hörnquist Åstrand
d4919738d7 Add command ocsp-fetch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16866 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:45:47 +00:00
Love Hörnquist Åstrand
de44f94103 rename HX509_CTX_CRL_MISSING_OK to HX509_CTX_VERIFY_MISSING_OK now
that we have OCSP glue


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16865 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:43:10 +00:00
Love Hörnquist Åstrand
39ecd03c1e Include OCSP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16864 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:02:16 +00:00
Love Hörnquist Åstrand
7677242d01 RFC2560 - Online Certificate Status Protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 01:01:01 +00:00
Love Hörnquist Åstrand
f9160af5a1 (LDAP_message2entry): in declaration set variable_name as "hdb_entry_ex"
(hdb_ldap_common): change "arg" in condition (if) to "search_base"
(hdb_ldapi_create): change "serach_base" to "search_base"
From Alex V. Labuta.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16862 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 09:03:27 +00:00
Love Hörnquist Åstrand
6a3ce9e3ae Add <krb5-types.h> to make it compile on Solaris, from Alex V. Labuta.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 08:57:37 +00:00
Love Hörnquist Åstrand
3e1be53a7b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16860 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 04:41:10 +00:00
Love Hörnquist Åstrand
fb6af46d0e Put all the IMPORTed headers into the headerfile to avoid hidden depencies.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16859 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 04:40:52 +00:00
Love Hörnquist Åstrand
c107edc050 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16858 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:36:53 +00:00
Love Hörnquist Åstrand
ff8a601d49 (krb5_get_init_creds_opt_set_pkinit); fix prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:36:32 +00:00
Love Hörnquist Åstrand
145960cda9 Add pool of certificates to help certificate path building for clients
sending incomplete path in the signedData.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16856 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-30 03:12:06 +00:00
Love Hörnquist Åstrand
945efb8a96 Add pool of certificates to help certificate path building for clients
sending incomplete path in the signedData.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16854 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 19:57:25 +00:00
Love Hörnquist Åstrand
4d27cc0683 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 13:13:38 +00:00
Love Hörnquist Åstrand
654d1bcf68 (_hx509_pbe_decrypt): try all passwords, not just the first one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 13:12:09 +00:00
Love Hörnquist Åstrand
3cca5384bd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 04:52:15 +00:00
Love Hörnquist Åstrand
cd6acf1200 Allow passing in related certificates used to build the chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 04:38:14 +00:00
Love Hörnquist Åstrand
27a38bba47 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:48:58 +00:00
Love Hörnquist Åstrand
6f2f155e73 (check_altName): Print the othername oid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:48:21 +00:00
Love Hörnquist Åstrand
2832b00b67 Manual page claims RSA_public_decrypt will return -1 on error, lets check for that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:46:54 +00:00
Love Hörnquist Åstrand
6af8c899ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 00:04:44 +00:00
Love Hörnquist Åstrand
8c6b7f98ff Add id-pkinit-ms-san.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 00:03:34 +00:00
Love Hörnquist Åstrand
905242765a (log_patype): Add case for KRB5_PADATA_PA_PK_OCSP_RESPONSE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:54:50 +00:00
Love Hörnquist Åstrand
ab4ac9ff66 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:52:29 +00:00
Love Hörnquist Åstrand
2dbb33653c (PADATA-TYPE): Add KRB5-PADATA-PA-PK-OCSP-RESPONSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16842 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:52:11 +00:00
Love Hörnquist Åstrand
7f803fd58d (_hx509_pbe_decrypt): also try the empty password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:10:36 +00:00
Love Hörnquist Åstrand
f4e25d6573 (match_localkeyid): no need to add back the cert to the cert pool, its
already there.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:09:28 +00:00
Love Hörnquist Åstrand
201f534ca1 Pass on flags, unbreaks last commit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:40:56 +00:00
Love Hörnquist Åstrand
3c795c81d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:35:22 +00:00
Love Hörnquist Åstrand
381c1b5a04 Add REQUIRE_SIGNER
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:34:58 +00:00
Love Hörnquist Åstrand
e3ef13ddb4 (hx509_cert_free): ok to free NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:34:13 +00:00
Love Hörnquist Åstrand
72e10b58e9 Add new error code SIGNATURE_WITHOUT_SIGNER.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:33:19 +00:00
Love Hörnquist Åstrand
f0997e90dc (_hx509_name_ds_cmp): make DirectoryString case insenstive
(hx509_name_to_string): less spacing


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:32:26 +00:00
Love Hörnquist Åstrand
fbd84cf005 Check for signature error, check consitency of error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:04:28 +00:00
Love Hörnquist Åstrand
ca56604415 Spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 15:44:04 +00:00
Love Hörnquist Åstrand
a615263222 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 12:51:09 +00:00
Love Hörnquist Åstrand
abfe7761c2 Add hx509 when using PK-INIT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 12:49:30 +00:00
Love Hörnquist Åstrand
33790dc4b8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:52:54 +00:00
Love Hörnquist Åstrand
63170a411d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:35:41 +00:00
Love Hörnquist Åstrand
28ef233497 (file_init): leak less memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:26:37 +00:00
Love Hörnquist Åstrand
6e3958b47e (_hx509_collector_alloc): handle errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:26:05 +00:00