Commit Graph

11554 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
cb07c3282d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:12:45 +00:00
Love Hörnquist Åstrand
1be5e6bcc6 (verify_mic_des3): fix 3des verify_mic to conform to rfc (and mit
kerberos), provide backward compat hook


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:12:15 +00:00
Love Hörnquist Åstrand
dc2b3cf973 (mic_des3): fix 3des get_mic to conform to rfc (and mit kerberos),
provide backward compat hook


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:11:16 +00:00
Love Hörnquist Åstrand
cd32525e84 (init_auth): check if we need compat for older get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:07:56 +00:00
Love Hörnquist Åstrand
34b7a87f0e add prototype for _gss_DES3_get_mic_compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:06:48 +00:00
Love Hörnquist Åstrand
aad7d1ae94 (more_flags): add COMPAT_OLD_DES3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:05:34 +00:00
Love Hörnquist Åstrand
e35ea0a2ce add gssapi.3 and compat.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:04:54 +00:00
Love Hörnquist Åstrand
0897487f98 add gssapi COMPATIBILITY documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:04:27 +00:00
Love Hörnquist Åstrand
f9ab95a942 (gss_accept_sec_context): check if we need compat for older get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:03:29 +00:00
Love Hörnquist Åstrand
73330ee3e2 check for compatiblity with other heimdal's 3des get_mic/verify_mic
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-27 14:02:26 +00:00
Love Hörnquist Åstrand
2185a5f683 add checks for Authenticator too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-26 10:55:07 +00:00
Love Hörnquist Åstrand
0c07588bfa in the hprop example, use hprop and the first component, not host
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-25 16:57:02 +00:00
Love Hörnquist Åstrand
94ff0be352 (find_all_addresses): address-less point-to-point might not have an
address, just ignore those. Reported by Harald Barth.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-25 15:19:49 +00:00
Love Hörnquist Åstrand
50c24d50f2 (check_section): when key isn't found, don't print out all known keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:53:19 +00:00
Love Hörnquist Åstrand
e0a89410d7 (syslogvals): mark up where severity and facility start resp
(check_log): find_value() returns -1 when key isn't found


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:49:32 +00:00
Love Hörnquist Åstrand
ea94038288 (_krb5_aes_cts_encrypt): make key argument a 'const void *' to avoid
AES_KEY being exposed in krb5-private.h


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 19:05:52 +00:00
Love Hörnquist Åstrand
b5e41fe7e1 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 15:37:49 +00:00
Love Hörnquist Åstrand
51b2b8d83c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 15:01:07 +00:00
Love Hörnquist Åstrand
b06ac700d7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:59:55 +00:00
Love Hörnquist Åstrand
1f0aaff6f6 (encode_524_response): its 2b not b2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:59:21 +00:00
Love Hörnquist Åstrand
bf7e9c641a add [kdc]use_2b
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:54:48 +00:00
Love Hörnquist Åstrand
ed93ab111b quote @ where missing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 14:30:31 +00:00
Love Hörnquist Åstrand
5e13e22e90 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:23:16 +00:00
Love Hörnquist Åstrand
192dd1aa4b add check-gen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:23:05 +00:00
Love Hörnquist Åstrand
350b97991f add Principal check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:22:39 +00:00
Love Hörnquist Åstrand
515d17106c move generic asn1/der functions from check-der.c to here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:21:56 +00:00
Love Hörnquist Åstrand
094ad23abc move out the generic asn1/der functions to a common file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-23 10:19:49 +00:00
Love Hörnquist Åstrand
781c950b22 more text about afs, how to get get your KeyFile, and how to start use
2b tokens


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 17:18:05 +00:00
Love Hörnquist Åstrand
07278cae46 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 12:22:59 +00:00
Love Hörnquist Åstrand
34e289f50a spelling, from Jason McIntyre <jmc@cvs.openbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 12:22:20 +00:00
Love Hörnquist Åstrand
5692615e30 spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-22 11:01:21 +00:00
Jacques A. Vidrine
1459e3fbff x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-21 14:15:10 +00:00
Jacques A. Vidrine
2372cc4a9d We need "crypto-headers.h" to get a prototype for des_read_pw_string.
This becomes especially important when building against OpenSSL 0.9.7.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-21 14:13:51 +00:00
Love Hörnquist Åstrand
c2216f8e9e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:11:10 +00:00
Love Hörnquist Åstrand
97b31c3d2d document -v, --verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:10:55 +00:00
Love Hörnquist Åstrand
925e4bc27d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:46 +00:00
Love Hörnquist Åstrand
8d721d0bb4 (kt_get): make getarg usage consistent with other other parts of ktutil
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:23 +00:00
Love Hörnquist Åstrand
22e0de2087 (kt_copy): remove adding verbose_flag to args struct, since it will
overrun the args array (from Sumit Bose)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 18:59:03 +00:00
Love Hörnquist Åstrand
c3ba9c00a7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 05:01:56 +00:00
Love Hörnquist Åstrand
6644351873 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:37:10 +00:00
Love Hörnquist Åstrand
1c9d1873ae write more about [realms] REALM = { kdc = ... }
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:36:40 +00:00
Love Hörnquist Åstrand
5d66fae756 add aes-test.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:26:29 +00:00
Love Hörnquist Åstrand
7a2c854c80 Add support for AES (draft-raeburn-krb-rijndael-krb-02), not enabled
by default.
(HMAC_SHA1_DES3_checksum): rename to SP_HMAC_SHA1_checksum and modify
to support checksumtype that are have a shorter wireformat then their
output block size.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:24:05 +00:00
Love Hörnquist Åstrand
1f6debd562 (struct encryption_type): split the blocksize into blocksize and
padsize, padsize is the minimum padding size. they are the same for now
(enctype_*): add padsize
(encrypt_internal): use padsize
(encrypt_internal_derived): use padsize
(wrapped_length): use padsize
(wrapped_length_dervied): use padsize


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:54:51 +00:00
Love Hörnquist Åstrand
e96bdba80d add extra `opaque' argument to string_to_key function for each enctype
in preparation enctypes that uses `Encryption and Checksum
Specifications for Kerberos 5' draft


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:26:46 +00:00
Love Hörnquist Åstrand
078600e67d soon replaced draft
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:16:20 +00:00
Love Hörnquist Åstrand
0924412e58 add checksum and enctype for AES from draft-raeburn-krb-rijndael-krb-02.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:13:47 +00:00
Love Hörnquist Åstrand
0c14ee0c21 (krb5_keytype): add KEYTYPE_AES128, KEYTYPE_AES256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:12:13 +00:00
Love Hörnquist Åstrand
04f52bfc79 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 07:10:19 +00:00
Love Hörnquist Åstrand
d943f8b219 (_hdb_fetch): handle error code from hdb_value2entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 06:54:32 +00:00