Love Hörnquist Åstrand
6d4640ff58
move test_crypto to noinst_PROGRAMS
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:33:47 +00:00
Love Hörnquist Åstrand
3676f25630
add --version,--help
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 17:32:43 +00:00
Love Hörnquist Åstrand
420d238b8c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 13:13:15 +00:00
Love Hörnquist Åstrand
c5919960a3
(main): return the return value from simple_execvp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-01 13:09:30 +00:00
Love Hörnquist Åstrand
846079801a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 02:42:06 +00:00
Love Hörnquist Åstrand
7d8cc56531
don't use PKINIT DH per default since its too slow
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 02:41:53 +00:00
Love Hörnquist Åstrand
456f102612
tweek to make pkinit work with the fact the asn1_compile can't
...
generate code for context tagless optionals
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 00:46:02 +00:00
Love Hörnquist Åstrand
8e42e1a3f4
add support for KDC side of DH PKINIT
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-26 00:44:54 +00:00
Love Hörnquist Åstrand
b3b050fa31
clean up error handling, make enc-type work again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 23:26:58 +00:00
Love Hörnquist Åstrand
d0ac6c4084
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 11:03:06 +00:00
Love Hörnquist Åstrand
346d1a2643
add flag to make it work with dh
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 11:02:09 +00:00
Love Hörnquist Åstrand
9b2795abd8
make PKINIT DH support work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-25 10:53:20 +00:00
Love Hörnquist Åstrand
193e69bf87
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13153 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 22:17:15 +00:00
Love Hörnquist Åstrand
2e2cefa48f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13152 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 08:57:37 +00:00
Love Hörnquist Åstrand
e967835b0c
(LDADD): link with LIB_dlopen
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 08:56:51 +00:00
Love Hörnquist Åstrand
e1094e3414
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13150 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:19:24 +00:00
Love Hörnquist Åstrand
7afa1d35ae
clean up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:18:23 +00:00
Love Hörnquist Åstrand
c90cadbe73
make pkinit_win2k_compatible into a flag field
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13148 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:14:53 +00:00
Love Hörnquist Åstrand
aff1525106
remove most compile depencies
...
clean up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13147 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 06:13:37 +00:00
Love Hörnquist Åstrand
e10d6ca29d
print an error and turn of pkinit if openssl failed to load
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13146 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:36:06 +00:00
Love Hörnquist Åstrand
d8c5b10b7d
(kdc_SOURCES): += pkinit.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13145 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-24 04:31:21 +00:00
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