Commit Graph

18566 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
800d5b5cc8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:37:53 +00:00
Love Hörnquist Åstrand
6621f45c1f (Time2string): print hour as hour not min
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:34:53 +00:00
Love Hörnquist Åstrand
801dd6cd8a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:30:46 +00:00
Love Hörnquist Åstrand
4e70f181f9 CLEANFILES += test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:30:09 +00:00
Love Hörnquist Åstrand
758f8afd95 CLEANFILES += test_crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:28:14 +00:00
Love Hörnquist Åstrand
2dc81f5710 CLEANFILES += vis.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:26:50 +00:00
Love Hörnquist Åstrand
5e5521c9e1 Include <pkinit_asn1.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:16:46 +00:00
Love Hörnquist Åstrand
8bf7f3a2dd Prettyprint SAN/IAN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:14:52 +00:00
Love Hörnquist Åstrand
01dad85177 Print more of the SAN's, esp id-pkinit-san.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:11:57 +00:00
Love Hörnquist Åstrand
4c9ebfbbfb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 22:09:00 +00:00
Love Hörnquist Åstrand
4c95f50117 (EXTRA_DIST): add data/pkinit-proxy* files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 22:08:43 +00:00
Love Hörnquist Åstrand
08789bb39c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 21:24:24 +00:00
Love Hörnquist Åstrand
e1bac0567e (_kdc_as_rep): add AD-INITAL-VERIFIED-CAS to the encrypted ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 21:24:10 +00:00
Love Hörnquist Åstrand
8300ee6ee2 (_kdc_add_inital_verified_cas): new function, adds an empty (for now)
AD_INITIAL_VERIFIED_CAS to tell the clients that we vouches for the CA.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 21:21:11 +00:00
Love Hörnquist Åstrand
9fed7e931e (_kdc_tkt_add_if_relevant_ad): use _kdc_tkt_add_if_relevant_ad to add the SignedPath.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 21:16:03 +00:00
Love Hörnquist Åstrand
eb2670591c (_kdc_tkt_add_if_relevant_ad): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 21:15:20 +00:00
Love Hörnquist Åstrand
5eb5bcc668 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 20:20:41 +00:00
Love Hörnquist Åstrand
9c8dccd37d (EXTRA_DIST): add tst-crypto* files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 20:20:21 +00:00
Love Hörnquist Åstrand
b30dd88ab0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 14:54:59 +00:00
Love Hörnquist Åstrand
0923df342a fix test for COM_ERR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:47:57 +00:00
Love Hörnquist Åstrand
8872637199 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:36:46 +00:00
Love Hörnquist Åstrand
a2bf2a8e79 Make the directories test automake conditional so automake can include
directories in make dist step.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:36:36 +00:00
Love Hörnquist Åstrand
0dff0819ef set automake symbol COM_ERR when we build local com_err
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:32:55 +00:00
Love Hörnquist Åstrand
bd5258540f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:10:32 +00:00
Love Hörnquist Åstrand
85bcc19262 (_kdc_pk_rd_padata): leak less memory for ExternalPrincipalIdentifiers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:10:21 +00:00
Love Hörnquist Åstrand
b6b9423a2b (hx509_query_match_issuer_serial): make a copy of the data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 13:08:31 +00:00
Love Hörnquist Åstrand
24ce3844d0 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 12:31:09 +00:00
Love Hörnquist Åstrand
a36abf458c Remove unused function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 12:25:47 +00:00
Love Hörnquist Åstrand
eadd6575cf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19246 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 12:21:46 +00:00
Love Hörnquist Åstrand
dcf2f6807a (hx509_query_match_issuer_serial): allow matching on issuer and serial num
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19245 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 12:21:35 +00:00
Love Hörnquist Åstrand
528e4e53e7 Parse and use PA-PK-AS-REQ.trustedCertifiers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19244 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 12:21:02 +00:00
Love Hörnquist Åstrand
ef6bf7a0fe (find_CMSIdentifier): require the certificate we are looking for to be valid.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19243 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 11:30:44 +00:00
Love Hörnquist Åstrand
12008ec7fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:43:29 +00:00
Love Hörnquist Åstrand
65d743807c Add comment that the anchors in the signed data really should be the
trust anchors of the client.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:42:41 +00:00
Love Hörnquist Åstrand
6dbdfd41fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:36:15 +00:00
Love Hörnquist Åstrand
8bc1396160 (_hx509_calculate_path): add flag to allow leaving out trust anchor
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19239 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:35:16 +00:00
Love Hörnquist Åstrand
d58d796709 (hx509_cms_create_signed_1): when building the path, omit the trust
anchors.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19238 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:34:39 +00:00
Love Hörnquist Åstrand
7a308c3ab3 add HX509_CALCULATE_PATH_NO_ANCHOR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19237 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:32:42 +00:00
Love Hörnquist Åstrand
dddb1000d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:25:12 +00:00
Love Hörnquist Åstrand
e99ef09706 (rsa_create_signature): Abort when signature is longer, not shorter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19235 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 10:23:14 +00:00
Love Hörnquist Åstrand
2243d26b39 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19234 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:05:36 +00:00
Love Hörnquist Åstrand
3154e1056e Use strcspn to remove \n from string returned by fgets.
From Björn Sandell


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 08:04:05 +00:00
Love Hörnquist Åstrand
9de2bce244 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 07:48:46 +00:00
Love Hörnquist Åstrand
e7a2d233f5 Add rsakey.der to EXTRA_DIST.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19231 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-06 07:48:27 +00:00
Love Hörnquist Åstrand
6134eea21c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:47:28 +00:00
Love Hörnquist Åstrand
a3ece41637 Provide time to _hx509_calculate_path so we don't send no longer valid certs to our peer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19229 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:47:11 +00:00
Love Hörnquist Åstrand
0528938895 (find_parent): when checking for certs and its not a trust anchor,
require time be in range.
(_hx509_query_match_cert): Add time validity-testing to query mask


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:46:19 +00:00
Love Hörnquist Åstrand
db093bb975 add time validity-testing to query mask
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:44:32 +00:00
Love Hörnquist Åstrand
caf1dff34b Tests for CMS SignedData with incomplete chain from the signer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 23:43:45 +00:00
Love Hörnquist Åstrand
38f4b80b48 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-05 22:45:42 +00:00