Commit Graph

914 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
57826dfa7e update year
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 10:32:47 +00:00
Love Hörnquist Åstrand
3ea2077af8 stop the client from renewing tickets into the future
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-30 09:19:14 +00:00
Love Hörnquist Åstrand
6c42be48d6 s/krb5_get_host_realm_int/_&/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-23 12:08:55 +00:00
Love Hörnquist Åstrand
0d2fb05db7 adapt to change of signature of _krb5_pk_load_openssl_id
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-21 18:48:35 +00:00
Love Hörnquist Åstrand
08d9c002c9 add --builtin-hdb command
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-19 20:09:43 +00:00
Love Hörnquist Åstrand
72ca40b845 add missing req argument to pk_mk_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:34:18 +00:00
Love Hörnquist Åstrand
d263741bef update prototype for pk_mk_pa_reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:18:57 +00:00
Love Hörnquist Åstrand
dc86c0f0f9 (pk_mk_pa_reply): add hdb_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:16:40 +00:00
Love Hörnquist Åstrand
b7907c6862 pass client hdb_entry to pk_check_client
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 22:00:37 +00:00
Love Hörnquist Åstrand
9197bbb0c8 rename ca_dir to pkinit/x509_anchors since its more like that language
in RFC3280


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-09 21:06:10 +00:00
Love Hörnquist Åstrand
288ae5fc9a add --disable-DES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 17:10:46 +00:00