Commit Graph

775 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
c50b57d65d AUTHENTICATE and AUTHENTICATE_V2 is almost the same, and clients
(klog) can deal with that the kaserver returns the same thing for both


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-14 19:02:29 +00:00
Johan Danielsson
5a1b9bec7a (do_version4): fix stupid error in previous
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-04 11:01:02 +00:00
Johan Danielsson
ffa0f87aa6 (do_version4): check client and server max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:53:18 +00:00
Johan Danielsson
441228af89 (do_getticket): check client max_life
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-01 15:47:40 +00:00
Love Hörnquist Åstrand
38ed3f09f9 AES is enabled by default, remove ifdefs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-17 00:28:48 +00:00
Love Hörnquist Åstrand
01f52d48e6 use generated oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:49:23 +00:00
Love Hörnquist Åstrand
2b0b4dc044 update to the asn1 structures used in -25's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Luke Howard
4fdebcb8b9 Don't crash when logging no server etype support if client == NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-24 10:34:21 +00:00
Love Hörnquist Åstrand
bc686b4cbf s/random_key/random_key_flag/, From Dave Love <d.love@dl.ac.uk>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-17 13:40:08 +00:00
Love Hörnquist Åstrand
b0767711ce make build, for real this time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 20:33:00 +00:00
Love Hörnquist Åstrand
4ceacfa1b0 revert part (server) referals draft patch that shouldn't have gone in,
not tested


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-09 16:49:38 +00:00
Love Hörnquist Åstrand
2d1c1063ef krb5_enctype_is_disabled is the same thing as krb5_enctype_valid, so
use the later since its older and the api doesn't really need another
entry point


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-01-08 20:43:50 +00:00
Love Hörnquist Åstrand
c5ac82a862 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 19:22:29 +00:00
Love Hörnquist Åstrand
6f41f39523 use private version of principalname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-29 19:22:28 +00:00
Love Hörnquist Åstrand
fffbadb908 drop key-file, no longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:36:19 +00:00
Love Hörnquist Åstrand
913d010569 default for check-ticket-addresses is TRUE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14407 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:29:24 +00:00
Love Hörnquist Åstrand
e528f4b827 (configure): check for deprecated enforce-transited-policy is set and
fail if it is


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14406 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-17 18:28:08 +00:00
Love Hörnquist Åstrand
9fa56507e9 (main): catch sigpipe, we don't bother select()ing for errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 22:24:26 +00:00
Love Hörnquist Åstrand
ca0da3a363 (handle_http_tcp): handle error from write(2)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14398 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-13 22:18:38 +00:00
Love Hörnquist Åstrand
5fa7e51b68 spelling, from OpenBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-10 09:44:05 +00:00
Love Hörnquist Åstrand
9467621d39 use keeps for options, From OpenBSD
k


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-10 09:43:07 +00:00
Love Hörnquist Åstrand
beb5cf017d add --random-key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-09 12:15:20 +00:00
Love Hörnquist Åstrand
42a68b1326 use keeps around options, from OpenBSD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-08 17:36:18 +00:00
Love Hörnquist Åstrand
2f8082aad8 (find_keys): log what principal is missing enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-11-15 02:02:30 +00:00
Love Hörnquist Åstrand
7816000f45 Make sure argument passed to ctype isn't signed char
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14322 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-30 20:55:14 +00:00
Love Hörnquist Åstrand
9f52383628 match new error names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-14 15:49:51 +00:00
Love Hörnquist Åstrand
4feb3c1abd use ETYPE_DES3_CBC_NONE_CMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-12 21:25:43 +00:00
Love Hörnquist Åstrand
1212f664ea free openssl engine
deal with RecipientIdentifier -> CMSIdentifier and heim_any -> name change


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-06 22:37:46 +00:00
Love Hörnquist Åstrand
31b9ad59ba improve error logging
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-03 16:54:11 +00:00
Love Hörnquist Åstrand
15994aadba stop using AlgorithmIdentifierNonOpt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-10-03 16:43:24 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Love Hörnquist Åstrand
071edda84b (get_pa_etype_info{,2}): check for dup enctypes from the client and
filter them out.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-13 19:08:26 +00:00
Love Hörnquist Åstrand
af2494e41a (pk_principal_from_X509): reverse test, makes principal in cert work
From: Mayur Patel <patelm4@rpi.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-07-19 20:45:50 +00:00
Love Hörnquist Åstrand
c4ca019013 add enable_pkinit_princ_in_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:35:56 +00:00
Love Hörnquist Åstrand
a26804c1a9 enable_pkinit_princ_in_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:35:33 +00:00
Love Hörnquist Åstrand
4347dadb27 Check certificate for Kerberos Principal in OtherName of subjectAltName
Based on patch from Mayur Patel <patelm4@rpi.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-24 14:34:46 +00:00
Love Hörnquist Åstrand
7fe851e011 (handle_tcp): note who is what that closed the connection on us
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-15 13:13:22 +00:00
Love Hörnquist Åstrand
713ea798a8 use krb5_enctype_to_oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 21:21:54 +00:00
Love Hörnquist Åstrand
36033ab9d4 use krb5_crypto_set_params
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-26 20:08:42 +00:00
Johan Danielsson
26457b7135 replace krb5_free_creds_contents by krb5_free_cred_contents
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 19:25:35 +00:00
Love Hörnquist Åstrand
4fa6529707 use IV for envelopeddata encryption, patch originally from Luke Howard
<lukeh@padl.com>, tweeked by me.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-25 14:29:33 +00:00
Love Hörnquist Åstrand
e597b84708 (generate_dh_keyblock): use the new function krb5_random_to_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-22 11:54:37 +00:00
Love Hörnquist Åstrand
7298e49a3f use the first proposed enable enctype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 15:21:05 +00:00
Love Hörnquist Åstrand
35140ccefa at least try to handle diffrent enveloped enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-21 11:30:20 +00:00
Love Hörnquist Åstrand
2553080b05 replace the krb5.conf configuration option that describes the mapping
between principals and subject names with a file, default
/var/heimdal/pki-mapping. XXX this should be pushed into HDB
XXX should add issuer too


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 09:01:35 +00:00
Love Hörnquist Åstrand
4121fc049e merge certificate/private_key to a user_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-17 08:43:40 +00:00
Love Hörnquist Åstrand
e6dca71033 update prototype for pk_initialize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 09:00:18 +00:00
Love Hörnquist Åstrand
bb7814c980 adapt to heim_integer changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-16 00:38:36 +00:00
Love Hörnquist Åstrand
eac2949b39 adapt to heim_integer changes
merge certificate/private_key to a user_id


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13721 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-15 23:44:02 +00:00
Love Hörnquist Åstrand
0f7b18e449 case size_t to unsigned long for LP64 platforms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-02 21:09:46 +00:00