Commit Graph

12855 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
0612f36a98 read pkinit (pki-muble) configuration options
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13144 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:30:13 +00:00
Love Hörnquist Åstrand
a81af4edb5 add pkinit support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:19:43 +00:00
Love Hörnquist Åstrand
962356b65c add prototypes for pkinit
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13142 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:15:55 +00:00
Love Hörnquist Åstrand
c055731b98 PKINIT patch from Daniel Kouril and Petr Holub, I removed the
dependency on valicert asn1 parser, remove smartcard and globus
support (for now). Work to be done on this: DH support, Globus
support, Smartcard support, windows support (MS implements -09 of the
draft), make it conform to the new draft


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:13:46 +00:00
Love Hörnquist Åstrand
e3c2965c74 fix bugs, improve error reporting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13140 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:10:00 +00:00
Love Hörnquist Åstrand
80c1204118 XXX add some "struct foo;" glue for pkinit structures that isn't used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13139 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:45:47 +00:00
Love Hörnquist Åstrand
8f1d37e688 clean up, make remove depenency on openssl's api
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13138 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:43:27 +00:00
Love Hörnquist Åstrand
d601b85bd3 add some glue for pkinit
add reference counter to _krb5_get_init_creds_opt_private


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:40:23 +00:00
Love Hörnquist Åstrand
9c1ceb2050 reference count krb5_get_init_creds_opt private component to avoid
copy all the data in it


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13136 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 23:38:02 +00:00
Love Hörnquist Åstrand
0cb92c7056 (AES_string_to_key): fix memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 22:06:34 +00:00
Love Hörnquist Åstrand
5c2a1917c0 (init_cred_loop): fix memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 21:17:52 +00:00
Love Hörnquist Åstrand
b4fc4e3eb4 include pthread.h in the pthread case
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 20:16:50 +00:00
Love Hörnquist Åstrand
6f6e81bdbd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:26:44 +00:00
Love Hörnquist Åstrand
122bc51378 don't include <krb5-private.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:24:16 +00:00
Love Hörnquist Åstrand
8ae4ac8c04 stop using krb5 lib private byte-frobbing functions and replace them
with with krb5_storage


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-23 06:23:28 +00:00
Love Hörnquist Åstrand
05ab428f9c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13129 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-22 22:43:34 +00:00
Love Hörnquist Åstrand
3882d8ca5f Don't require timestamp to be set on delegated token, its already
protected by the outer token (and windows doesn't alway send it)
Pointed out by Zi-Bin Yang <zbyang@decru.com> on heimdal-discuss


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13128 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-22 22:42:16 +00:00
Johan Danielsson
67e6f2f7eb strncasecmp returns integer so don't compare with NULL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 18:19:17 +00:00
Love Hörnquist Åstrand
f00c4ac492 (receive_loop): when seeking over the entries we already have, skip
over the trailer.
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-19 03:21:31 +00:00
Love Hörnquist Åstrand
b2d9a55c02 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:20:30 +00:00
Love Hörnquist Åstrand
ef7b3a72f6 (main): parse kdc.conf
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 23:19:26 +00:00
Love Hörnquist Åstrand
f89b11304e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 22:18:09 +00:00
Love Hörnquist Åstrand
4fd9447d78 (main): parse kdc.conf
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 22:17:12 +00:00
Love Hörnquist Åstrand
e9f1c07ce7 (main): move opening the logfile to after reading kdc.conf
move the loading of hdb keytab ops closer to where its used
From: Jeffrey Hutzelman <jhutz@cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13121 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-18 22:13:27 +00:00
Love Hörnquist Åstrand
43d74c9d79 (TESTS): add test_crypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13120 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-15 07:04:17 +00:00
Love Hörnquist Åstrand
1c791de2da time crypto operations
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13119 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-15 06:49:20 +00:00
Love Hörnquist Åstrand
210a5b92a6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13118 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:30:48 +00:00
Love Hörnquist Åstrand
82fa1ca07c typo, Bruno Rohee <bruno@rohee.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:29:22 +00:00
Love Hörnquist Åstrand
fed823fc9e spelling, Bruno Rohee <bruno@rohee.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 16:27:43 +00:00
Love Hörnquist Åstrand
8f3b927b5f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 03:13:33 +00:00
Love Hörnquist Åstrand
00c0fe1ebb fix {} error, pointed out by Liqiang Zhu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 03:11:23 +00:00
Johan Danielsson
d9184441ba x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-13 13:14:38 +00:00
Johan Danielsson
7f4c9f32c2 add telnet -F option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-13 13:14:13 +00:00
Love Hörnquist Åstrand
155a667009 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-10 15:43:20 +00:00
Love Hörnquist Åstrand
33b781c6f6 Sequence number should be stored in bigendian order
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-10 15:40:36 +00:00
Love Hörnquist Åstrand
495f9b249e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:35:50 +00:00
Love Hörnquist Åstrand
f0e00bfd8d (krb5_verify_ap_req2): krb5_free_ticket free the ticket now, rewrite
error handling to handle that


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13108 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:28:01 +00:00
Love Hörnquist Åstrand
bc935dd347 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:22:46 +00:00
Love Hörnquist Åstrand
711b17e252 (gss_delete_sec_context): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:17:13 +00:00
Love Hörnquist Åstrand
20a96e4876 (process): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 01:12:09 +00:00
Love Hörnquist Åstrand
4e48b5550c (tgs_rep2): don't free ticket, krb5_free_ticket does that now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 00:58:03 +00:00
Love Hörnquist Åstrand
3d146065c3 (krb5_free_ticket): free the ticket itself to match mit behavior,
pointed out by Derrick Brashear


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13102 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 00:53:12 +00:00
Love Hörnquist Åstrand
52330937a3 krb5_free_ticket free the whole ticket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-09 00:48:40 +00:00
Love Hörnquist Åstrand
ceffd3f0a4 add [appdefaults]kinit/pkinit-ca-dir
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 19:23:51 +00:00
Love Hörnquist Åstrand
cb698a314c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13099 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 09:45:17 +00:00
Love Hörnquist Åstrand
c8d290d46d add krb5_padata_add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13098 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 09:36:35 +00:00
Love Hörnquist Åstrand
5e15b4e031 krb5_context_data.pkinit_win2k_compatible
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13097 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 09:34:54 +00:00
Love Hörnquist Åstrand
8260bb511d add pkinit.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13096 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 09:32:47 +00:00
Love Hörnquist Åstrand
c7a2d2d775 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 08:59:30 +00:00
Love Hörnquist Åstrand
237ff82b29 add pkinit support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13094 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-08 08:56:38 +00:00