Commit Graph

7219 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
244e0b3971 do error handling and catch programmers errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 23:28:10 +00:00
Love Hörnquist Åstrand
81e92ae5b3 use KRB5_PADATA_PK_AS_REQ_19
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:59:39 +00:00
Love Hörnquist Åstrand
19c78d1e03 fold in pk-init-25 asn1 changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 22:39:17 +00:00
Love Hörnquist Åstrand
b68c2887d2 use generated oid's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-09 15:31:39 +00:00
Love Hörnquist Åstrand
f69e7ee138 use the new generated oid functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:57:22 +00:00
Love Hörnquist Åstrand
2b0b4dc044 update to the asn1 structures used in -25's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-08 22:17:46 +00:00
Love Hörnquist Åstrand
842d538ec3 check_PROGRAMS += hex-test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 17:05:47 +00:00
Love Hörnquist Åstrand
de77e55cc5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:39:28 +00:00
Love Hörnquist Åstrand
8fe2a2f908 fix decodeing, it processed to much data and thus returned the wrong length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-03-06 16:37:55 +00:00
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
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
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
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
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
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
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
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
Love Hörnquist Åstrand
620f5d40f8 (krb5_kt_get_entry): tell what enctype the caller requested to provide
the user with a glue what the caller was asking for.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-08 12:12:53 +00:00
Luke Howard
fb69189ceb Add _krb5_kcm_is_running/_krb5_kcm_noop API
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-06 01:33:21 +00:00
Love Hörnquist Åstrand
e5e8db131d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:29 +00:00
Love Hörnquist Åstrand
9d8ae839f2 de-__P
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:45:13 +00:00
Love Hörnquist Åstrand
5d95fe0e1c document large_msg_size
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:39:57 +00:00
Love Hörnquist Åstrand
c75a81d69f (init_context_from_config_file): init large_msg_size to 6000
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:36:25 +00:00
Love Hörnquist Åstrand
a298a950b1 (krb5_context_data): add large_msg_size, threshold where we start to
use transport protocols without tiny max data transport sizes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:26:27 +00:00
Love Hörnquist Åstrand
1ba81cd3f1 drop prototypes, they all live in krb5-private.h by now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:21:31 +00:00