Commit Graph

18502 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
a6f5b0d0ac Prefix getifaddrs functions with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:59:31 +00:00
Love Hörnquist Åstrand
3fa3fa004c Prefix strvis functions with rk_ and do symbol renaming.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:58:15 +00:00
Love Hörnquist Åstrand
a548a4cd91 prefix strvis functions with rk_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:54:03 +00:00
Love Hörnquist Åstrand
7d15657340 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:50:08 +00:00
Love Hörnquist Åstrand
db6202c4f0 Install extra posix headers in <roken/...> to avoid dup headers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:49:51 +00:00
Love Hörnquist Åstrand
59238c7f99 Remember to p11_put_session in the failure cases too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-11 18:42:42 +00:00
Love Hörnquist Åstrand
c7d5dd6b32 Less verbose error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-10 01:12:00 +00:00
Love Hörnquist Åstrand
8a32874a95 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-10 01:09:48 +00:00
Love Hörnquist Åstrand
ed5e62f11c Return error codes on failure, improve error reporting.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-10 01:03:46 +00:00
Love Hörnquist Åstrand
7a0fadc477 (_hx509_private_key_assign_rsa): set a default sig alg
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:56:34 +00:00
Love Hörnquist Åstrand
fa270376d8 Pass in hx509_signature_rsa to key collector
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:18:09 +00:00
Love Hörnquist Åstrand
1f4452b34e (try_decrypt): pass down AlgorithmIdentifier that key uses to do sigatures
so there is no need to hardcode RSA into this function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-09 12:13:21 +00:00
Love Hörnquist Åstrand
6f0d8af9a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:48:33 +00:00
Love Hörnquist Åstrand
90832c9d52 sprinkle more _krb5_pk_copy_error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:48:09 +00:00
Love Hörnquist Åstrand
c2633ac58b Pass filename to the parse functions and use it in the error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:35:19 +00:00
Love Hörnquist Åstrand
76a79be26e Copy more hx509 error strings to krb5 error strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:30:20 +00:00
Love Hörnquist Åstrand
64e2e55060 regen, this time with openssl 0.9.8x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 02:22:06 +00:00
Love Hörnquist Åstrand
e3d4ff2f14 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 00:48:28 +00:00
Love Hörnquist Åstrand
5999737afa add pkix proxy cert policy lang oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 00:08:26 +00:00
Love Hörnquist Åstrand
53256a007f make a note that we MUST check info.proxyPolicy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-08 00:02:10 +00:00
Love Hörnquist Åstrand
188770ff73 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:48:54 +00:00
Love Hörnquist Åstrand
184d8c9f29 fix errorstring for PROXY_CERT_NAME_WRONG
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:46:58 +00:00
Love Hörnquist Åstrand
2728037bfe regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:46:06 +00:00
Love Hörnquist Åstrand
e825c5107c test proxy cert (third level)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:43:21 +00:00
Love Hörnquist Åstrand
9d3e385800 EXTRA_DIST: add data/proxy10-child-child-test.{key,crt}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:42:16 +00:00
Love Hörnquist Åstrand
13438750b1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:41:53 +00:00
Love Hörnquist Åstrand
72a670336e Fix names and restrictions on the proxy certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:41:06 +00:00
Love Hörnquist Åstrand
71e4dc1497 Clairfy and make proxy cert handling work for multiple levels, before
it was too restrictive. More helpful error message.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 23:39:26 +00:00
Love Hörnquist Åstrand
a55d8abf5c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 22:54:04 +00:00
Love Hörnquist Åstrand
01fde0e9c5 unbreak id-pe-proxyCertInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 22:53:10 +00:00
Love Hörnquist Åstrand
7ea26d8dc4 (check_key_usage): print subject, not issuer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 22:41:26 +00:00
Love Hörnquist Åstrand
eecdea2e20 (check_key_usage): tell what keyusages are missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 22:35:27 +00:00
Love Hörnquist Åstrand
d987d9258d Split OtherName printing code to a oid lookup and print function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 20:37:57 +00:00
Love Hörnquist Åstrand
812f7102a1 ops, remove extra stuff copied from the draft
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 20:24:06 +00:00
Love Hörnquist Åstrand
b8fc9ba909 Add id-pkix-on-dnsSRV and related oids
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 20:24:05 +00:00
Love Hörnquist Åstrand
c693f4cd8e AltNames: Print all diffrent names of a GeneralName
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 17:20:09 +00:00
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