Commit Graph

18629 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
8fea309b05 (hx509_crypto_select): improve
(hx509_crypto_available): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:16:05 +00:00
Love Hörnquist Åstrand
efaed32112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:06:06 +00:00
Love Hörnquist Åstrand
81798cfcd3 Split error codes for now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 10:04:30 +00:00
Love Hörnquist Åstrand
0a531062bd print return value for RSA_private_decrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-27 08:30:53 +00:00
Love Hörnquist Åstrand
976ac69254 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 18:10:16 +00:00
Love Hörnquist Åstrand
0e4b620131 Pass down hx509_peer_info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 18:09:59 +00:00
Love Hörnquist Åstrand
ca9c6c2b3d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:54:36 +00:00
Love Hörnquist Åstrand
35dda6b1b9 Sprinkle more error string and hx509_contexts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:54:18 +00:00
Love Hörnquist Åstrand
cfb2185a48 Sprinkle more error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:53:57 +00:00
Love Hörnquist Åstrand
e37704f850 Sprinkle error string and hx509_contexts.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 17:53:25 +00:00
Love Hörnquist Åstrand
95730a19d6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:57:38 +00:00
Love Hörnquist Åstrand
15d0393660 Add some more comments about how this works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:56:54 +00:00
Love Hörnquist Åstrand
480aff7f9b (_kdc_pk_rd_padata): Pick up supportedCMSTypes and pass in into
hx509_cms_create_signed_1 via hx509_peer_info blob.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 16:38:51 +00:00
Love Hörnquist Åstrand
d71ddea187 fixed some, added some
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:58:06 +00:00
Love Hörnquist Åstrand
ace0c11152 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:53:32 +00:00
Love Hörnquist Åstrand
d27456dd83 (hx509_select): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:53:12 +00:00
Love Hörnquist Åstrand
d825268bc1 add peer.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:52:31 +00:00
Love Hörnquist Åstrand
ddfe47e5e1 Update hx509_cms_create_signed_1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:50:48 +00:00
Love Hörnquist Åstrand
1ad4760402 add struct hx509_peer_info
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:49:25 +00:00
Love Hörnquist Åstrand
bdf17144c3 Allow selection of digest/sig-alg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:49:01 +00:00
Love Hörnquist Åstrand
a8539398d9 Allow selection of a better digest using hx509_peer_info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:48:26 +00:00
Love Hörnquist Åstrand
84293fbe7c Add hx509_peer_info and hx509_select selectors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-26 15:18:47 +00:00
Love Hörnquist Åstrand
2a62f68e43 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:56:17 +00:00
Love Hörnquist Åstrand
7d2e784271 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:54:30 +00:00
Love Hörnquist Åstrand
2c0f78e9c0 Handle that _hx509_verify_signature takes a context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 23:53:05 +00:00
Love Hörnquist Åstrand
647a299beb Sprinkle error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 12:40:13 +00:00
Love Hörnquist Åstrand
85ee798833 Sprinkle context and error strings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 12:31:34 +00:00
Love Hörnquist Åstrand
3db50a07fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 08:52:22 +00:00
Love Hörnquist Åstrand
9771db55a1 Add LIB_roken and (implictly by that libvers for print_version) to LDADD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-25 08:48:16 +00:00
Love Hörnquist Åstrand
3cda0af373 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 14:27:38 +00:00
Love Hörnquist Åstrand
629ef1ca09 Set the large_msg_size to 1400, lets not fragment packets and avoid
stupid linklayers that doesn't allow fragmented packets (unix dgram
sockets on Mac OS X)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 14:24:33 +00:00
Love Hörnquist Åstrand
c0eada204f test printing and parsing raw oids in name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19106 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:11:35 +00:00
Love Hörnquist Åstrand
a111935bca Handle printing and parsing raw oids in name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:09:48 +00:00
Love Hörnquist Åstrand
aec1d93b07 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:09:01 +00:00
Love Hörnquist Åstrand
0fa8cd58ec (der_print_heim_oid): use delim when printing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 06:08:27 +00:00
Love Hörnquist Åstrand
dcb8f42f41 pkinit_allow_proxy_certificate=true
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-24 05:12:03 +00:00
Love Hörnquist Åstrand
ad2a57913f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:28:41 +00:00
Love Hörnquist Åstrand
53d000b120 check that the getarg -- option works for delete and add.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:28:23 +00:00
Love Hörnquist Åstrand
23105c3230 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:15:10 +00:00
Love Hörnquist Åstrand
3f3bf585c4 Test proxy cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:14:53 +00:00
Love Hörnquist Åstrand
03d0a158b8 (_krb5_pk_create_sign): stuff down the users certs in the pool to make
sure a path is returned, without this proxy certificates wont work.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:13:47 +00:00
Love Hörnquist Åstrand
1a89ccbde3 (_hx509_calculate_path): allow to calculate optimistic path when we
don't know the trust anchors, just follow the chain upward until we no
longer find a parent or we hit the max limit.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:11:22 +00:00
Love Hörnquist Åstrand
b10833408a regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:09:59 +00:00
Love Hörnquist Åstrand
94d63f5092 (hx509_cms_create_signed_1): provide a best effort path to the trust
anchors to be stored in the SignedData packet, if find parents until
trust anchor or max length.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:08:23 +00:00
Love Hörnquist Åstrand
36b3f8b61a Build pk-init proxy cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19093 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 18:06:10 +00:00
Love Hörnquist Åstrand
976c93b3e6 (krb5_get_init_creds_opt_free): allow free on NULL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-23 16:27:36 +00:00
Love Hörnquist Åstrand
a0440ced16 (renew_func): if the initial ticket wasn't renewable from the
beginning, not even try to renew it now.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-22 18:13:50 +00:00
Love Hörnquist Åstrand
f1e2992b43 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 19:59:31 +00:00
Love Hörnquist Åstrand
c4cd047939 Make all pkinit options prefixed with pkinit_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19089 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 19:57:33 +00:00
Love Hörnquist Åstrand
473532da2a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19088 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-21 08:08:46 +00:00