Commit Graph

1735 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
eb6b4d91a0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 22:15:35 +00:00
Love Hörnquist Åstrand
66c417d257 (hx509_cms_verify_signed): specify what signature we failed to verify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 21:50:36 +00:00
Love Hörnquist Åstrand
2f0967b969 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:58 +00:00
Love Hörnquist Åstrand
7c3c9f7fa1 Depend on LIB_com_err for AIX.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:08:32 +00:00
Love Hörnquist Åstrand
04fecea15c Remove anther strndup that causes AIX to fall over.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 20:07:57 +00:00
Love Hörnquist Åstrand
a67696cb13 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 17:43:27 +00:00
Love Hörnquist Åstrand
d3b2e5df80 Don't check the trust anchors expiration time since they are
transported out of band, from RFC3820.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 17:41:57 +00:00
Love Hörnquist Åstrand
97ff96b02d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 12:08:07 +00:00
Love Hörnquist Åstrand
1d8f59cfa1 sprinkle more error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 12:00:08 +00:00
Love Hörnquist Åstrand
444753045a use unsigned int as counter to fit better with the asn1 compiler
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-28 03:59:34 +00:00
Love Hörnquist Åstrand
bbe5ce33dc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:12:08 +00:00
Love Hörnquist Åstrand
2cac1cbf59 Remove trailing white space.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:12:01 +00:00
Love Hörnquist Åstrand
d51986d91e rewrite comment to make more sense
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 14:11:03 +00:00
Love Hörnquist Åstrand
18b698ae86 (hx509_crypto_select): check sig_algs[j]->key_oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 13:29:19 +00:00
Love Hörnquist Åstrand
99f80461cd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:57:21 +00:00
Love Hörnquist Åstrand
9aa88cd51c test crypto-select and crypto-available
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:20:41 +00:00
Love Hörnquist Åstrand
4fd7cabf44 (crypto-available): add --type
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:15:00 +00:00
Love Hörnquist Åstrand
cbcc5adfc3 (hx509_crypto_available): let alg pass if its keyless
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:14:07 +00:00
Love Hörnquist Åstrand
bf35f1a1bc Expand crypto-select
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:10:22 +00:00
Love Hörnquist Åstrand
c0736245fe test crypto-select and crypto-available
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 12:09:38 +00:00
Love Hörnquist Åstrand
20cc953703 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:46:59 +00:00
Love Hörnquist Åstrand
9b5b13dc57 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:28 +00:00
Love Hörnquist Åstrand
2022239dd6 Spelling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:43:15 +00:00
Love Hörnquist Åstrand
03ef18c610 add HX509_SELECT_ALL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:42:48 +00:00
Love Hörnquist Åstrand
7a7081cede Rename hx509_select to hx509_crypto_select.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:42:18 +00:00
Love Hörnquist Åstrand
d608f33861 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:40:29 +00:00
Love Hörnquist Åstrand
e0a99a740d Add crypto-select and crypto-available.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:40:06 +00:00
Love Hörnquist Åstrand
ca894d0b27 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:36:17 +00:00
Love Hörnquist Åstrand
93f60d5dae (hx509_crypto_available): use right index.
(hx509_crypto_free_algs): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:36:04 +00:00