Assar Westerlund
67934559ea
(krb5_rd_req): use krb5_auth_con* functions and remove some comments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10095 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 02:48:18 +00:00
Assar Westerlund
c9804d29c8
(krb5_verify_authenticator_checksum): use renamed
...
krb5_auth_con_getauthenticator
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-17 23:13:31 +00:00
Assar Westerlund
d27aa3b62e
add some krb5_{set,clear}_error_string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:14:52 +00:00
Assar Westerlund
fd1fa8bd77
(decrypt_authenticator): add an encryption `usage'. also try the old
...
(and wrong) usage of KRB5_KU_AP_REQ_AUTH for backwards compatibility
(krb5_verify_ap_req2): new function for specifying the usage different
from the default (KRB5_KU_AP_REQ_AUTH)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:16:28 +00:00
Assar Westerlund
20173f77c5
(krb5_decrypt_ticket): plug some memory leak
...
(krb5_rd_req): try not to return an allocated auth_context on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-17 21:47:37 +00:00
Assar Westerlund
accdd87f82
check return value from krb5_crypto_init
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +00:00
Johan Danielsson
ba912b7548
check_transited
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-07 13:31:55 +00:00
Assar Westerlund
209565763c
update to new prototype of krb5_timeofday
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-06 05:20:51 +00:00
Assar Westerlund
6e3c101b6c
(get_key_from_keytab): rename parameter to `out_key' to avoid
...
conflicting with label. reported by Sean Doran <smd@ebone.net >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-02-03 02:13:37 +00:00
Johan Danielsson
c5b916ca6f
remove advertising clause
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7464 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-02 17:05:13 +00:00
Assar Westerlund
6cc3a89c55
(krb5_decrypt_ticket): add flags
and
...
KRB5_VERIFY_AP_REQ_IGNORE_INVALID for ignoring that the ticket is invalid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6017 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-20 14:18:11 +00:00
Johan Danielsson
aaae186ab9
merge new-crypto branch
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-11 21:03:59 +00:00
Johan Danielsson
4a82de96b1
Use krb5_decode_EncTicketPart, and krb5_decode_Authenticator.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4368 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-31 16:36:02 +00:00
Johan Danielsson
a99929c553
Use krb5_convert_etype.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4354 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-22 23:32:52 +00:00
Johan Danielsson
259d89264a
changes for modified auth_context
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4156 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-12-07 15:43:18 +00:00
Assar Westerlund
45fd07a5a9
(krb5_rd_req): fixed obvious bug
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4073 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-29 06:16:53 +00:00
Johan Danielsson
99d169ba18
Use principal from ticket if no server is given.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-20 01:55:04 +00:00
Johan Danielsson
5cc9270d81
Remove krb5_rd_req_with_keytab.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3926 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 04:16:09 +00:00
Johan Danielsson
fb0f4ca9c3
Make authcontext->keyblock a pointer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:51:35 +00:00
Johan Danielsson
cdcd52185a
Use auth_context->keyblock if ap_options.use_session_key.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3909 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-11-11 01:37:39 +00:00
Johan Danielsson
21b845a7f4
Move parts of krb5_verify_ap_req into a new function,
...
krb5_decrypt_ticket, so it is easier to decrypt and check a ticket
without having an ap-req.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3673 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-10-27 23:14:51 +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
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
6fd5ea4f86
use krb5_timeofday and krb5_us_timeofday
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2927 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-11 23:35:31 +00:00
Assar Westerlund
c4f7020b3a
free more
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2858 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-09 01:14:35 +00:00
Assar Westerlund
81c4d52fa5
removed ugly cast
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-08-08 22:52:13 +00:00
Assar Westerlund
5ee8d92f1c
revert 1.20
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2626 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-25 14:49:13 +00:00
Assar Westerlund
d12dca0f40
(krb5_verify_ap_req): do abs when verifying the timestamps
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2594 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-24 07:23:00 +00:00
Assar Westerlund
d7928440a3
free more
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2569 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-23 23:54:37 +00:00
Johan Danielsson
5a32a5c8e7
Add copyright notice.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2389 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 21:40:05 +00:00
Johan Danielsson
a075efc7b6
Rename AP_REQ to krb5_ap_req.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2344 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-16 01:19:09 +00:00
Assar Westerlund
77833b4151
(krb5_verify_ap_req): record authenticator subkey
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2291 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 12:21:52 +00:00
Johan Danielsson
1b28095879
Split rd_req in two functions.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2261 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-14 10:06:54 +00:00
Johan Danielsson
40271ed7d8
Free allocated data.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2222 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-13 00:47:07 +00:00
Assar Westerlund
cbab5928ec
add address compare
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2190 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-12 14:39:44 +00:00
Assar Westerlund
b0c9ece231
int len -> size_t len
...
fixed calls to `krb5_{en,de}crypt'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2023 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-07 09:53:00 +00:00
Johan Danielsson
405d2be7c4
Update to use new decode/encode syntax.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1952 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-07-01 23:54:55 +00:00
Assar Westerlund
3bea889f4e
Adapt to new `krb5_authenticator'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1913 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-16 03:42:09 +00:00
Johan Danielsson
50900e67c9
Rename contents to keyvalue.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1888 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-10 14:20:42 +00:00
Assar Westerlund
9cb6e5dddc
Some support for KRB5_AUTH_CONTEXT_DO_SEQUENCE
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1807 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-06-01 14:37:54 +00:00
Assar Westerlund
1f82ca036e
empty lines
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1440 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-16 17:17:56 +00:00
Johan Danielsson
708eaba401
Return whole asn.1 ticket in krb5_ticket->tkt.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1354 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-11 19:25:23 +00:00
Johan Danielsson
8515415b33
Add function krb5_rd_req_with_keyblock that takes a precomputed
...
keyblock.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1341 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-10 00:17:35 +00:00
Assar Westerlund
8a47809c18
do some checks on times
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1332 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-09 20:59:26 +00:00
Assar Westerlund
e500b96716
Use krb5_decrypt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1328 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-09 20:03:12 +00:00
Assar Westerlund
aa0c1fc1c0
clean-up
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1318 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-03-08 11:08:58 +00:00
Assar Westerlund
6a5deb6e2a
new files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1222 ec53bebd-3082-4978-b11e-865c3cabbd6b
1997-02-08 15:03:59 +00:00