Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7050354151
more includes files for solaris.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:27:18 +00:00
Love Hörnquist Åstrand
56f2ac7ff1
move encrypt.h and misc.h later
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-21 15:22:56 +00:00
Love Hörnquist Åstrand
71a0098c0d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23092 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:46 +00:00
Love Hörnquist Åstrand
d2ecc5a8af
Use RAND_bytes() + DES_is_weak_key() to generate random DES
...
key. Introdunce random by feeding the des session key into the random
pool when the keys is recived instead of encrypt the random key with
the kerberos key.
This avoid depenency on DES_new_random_key() that doesn't exists in OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:49:41 +00:00
Love Hörnquist Åstrand
c99e6f2245
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:59 +00:00
Love Hörnquist Åstrand
bdc1855499
No need to call DES_init_random_number_generator, hcrypto is sane now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:54 +00:00
Love Hörnquist Åstrand
cd980194d9
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:48 +00:00
Love Hörnquist Åstrand
aa080e84ce
Use DES_new_random_key().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-18 10:01:40 +00:00
Love Hörnquist Åstrand
811523efa5
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:29 +00:00
Love Hörnquist Åstrand
5f47850b7e
Really, mac os uses wtmpx (or asl).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-10 10:44:23 +00:00
Love Hörnquist Åstrand
fe5323f0e5
use unsigned/size_t where approprite
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:20 +00:00
Love Hörnquist Åstrand
254f650128
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:52:03 +00:00
Love Hörnquist Åstrand
b077706b1d
Use size_t where appropriate.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:51:58 +00:00
Love Hörnquist Åstrand
574683e7ab
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:48:09 +00:00
Love Hörnquist Åstrand
bdd75a7ca8
Dont need to set this as the controlling PTY on steams sockets, don't
...
abort on failure. From Harald Barth and Ian Delahorne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 21:47:53 +00:00
Love Hörnquist Åstrand
793dd27918
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:13:15 +00:00
Love Hörnquist Åstrand
39733fdb03
Use strlcpy instead of strncpy, thanks to Antoine Brodin.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-31 10:12:48 +00:00
Love Hörnquist Åstrand
5fed824f37
its vs it\'s etc. From Bjorn Sandell
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-14 20:04:50 +00:00
Love Hörnquist Åstrand
992f052ac7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 18:58:22 +00:00
Love Hörnquist Åstrand
28dc596f15
(usage): use exit_code, add --version and --help.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 18:57:20 +00:00
Love Hörnquist Åstrand
91352af590
Usage is static now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:55:45 +00:00
Love Hörnquist Åstrand
47a4623c9c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21733 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:40:58 +00:00
Love Hörnquist Åstrand
cd48123810
Add --help.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21732 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-31 01:40:30 +00:00
Love Hörnquist Åstrand
15ea035aef
Catch --help, reported by David Love.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-30 20:01:26 +00:00
Love Hörnquist Åstrand
3d31f777e0
Remove leftover.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21520 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:11:49 +00:00
Love Hörnquist Åstrand
9cd3a9b5f0
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:06:35 +00:00
Love Hörnquist Åstrand
578a6f5594
GLIBC made the choice that ut_tv should be shared between 32 and 64
...
bit platforms so now we can no longer use struct timeval functions to
compare or set/get data that uses pointer (gettimeofday for example)
since ut_tv is now not a struct timeval but rather a struct { int32_t
tv_sec; int32_t tv_usec; };
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21518 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-12 13:04:50 +00:00
Love Hörnquist Åstrand
cc4333b758
remove cvs ignore files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
7ba2b2006c
rename des to hcrypto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
32219af692
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-22 15:58:07 +00:00
Love Hörnquist Åstrand
94d736b2ab
Include roken.h before the local headerfiles.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 19:14:13 +00:00
Love Hörnquist Åstrand
8833c418b6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:52 +00:00
Love Hörnquist Åstrand
585ce9cbb0
HP/UX defines SE in sys/uio.h, #undef it.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 15:47:35 +00:00
Love Hörnquist Åstrand
e7c62c79bb
Fix spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 13:37:28 +00:00
Love Hörnquist Åstrand
3d9e801723
x
...
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:09:56 +00:00
Love Hörnquist Åstrand
489987bee3
Dont't include some streamspty headers here.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:09:25 +00:00
Love Hörnquist Åstrand
a8d177955e
includes some STREAMSPTY header here to avoid ioctl vs socket_wrapper horror.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 00:08:28 +00:00
Love Hörnquist Åstrand
d8fb637ef8
more files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 17:09:30 +00:00
Love Hörnquist Åstrand
ce572a7ba7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 17:01:34 +00:00
Love Hörnquist Åstrand
a15cdbad3b
Include roken.h last to avoid rewriting the wrong symbol
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 16:12:47 +00:00
Love Hörnquist Åstrand
0c07686775
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-17 20:08:10 +00:00
Love Hörnquist Åstrand
62e15d7f6b
Add documentation for -e, require encryption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18113 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:27:40 +00:00
Love Hörnquist Åstrand
b6e0a49796
Add require_encryption.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:26:50 +00:00
Love Hörnquist Åstrand
4adf47957d
Allow encryption to be required, wait to the client to turn it on, if
...
failes, refuse the connection.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:26:21 +00:00
Love Hörnquist Åstrand
ead5f1b7b6
If encryption is required, don't allow it to be turned off.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-19 08:25:20 +00:00
Love Hörnquist Åstrand
5057bc0432
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17993 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 12:52:28 +00:00
Love Hörnquist Åstrand
9d9e47cb42
(kerberos5_forward): use KDCOptions2int on flags before passing them
...
to krb5_get_forwarded_creds.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17991 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-04 12:37:02 +00:00
Love Hörnquist Åstrand
5118c90498
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
e23391e667
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-23 19:38:10 +00:00