Commit Graph

10051 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 05e08f62a6 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17271 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:38 +00:00
Love Hörnquist Åstrand c76ab3bc40 build proxy certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:16:01 +00:00
Love Hörnquist Åstrand d1b6d05cdc add def for proxy10_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:33 +00:00
Love Hörnquist Åstrand dfe29472cd add more certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17268 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 16:15:12 +00:00
Love Hörnquist Åstrand dfd46eaeaa x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17267 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:46:22 +00:00
Love Hörnquist Åstrand ce731322d7 Add another proxy certificate error.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:45:48 +00:00
Love Hörnquist Åstrand 0c3cff7fec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:03:02 +00:00
Love Hörnquist Åstrand 56b18c1385 (hx509_verify_path): Need to mangle name to remove the CN of the
subject, copying issuer only works for one level but is better then
doing no checking at all.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 15:02:48 +00:00
Love Hörnquist Åstrand 05557b9ae9 Add verify --allow-proxy-certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17261 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:43:14 +00:00
Love Hörnquist Åstrand 5a3e4a1865 add verify --allow-proxy-certificate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17260 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:42:45 +00:00
Love Hörnquist Åstrand d82349fba1 Add proxy certificate errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17259 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 14:41:14 +00:00
Love Hörnquist Åstrand db9e1df818 Fix comment about subject name of proxy certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:49:27 +00:00
Love Hörnquist Åstrand cf3c9e7986 Make proxy certificate work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:35:20 +00:00
Love Hörnquist Åstrand e9a7ef8057 tests for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17256 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:32:17 +00:00
Love Hörnquist Åstrand 104b2bda39 gen proxy and non-proxy tests certificates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:58 +00:00
Love Hörnquist Åstrand a52db0479d Add definition for proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:31:26 +00:00
Love Hörnquist Åstrand 0c10f202f4 proxy certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 13:30:50 +00:00
Love Hörnquist Åstrand 1b98d3a6ff (hx509_verify_path): verify proxy certificate have no san or ian
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:36:49 +00:00
Love Hörnquist Åstrand 253352539c (hx509_verify_set_proxy_certificate): Add
(*): rename policy cert to proxy cert


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17251 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:21:20 +00:00
Love Hörnquist Åstrand 3d4b238a8b Initial support for policy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17250 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 12:05:10 +00:00
Love Hörnquist Åstrand a487250048 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17249 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:03:10 +00:00
Love Hörnquist Åstrand e03eee6809 Add definitions from RFC 3820, Proxy Certificate Profile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17248 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-26 08:02:56 +00:00
Love Hörnquist Åstrand a680a138f2 (create_principal*): If client doesnt send kvno, make sure to set it to 1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17233 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 12:38:45 +00:00
Love Hörnquist Åstrand a6b897ef0d (hdb_replace_extension): set error message on failure, not success.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 10:20:22 +00:00
Love Hörnquist Åstrand 520d13e506 (parse_key_set): handle error case better
(hdb_generate_key_set): return better error


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-25 08:09:38 +00:00
Love Hörnquist Åstrand f5d20ae666 (hdb_create): print out what we don't support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 20:57:58 +00:00
Love Hörnquist Åstrand 54f16d4f4c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:48 +00:00
Love Hörnquist Åstrand 1a4fa0bb22 include <krb5-types.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:23:38 +00:00
Love Hörnquist Åstrand 2894e05a71 Remove a double free introduced in 1.93
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:16:14 +00:00
Love Hörnquist Åstrand b24395ffde (log_file): reset pointer to freed memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:09:27 +00:00
Love Hörnquist Åstrand 4ba57d49e9 (get_cell_and_realm): reset d->cell to make sure its not refereced
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 15:06:57 +00:00
Love Hörnquist Åstrand f98cb94d4e Sprinkel some assertions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 14:36:28 +00:00
Love Hörnquist Åstrand d0bfcde47f Move assertion and add another restriction, used as hint to beam that its ok
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 14:26:19 +00:00
Love Hörnquist Åstrand cfb3a670d7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 11:12:39 +00:00
Love Hörnquist Åstrand bdf6508cbf some error checking
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 11:09:56 +00:00
Love Hörnquist Åstrand 8e39cadc48 Switch over to asn1 generaed oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:29:16 +00:00
Love Hörnquist Åstrand 61b5a1a5df indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:16:36 +00:00
Love Hörnquist Åstrand 31558d8dac x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 09:03:09 +00:00
Love Hörnquist Åstrand d7264bbde3 Add UID and email
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 09:02:41 +00:00
Love Hörnquist Åstrand 10ccb6b603 Add id-Userid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 09:01:40 +00:00
Love Hörnquist Åstrand 0b34b26d3c rename id-pkcs9-email to id-pkcs9-emailAddress
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:59:10 +00:00
Love Hörnquist Åstrand 756485f03c Add id-pkcs9-email
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:56:55 +00:00
Love Hörnquist Åstrand 28e538d9f2 Add attribute type oids from X520 and RFC 2247 DC oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:53:08 +00:00
Love Hörnquist Åstrand 4049e76902 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:49:08 +00:00
Love Hörnquist Åstrand 2157835b75 Pass down realm to pk_verify_host so the function can verify the
certificate is from the right realm.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:23:47 +00:00
Love Hörnquist Åstrand a49278a8b4 Pass down realm to _krb5_pk_rd_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 08:21:52 +00:00
Love Hörnquist Åstrand 1d1cb24d77 merge with old todo file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 06:18:08 +00:00
Love Hörnquist Åstrand 4828d9e4e4 (pk_verify_host): Add begining of finding subjectAltName_otherName
pk-init-san and verifing it.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:30:17 +00:00
Love Hörnquist Åstrand 0a1e672d85 reindent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:14:07 +00:00
Love Hörnquist Åstrand 0030f7ffe6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 21:07:57 +00:00