Johan Danielsson
|
5b6b06fe99
|
cleanup default_etypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3589 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-10-13 16:30:28 +00:00 |
|
Johan Danielsson
|
8eb312128d
|
fix warnings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3588 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-10-13 16:30:09 +00:00 |
|
Johan Danielsson
|
02d8acab72
|
Change etype for des3 to des3-cbc-sha1; fix prototype for
keytype_to_cksumtype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3587 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-10-13 16:05:23 +00:00 |
|
Johan Danielsson
|
d659d5b10a
|
use correct etype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3585 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-10-13 15:18:52 +00:00 |
|
Assar Westerlund
|
9531b1f1e4
|
get rid of a stupid warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3575 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:51:16 +00:00 |
|
Assar Westerlund
|
6283405899
|
(krb5_rd_req): redone because we don't know the kvno or keytype before
receiving the AP-REQ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3574 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:50:58 +00:00 |
|
Assar Westerlund
|
6a467e50db
|
(krb5_mk_safe): figure out what cksumtype to use from the keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3573 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:50:12 +00:00 |
|
Assar Westerlund
|
47e156ec98
|
(krb5_mk_req_extended): figure out what cksumtype to use from the
keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3572 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:50:00 +00:00 |
|
Assar Westerlund
|
5ae9947fb9
|
(krb5_mk_priv): figure out what etype to use from the keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3571 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:49:33 +00:00 |
|
Assar Westerlund
|
37ce1009ff
|
forward declaration of `struct sockaddr'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3570 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:49:12 +00:00 |
|
Assar Westerlund
|
9605668675
|
(krb5_kt_get_entry): check the keytype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3569 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:48:55 +00:00 |
|
Assar Westerlund
|
e6c5f9a281
|
(krb5_get_forwarded_creds): figure out what etype to use from the
keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3568 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:48:23 +00:00 |
|
Assar Westerlund
|
4877be55f1
|
(krb5_generate_seq_number): handle other key types than DES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3567 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:45:53 +00:00 |
|
Assar Westerlund
|
5ba6a0b9ec
|
(key_type): add `best_cksumtype'
(krb5_keytype_to_cksumtype): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3566 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:43:08 +00:00 |
|
Assar Westerlund
|
f2943ec899
|
(krb5_build_authenticator): figure out what etype to use from the
keytype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3565 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:42:30 +00:00 |
|
Assar Westerlund
|
f0d8d33171
|
(krb5_auth_con_init): set cksumtype' and enctype' to 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3564 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 20:42:00 +00:00 |
|
Assar Westerlund
|
fc4fa1ec84
|
netinet/in6.h and netinet6/in6.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3561 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 14:00:36 +00:00 |
|
Assar Westerlund
|
b7ccdfc55f
|
*** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3557 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-29 13:24:51 +00:00 |
|
Assar Westerlund
|
3adcf8b005
|
fix checksumtype for des3-cbc-sha1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3547 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-23 07:36:52 +00:00 |
|
Assar Westerlund
|
1de9ecd915
|
fix check for keyed and collision-proof checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3546 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-23 07:35:52 +00:00 |
|
Assar Westerlund
|
1615f1fc72
|
(valid_etype): remove hard-coded constants
(default_etypes): include DES3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3545 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-23 07:35:02 +00:00 |
|
Assar Westerlund
|
4c90a2d058
|
(krb5_sendto_kdc): no data returned means no contact?
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3541 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-23 01:02:13 +00:00 |
|
Assar Westerlund
|
6468ceaf27
|
fix typo in `ipv6_anyaddr'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3540 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-23 01:00:47 +00:00 |
|
Johan Danielsson
|
ac080621cd
|
make DES3_string_to_key static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3539 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 18:43:02 +00:00 |
|
Johan Danielsson
|
a894a2ae96
|
`deprecate' krb5_key_to_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3538 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 18:42:16 +00:00 |
|
Johan Danielsson
|
1e000dca69
|
Fix a lot of etype/keytype misuse.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3529 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 18:05:07 +00:00 |
|
Johan Danielsson
|
8df2b46712
|
Moved generate_random_keyblock to encrypt.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3528 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 18:04:15 +00:00 |
|
Johan Danielsson
|
132bad619c
|
Add des3-cbc-md5, and des3-cbc-sha1. Add many *_to_* functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3527 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 18:03:30 +00:00 |
|
Johan Danielsson
|
9fb9a096f6
|
Pass keytype to krb5_string_to_key().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3525 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 16:20:57 +00:00 |
|
Johan Danielsson
|
5a3f3a4382
|
Add des3 string-to-key. Add ktype argument to krb5_string_to_key().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3524 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 16:20:02 +00:00 |
|
Johan Danielsson
|
84bdfcb1d8
|
Some cleanup, and added:
- rsa-md5-des3
- hmac-sha1-des3
- keyed and collision proof flags
to each checksum method
- checksum<->string functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3522 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 16:08:10 +00:00 |
|
Johan Danielsson
|
6982ad8930
|
Add CKSUMTYPE_HMAC_SHA1_DES3, CKSUMTYPE_SHA1, and KEYTYPE_DES3.
Rename krb5_time to krb5_timestamp, add krb5_deltat.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3521 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 15:55:03 +00:00 |
|
Johan Danielsson
|
e972be3265
|
Use krb5_generate_random_keyblock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3519 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-22 09:44:07 +00:00 |
|
Assar Westerlund
|
2ca944d2bc
|
use new addr_families functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3517 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:24:31 +00:00 |
|
Assar Westerlund
|
ebe1fa6374
|
use new addr_families functions. Now works over IPv6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3516 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:24:12 +00:00 |
|
Assar Westerlund
|
e8ff5b15f8
|
add KRB5_ADDRESS_INET6
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3514 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:23:09 +00:00 |
|
Assar Westerlund
|
8876c146de
|
const argument to krb5_data_copy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3513 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:22:40 +00:00 |
|
Assar Westerlund
|
811ad639c4
|
remove old code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3512 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:21:44 +00:00 |
|
Assar Westerlund
|
a4974013d9
|
new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3511 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:21:27 +00:00 |
|
Assar Westerlund
|
20686c575d
|
addr_families
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3510 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-21 13:21:12 +00:00 |
|
Assar Westerlund
|
21a372e534
|
support ; for comments for compatability with MIT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3503 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-18 07:25:06 +00:00 |
|
Assar Westerlund
|
0578c01b1f
|
compat for different IPv6-APIs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3485 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:29:58 +00:00 |
|
Assar Westerlund
|
b09f153c01
|
rename sa_len' -> sa_size'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3484 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:22:32 +00:00 |
|
Assar Westerlund
|
edb6c31a66
|
new configuration variable `max_retries'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3482 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:07:42 +00:00 |
|
Assar Westerlund
|
4704b3c219
|
IPv6 support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3479 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:06:36 +00:00 |
|
Assar Westerlund
|
f62e4928b2
|
add `max_retries' in context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3478 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:05:15 +00:00 |
|
Assar Westerlund
|
8955ad11fc
|
fixes and better #ifdef's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3477 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:05:02 +00:00 |
|
Assar Westerlund
|
9f3ecc9c60
|
implement krb5_config_get_int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3476 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-12 23:04:31 +00:00 |
|
Johan Danielsson
|
0c311e02c1
|
fix: allow NULL server
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3462 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-10 19:20:58 +00:00 |
|
Johan Danielsson
|
65970ca7cd
|
transited.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3461 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
1997-09-10 19:20:40 +00:00 |
|