Commit Graph

4184 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand ac802945fa Pick cert upfront, so that we know that we are using an ECDSA cert and
should use ECDH for the key exchange.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:14:26 +00:00
Love Hörnquist Åstrand e2413291b1 Move DH code out of the common path.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24700 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:28 +00:00
Love Hörnquist Åstrand 237cc964d3 Make ECDH work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:15 +00:00
Love Hörnquist Åstrand 0222c98eaa Make ECDH work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24698 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:05 +00:00
Love Hörnquist Åstrand adba9c066a Create key and assign group before starting to parse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:12:23 +00:00
Love Hörnquist Åstrand 5585a2b58b use variable instead of oid function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:57 +00:00
Love Hörnquist Åstrand 651fe508c0 ECDH bits, still need negotiation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:44 +00:00
Love Hörnquist Åstrand 79c232c708 print etype on one line
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:44 +00:00
Love Hörnquist Åstrand b7323a8b85 (process_last_request): Process the lr.func even if we have no prompter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 15:11:36 +00:00
Love Hörnquist Åstrand ec2535c8d8 add test_gic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:13 +00:00
Love Hörnquist Åstrand 2ac3c49016 test for krb5_get_init_creds_opt_set_process_last_req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:07:03 +00:00
Love Hörnquist Åstrand 12a7a9e488 Prepare for ECDH.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-07 04:06:43 +00:00
Love Hörnquist Åstrand 62a968de1b Add _krb5_pk_enterprise_cert that figures out the enterprise name to
use for PK-INIT from the certs.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:31 +00:00
Love Hörnquist Åstrand 2a3d7edf56 anonymous doesn't require service name change
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:10:21 +00:00
Love Hörnquist Åstrand 0a426e075f fix spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:07:02 +00:00
Love Hörnquist Åstrand a1ef548600 Anonymous pkinit support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:06:52 +00:00
Love Hörnquist Åstrand 59232b3083 Add KRB5_WELLKNOWN_NAME and KRB5_ANON_NAME
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-04 22:02:23 +00:00
Love Hörnquist Åstrand 45c3916e4e move test-ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:50:16 +00:00
Love Hörnquist Åstrand ca477996be build ap-req
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:49:36 +00:00
Love Hörnquist Åstrand 82d096d5a2 remove heimdal smaller, kadm5 needs it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:46:06 +00:00
Love Hörnquist Åstrand cc0a07301a catch error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 21:51:04 +00:00
Love Hörnquist Åstrand f667d10608 less casting to make it work on LP64 platforms where off_t is signed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 21:50:53 +00:00
Love Hörnquist Åstrand 2494d521ac compare aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24472 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 01:01:56 +00:00
Love Hörnquist Åstrand f3f32be246 document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:49:20 +00:00
Love Hörnquist Åstrand defb2afef1 parse/store flags field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24469 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:49:10 +00:00
Love Hörnquist Åstrand 711036431d more comments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:48:00 +00:00
Love Hörnquist Åstrand 8915cd15a7 If caller specified a server, fail on failure to find keytab entry.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:47:41 +00:00
Love Hörnquist Åstrand 329e5b51b3 set flags and aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:47:32 +00:00
Love Hörnquist Åstrand 10336e8213 set flags and aliases
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:47:22 +00:00
Love Hörnquist Åstrand e19011086b drop shadowing variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:47:13 +00:00
Love Hörnquist Åstrand d017adbaa4 use krb5_kt_destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24451 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:46:15 +00:00
Love Hörnquist Åstrand d9a3a6a070 export _krb5_erase_file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:46:06 +00:00
Love Hörnquist Åstrand bd479a0820 Add fkt_destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24449 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:45:56 +00:00
Love Hörnquist Åstrand 62792192ff add y
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24448 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:45:47 +00:00
Love Hörnquist Åstrand 5d4a556b1c add krb5_kt_destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24447 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:45:37 +00:00
Love Hörnquist Åstrand 806aaca849 use kt_destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24446 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:45:28 +00:00
Love Hörnquist Åstrand c1f54c68fc drop libnkrb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:44:59 +00:00
Love Hörnquist Åstrand 80ae7084ba Framework for perforamnce testing.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:44:49 +00:00
Love Hörnquist Åstrand fc3c0c2192 add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:55 +00:00
Love Hörnquist Åstrand 8de5319396 add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:46 +00:00
Love Hörnquist Åstrand 6536a629f4 add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:33 +00:00
Love Hörnquist Åstrand 195710b52f add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:24 +00:00
Love Hörnquist Åstrand 3c2f66b284 add destroy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24433 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:43:14 +00:00
Love Hörnquist Åstrand bb9b7fd612 add krb5_principals (and add it to krb5_keytab_entry)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:42:45 +00:00
Love Hörnquist Åstrand 9b826e1a62 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:42:16 +00:00
Love Hörnquist Åstrand 33a9fa44c8 drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:38:58 +00:00
Love Hörnquist Åstrand 26e3cb68a6 fix compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:33:40 +00:00
Love Hörnquist Åstrand 3767202e6e drop RCSID
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:31:10 +00:00
Love Hörnquist Åstrand d02c07be0d prompte krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:28:39 +00:00
Love Hörnquist Åstrand 9dbd5cc79f prompte krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:28:29 +00:00