Commit Graph

14247 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
424b9dfce5 hex encoding/decoding test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:35:08 +00:00
Love Hörnquist Åstrand
0a4ef1094d use size_t for length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 16:59:58 +00:00
Love Hörnquist Åstrand
2add6e06b2 make it work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 16:59:19 +00:00
Love Hörnquist Åstrand
201a3a4122 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:13:19 +00:00
Love Hörnquist Åstrand
6058abac27 use the newly written hex function from roken and remove the old implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:13:01 +00:00
Love Hörnquist Åstrand
ae23224499 add hex.[ch]
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 15:09:35 +00:00
Love Hörnquist Åstrand
61e610065a add hex encoder/decoder
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-04 12:52:46 +00:00
Love Hörnquist Åstrand
7c5f4704ec x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:59:23 +00:00
Love Hörnquist Åstrand
cd6d1bcf87 In 1997, the University of California, Berkeley issued a statement
retroactively relicensing all code held under their copyright from a
4-clause 'traditional' BSD license to a new 3-clause 'revised' BSD
license, which removed the advertising clause.

From NetBSD, via Joel Baker, and Alistair G. Crooks


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:57:46 +00:00
Love Hörnquist Åstrand
de1a25778c remove stray ( in output
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:51:36 +00:00
Love Hörnquist Åstrand
d78aff21b1 Update new revision from NetBSD (copyright update)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-02 22:47:28 +00:00
Love Hörnquist Åstrand
fa3e479a4a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 22:19:21 +00:00
Love Hörnquist Åstrand
aa3da63292 Match solaris 10. From: Joakim Fallsjo <fallsjo@sanchin.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 22:17:44 +00:00
Love Hörnquist Åstrand
61a0a1ccd1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 11:44:38 +00:00
Love Hörnquist Åstrand
a28b812917 note in a comment that this is a generated file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 11:43:01 +00:00
Love Hörnquist Åstrand
110f1ca86e (_gss_DES3_get_mic_compat): don't unlock mutex here. Bug reported by
Stefan Metzmacher <metze@samba.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 09:20:56 +00:00
Love Hörnquist Åstrand
81dcda73d0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:48:02 +00:00
Love Hörnquist Åstrand
555571d923 allow specifing port to connect to
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-01 07:47:32 +00:00
Love Hörnquist Åstrand
20d2613f63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:52:07 +00:00
Love Hörnquist Åstrand
de9438c314 bump version to 17:0:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:51:41 +00:00
Love Hörnquist Åstrand
7015659927 bump version to 21:0:4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:51:02 +00:00
Love Hörnquist Åstrand
c1e831f2dd bump version to 4:1:4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:48:47 +00:00
Love Hörnquist Åstrand
19963908b4 bump version to 7:7:0 and 6:5:2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:45:23 +00:00
Love Hörnquist Åstrand
147757d076 bump version to 8:0:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:44:42 +00:00
Love Hörnquist Åstrand
338ae0e431 bump version to 7:0:1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 15:44:00 +00:00
Love Hörnquist Åstrand
a3f06cb5e1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 09:28:55 +00:00
Love Hörnquist Åstrand
daf0e37e03 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-24 08:57:12 +00:00
Love Hörnquist Åstrand
84029d29a5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:58:42 +00:00
Love Hörnquist Åstrand
6084387c52 (DES_string_to_key_int): must check for weak keys after doing the
DES_cbc_cksum


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:41:40 +00:00
Love Hörnquist Åstrand
56ec611558 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:12:00 +00:00
Love Hörnquist Åstrand
4dbad04b08 key argument to RC4_set_key is not const, remove const from variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 18:03:36 +00:00
Love Hörnquist Åstrand
5b36aeeb92 remove dependency on asprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:57:15 +00:00
Love Hörnquist Åstrand
34f9fc3df4 make destest only once
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:32:56 +00:00
Love Hörnquist Åstrand
1b00602939 use errx on failures, not warnx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 17:30:48 +00:00
Love Hörnquist Åstrand
76b11e195f bring back from the dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:31:01 +00:00
Love Hörnquist Åstrand
c93c4d1a8b Replace the eay DES code with key scheule setup code by me and DES
s-box and p permutation from Richard Outerbridge implemtation (in
public domain).  The DES modes are implemented by me. ui.c code are
from appl/login.

The implementation is about 3 times slower then Eric for encryption,
and about the same speed for key setup.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-23 15:29:36 +00:00
Luke Howard
244ca04320 Remove GSS_C_EXPECTING_MECH_LIST_MIC_FLAG, it is no longer in rfc2478bis
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:48:15 +00:00
Luke Howard
1d02386069 don't call krb5_get_credentials() with
KRB5_TC_MATCH_KEYTYPE, it can lead to the credentials cache
growing indefinitely as no key is found with KEYTYPE_NULL


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-21 08:44:25 +00:00
Luke Howard
0352c20280 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:51:36 +00:00
Luke Howard
d3251a6794 Set KD_CONFIG after calling config_get_hosts() in kpasswd_get_next()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-20 06:50:26 +00:00
Love Hörnquist Åstrand
95ade8fa77 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-16 04:43:16 +00:00
Love Hörnquist Åstrand
e61d38b112 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:47:03 +00:00
Love Hörnquist Åstrand
0e11d3a6ee (DB_open): correct the check for O_RDONLY
From: Chaskiel M Grundman <cg2v@andrew.cmu.edu>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-15 17:45:38 +00:00
Love Hörnquist Åstrand
fd05385450 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:34:05 +00:00
Love Hörnquist Åstrand
d592d092c7 man_MANS += pagsh.1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:27:01 +00:00
Love Hörnquist Åstrand
17dc617a7f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:24:06 +00:00
Love Hörnquist Åstrand
aeedc46505 add --cache-type that allows the user to control the resulting
credential cache type, inherit the type from the invoking process


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:23:28 +00:00
Love Hörnquist Åstrand
fb681cc82f manpag for pagsh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-12 14:21:01 +00:00
Love Hörnquist Åstrand
dde94bd04f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:59 +00:00
Love Hörnquist Åstrand
4651d05136 (krb5_random_to_key): cast size_t to int to make %d work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-09 09:55:44 +00:00