Commit Graph

20430 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
bf02504f31 Require the raw key have the correct size and do away with the
minsize.  Minsize was a thing that originated from RC2, but since RC2
is done in the x509/cms subsystem now there is no need to keep that
around.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:05:50 +00:00
Love Hörnquist Åstrand
b0a4e5a01b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 16:17:25 +00:00
Love Hörnquist Åstrand
ec9707b58d If there is no default dbname, also check for unset mkey_file and set
it default mkey name, make backward compat stuff work.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20979 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 16:17:05 +00:00
Love Hörnquist Åstrand
501beea27a add new symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 15:28:40 +00:00
Love Hörnquist Åstrand
b4450cd442 Update.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:24:41 +00:00
Love Hörnquist Åstrand
d4871f592d Update.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:23:09 +00:00
Love Hörnquist Åstrand
bf6dbff702 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:16:35 +00:00
Love Hörnquist Åstrand
cfe96a37f0 Apple Tiger 10.4/MIT Kerberos 1.4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 07:14:20 +00:00
Love Hörnquist Åstrand
cdc9e8a94c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:56:07 +00:00
Love Hörnquist Åstrand
a2d8867e0c Don't need to start a kdc for this test.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:55:48 +00:00
Love Hörnquist Åstrand
4fdab02867 Fixed problem, enable again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:55:21 +00:00
Love Hörnquist Åstrand
24cf0fdeae Also update krb5_context view of what the time is.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:54:55 +00:00
Love Hörnquist Åstrand
0c4f093b59 Disable, needs more fixing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:50:18 +00:00
Love Hörnquist Åstrand
d60c3a63ca x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:05:35 +00:00
Love Hörnquist Åstrand
db9f9dcead add tests/can/Makefile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:04:56 +00:00
Love Hörnquist Åstrand
e561d49edc SUBDIRS += can
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:04:14 +00:00
Love Hörnquist Åstrand
5375fb3085 pre-canned requests from older versions and other implementations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 06:03:29 +00:00
Love Hörnquist Åstrand
0c60a66fa8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 05:13:14 +00:00
Love Hörnquist Åstrand
ea26dbde83 Add --[version|help].
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 05:12:59 +00:00
Love Hörnquist Åstrand
9ea34e5fa3 Add check for key lengths for known enctypes for all principals.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 05:09:24 +00:00
Love Hörnquist Åstrand
6df13ddebf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:48:37 +00:00
Love Hörnquist Åstrand
a3f341f304 Push down the kdc time into the x509 library.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:48:11 +00:00
Love Hörnquist Åstrand
8b91b80a1e Remove out2, no longer used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:46:06 +00:00
Love Hörnquist Åstrand
23ed41b109 Move up krb5_kdc_save_request so we can catch the reply data too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:35:05 +00:00
Love Hörnquist Åstrand
4fe154b2f9 verify reply by checking asn1 class, type and tag of the reply if
there is one.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:34:14 +00:00
Love Hörnquist Åstrand
43a028c82a Save asn1 class, type and tag of the reply if there is one. Used to
verify the reply in kdc-replay.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 04:32:53 +00:00
Love Hörnquist Åstrand
55df27f234 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:30:32 +00:00
Love Hörnquist Åstrand
1902040622 extern for request_log.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:30:15 +00:00
Love Hörnquist Åstrand
7d1da27427 Add kdc-replay.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:20:22 +00:00
Love Hörnquist Åstrand
162660bade Replay kdc messages to the KDC library.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:19:07 +00:00
Love Hörnquist Åstrand
35a6f8ed22 Pick up request_log from [kdc]kdc-request-log.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:08:39 +00:00
Love Hörnquist Åstrand
44e3c4e620 Option to save the request to disk.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:07:42 +00:00
Love Hörnquist Åstrand
7e2f36b1d6 (krb5_kdc_save_request): save request to file.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 03:07:04 +00:00
Love Hörnquist Åstrand
01d0aa7e38 Update kdc time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 02:20:45 +00:00
Love Hörnquist Åstrand
c42a34c36d (krb5_kdc_process*): dont update _kdc_time automagicly.
(krb5_kdc_update_time): set or get current kdc-time.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 02:20:10 +00:00
Love Hörnquist Åstrand
32ba8c49ad x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:27 +00:00
Love Hörnquist Åstrand
8456183c48 rename functions, leaks less memory and more paranoia.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:17:17 +00:00
Love Hörnquist Åstrand
d3f35f642c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:15:34 +00:00
Love Hörnquist Åstrand
6f787893cd (_kdc_pk_rd_padata): accept both pkcs-7 and pkauthdata as the signeddata oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:14:36 +00:00
Love Hörnquist Åstrand
3d7fc2b1e7 (_kdc_pk_rd_padata): Try to log what went wrong.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 22:03:20 +00:00
Love Hörnquist Åstrand
e133dc6209 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:57:18 +00:00
Love Hörnquist Åstrand
9e01858ba1 Test cms peer-alg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:56:54 +00:00
Love Hörnquist Åstrand
8d185f280c (rsa_create_signature): make oid_id_pkcs1_rsaEncryption mean
rsa-with-sha1 but oid oid_id_pkcs1_rsaEncryption in algorithm field.
XXX should probably use another algorithmIdentifier for this.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:53:02 +00:00
Love Hörnquist Åstrand
c8cb0753ee Make free function return void.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:51:34 +00:00
Love Hörnquist Åstrand
a93b07021f (hx509_cms_create_signed_1): Use hx509_peer_info to select the
signature algorithm too.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:50:55 +00:00
Love Hörnquist Åstrand
5c70b04159 Merge init of hx509_peer_info structure and allow it for cms-create-sd.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:49:14 +00:00
Love Hörnquist Åstrand
9d1bb9e015 Add cms-create-sd --peer-alg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 20:21:54 +00:00
Love Hörnquist Åstrand
af12b5af0e Use _hx509_crypto_default_sig_alg.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 15:30:02 +00:00
Love Hörnquist Åstrand
887517a8aa Create crl, because everyone needs one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 05:00:32 +00:00
Love Hörnquist Åstrand
70722e64f8 add wcrl.crl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-06 04:47:02 +00:00