Commit Graph

16251 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
3495cd039b Update ocsp-fetch.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:07:55 +00:00
Love Hörnquist Åstrand
f3b1b0858c Use HX509_DEFAULT_OCSP_TIME_DIFF.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:07:26 +00:00
Love Hörnquist Åstrand
51fc07bc6d Add ocsp_time_diff to hx509_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16886 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:06:49 +00:00
Love Hörnquist Åstrand
ea0cf892aa (_hx509_verify_signature_bitstring): new function, commonly use when
checking certificates


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:05:37 +00:00
Love Hörnquist Åstrand
de38a60813 (hx509_cms_envelope_1): check for internal ASN.1 encoder error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:04:52 +00:00
Love Hörnquist Åstrand
40164d5a9e Add ocsp glue, use new _hx509_verify_signature_bitstring, add eku
checking function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 22:03:13 +00:00
Love Hörnquist Åstrand
d1bf4b78e6 add id_kp_OCSPSigning.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16882 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 21:59:06 +00:00
Love Hörnquist Åstrand
84c9b66b25 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 21:58:27 +00:00
Love Hörnquist Åstrand
e1acef0dbc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16880 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:58:26 +00:00
Love Hörnquist Åstrand
0039988d29 gen_files_rfc2459 += ExtKeyUsage.x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:57:54 +00:00
Love Hörnquist Åstrand
eae092d168 Add ExtKeyUsage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16878 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:57:34 +00:00
Love Hörnquist Åstrand
916925bc94 (generate_header_of_codefile): remove unused variable.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-31 02:52:21 +00:00
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