aa3701f551
rewrite/implement krb5_get_init_creds_password with new preauth handing, still it can only work with krb5-pa-enc-timestamp for preauth, but now it can handle etype-info2
Love Hörnquist Åstrand
2003-09-02 23:17:08 +00:00
ca9d0c8062
(krb5_get_init_creds_opt_alloc): allocate a opt structure (krb5_get_init_creds_opt_free): free a opt structure (krb5_get_init_creds_opt_set_pa_password): set preauth info for enc-timestamp
Love Hörnquist Åstrand
2003-09-02 23:12:54 +00:00
3400abc1ef
add struct _krb5_get_init_creds_opt_private
Love Hörnquist Åstrand
2003-09-02 23:11:17 +00:00
a14f0b93c3
x
Love Hörnquist Åstrand
2003-09-02 20:52:27 +00:00
24b09630d3
add SAM keyusage numbers add s2k proc typedef add a pointer to a private part of krb5_get_init_creds_opt
Love Hörnquist Åstrand
2003-09-02 20:51:48 +00:00
378d92a693
(main): avoid const warning by using a extra variable
Love Hörnquist Åstrand
2003-09-02 03:01:58 +00:00
0b7b55471d
x
Love Hörnquist Åstrand
2003-09-02 02:50:43 +00:00
cf096d7787
(tgets): avoid be clobbered by longjmp' or vfork' warning
Love Hörnquist Åstrand
2003-09-02 02:49:58 +00:00
036d477a1c
x
Love Hörnquist Åstrand
2003-09-01 15:11:28 +00:00
41ee26c847
rename gss_krb5_extract_authz_data_from_sec_context to gsskrb5_extract_authz_data_from_sec_context
Love Hörnquist Åstrand
2003-09-01 15:11:09 +00:00
199d7998ff
x
Love Hörnquist Åstrand
2003-08-31 21:58:37 +00:00
90b52bb83b
(gss_krb5_extract_authz_data_from_sec_context): check that we have a ticket before we start to use it
Love Hörnquist Åstrand
2003-08-31 21:56:26 +00:00
1f5d66620a
document gss_krb5_extract_authz_data_from_sec_context
Love Hörnquist Åstrand
2003-08-31 19:52:44 +00:00
4ddc6a08ed
(gss_krb5_extract_authz_data_from_sec_context): return the kerberos authorizationdata, from idea of Luke Howard
Love Hörnquist Åstrand
2003-08-31 19:52:16 +00:00
6a722501fe
(gss_verify_mic_internal): switch type and key argument
Love Hörnquist Åstrand
2003-08-31 19:50:34 +00:00
2b9a5993d7
x
Love Hörnquist Åstrand
2003-08-31 19:33:16 +00:00
a3af14abf9
(krb5_ticket_get_authorization_data_type): reindent
Love Hörnquist Åstrand
2003-08-31 19:32:57 +00:00
0c533c290e
fix spelling in last commit
Love Hörnquist Åstrand
2003-08-31 14:51:06 +00:00
af371af07a
(krb5_copy_ticket): free all data when failing, copy data to right memory, the later pointed out by Luke Howard.
Love Hörnquist Åstrand
2003-08-31 02:05:31 +00:00
d305925af4
x
Love Hörnquist Åstrand
2003-08-30 14:34:17 +00:00
bde1acd681
x
Love Hörnquist Åstrand
2003-08-30 13:52:44 +00:00
a67627e780
draft-ietf-krb-wg-gssapi-cfx-01.txt implemetation From: Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-30 13:51:41 +00:00
b28bc0ec58
cfx-01 use diffrent usage numbers
Love Hörnquist Åstrand
2003-08-30 13:45:21 +00:00
7e3236c811
x
Love Hörnquist Åstrand
2003-08-29 16:53:53 +00:00
c0d1c74757
try to include more db headers
Love Hörnquist Åstrand
2003-08-29 16:53:37 +00:00
8e7024e104
x
Love Hörnquist Åstrand
2003-08-29 16:38:15 +00:00
32276ee7b7
patch for working with DB4 on heimdal-discuss From: Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-29 16:37:25 +00:00
602247aaac
x
Love Hörnquist Åstrand
2003-08-28 11:08:35 +00:00
da8892828c
(arcfour_mic_cksum): use free_Checksum to free the checksum
Love Hörnquist Åstrand
2003-08-28 11:08:26 +00:00
adc6d86b7d
swap two last arguments to verify_mic for consistency with des3
Love Hörnquist Åstrand
2003-08-28 11:00:23 +00:00
ea87ec5a69
x
Love Hörnquist Åstrand
2003-08-28 10:54:50 +00:00
9673c61169
prefix cfx symbols with _gssapi_
Love Hörnquist Åstrand
2003-08-28 10:54:06 +00:00
4f2548810a
release the right buffer
Love Hörnquist Åstrand
2003-08-28 10:48:32 +00:00
d432d068e5
rename token structure in consistency with rest of GSS-API From: Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-28 10:41:36 +00:00
bdf7544c1b
(unwrap_des3): use _gssapi_verify_pad (unwrap_des): use _gssapi_verify_pad
Love Hörnquist Åstrand
2003-08-28 10:24:45 +00:00
504acf338f
(_gssapi_wrap_arcfour): set the correct padding (_gssapi_unwrap_arcfour): verify and strip padding
Love Hörnquist Åstrand
2003-08-28 10:23:28 +00:00
ff1011309d
added _gssapi_verify_pad
Love Hörnquist Åstrand
2003-08-28 10:22:25 +00:00
9ef52e1041
(_gssapi_verify_pad): verify padding of a gss wrapped message and return its length
Love Hörnquist Åstrand
2003-08-28 10:22:03 +00:00
53ad072bc7
x
Love Hörnquist Åstrand
2003-08-28 08:07:08 +00:00
8374158e8c
support KEYTYPE_ARCFOUR_56 keys, from Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-28 07:57:29 +00:00
8a4d53ac23
use right seal alg, inherit keytype from parent key
Love Hörnquist Åstrand
2003-08-28 07:55:54 +00:00
ea0b1265fa
add KEYTYPE_ARCFOUR_56
Love Hörnquist Åstrand
2003-08-28 07:52:23 +00:00
9f9fde52a7
include the confounder in the checksum use the right key usage number for warped/unwraped tokens
Love Hörnquist Åstrand
2003-08-28 07:17:33 +00:00
0ec5289d77
x
Love Hörnquist Åstrand
2003-08-28 02:24:41 +00:00
466c633f62
add gss_krb5_nt_general_name as an mit compat glue (same as GSS_KRB5_NT_PRINCIPAL_NAME)
Love Hörnquist Åstrand
2003-08-28 02:23:52 +00:00
172de7a048
send both INT and CONF wrapped token
Love Hörnquist Åstrand
2003-08-28 00:08:48 +00:00
64979ecfcb
recv both INT and CONF wrapped token
Love Hörnquist Åstrand
2003-08-28 00:08:28 +00:00
ba7a3aa53e
x
Love Hörnquist Åstrand
2003-08-28 00:07:37 +00:00
7911b7e907
hook in arcfour unwrap
Love Hörnquist Åstrand
2003-08-28 00:07:25 +00:00
221fd47408
hook in arcfour wrap
Love Hörnquist Åstrand
2003-08-28 00:07:07 +00:00
f74f70a4a7
hook in arcfour verify_mic
Love Hörnquist Åstrand
2003-08-28 00:06:36 +00:00
1f92183e98
hook in arcfour get_mic
Love Hörnquist Åstrand
2003-08-28 00:06:22 +00:00
7c691b1d90
implement wrap/unwarp
Love Hörnquist Åstrand
2003-08-28 00:04:59 +00:00
c7573576f2
add gssapi_{en,de}code_be_om_uint32
Love Hörnquist Åstrand
2003-08-28 00:02:24 +00:00
7ba349d53a
add KRB5_NT_SMTP_NAME and KRB5_NT_ENTERPRISE
Love Hörnquist Åstrand
2003-08-27 22:10:29 +00:00
5365a4f91a
x
Johan Danielsson
2003-08-27 18:33:32 +00:00
f4b6c3c719
don't include discovered files in EXTRA_SOURCES; don't depend on all header files, just the built ones
Johan Danielsson
2003-08-27 18:33:25 +00:00
cfd2662813
x
Johan Danielsson
2003-08-27 18:15:48 +00:00
48bb32ebe5
test for variable-length arrays
Johan Danielsson
2003-08-27 18:15:40 +00:00
cd87e37aa4
x
Love Hörnquist Åstrand
2003-08-27 13:34:59 +00:00
1890d21435
make the function threadsafe by removing static on the local variable zeros
Love Hörnquist Åstrand
2003-08-27 13:34:13 +00:00
63f8f216cd
x
Johan Danielsson
2003-08-27 13:11:29 +00:00
aa0ee5de97
test for poll and poll.h
Johan Danielsson
2003-08-27 13:11:22 +00:00
0bcf195e02
x
Love Hörnquist Åstrand
2003-08-27 04:09:17 +00:00
3da46e4730
(_gssapi_verify_mic_arcfour): Do the checksum on right area. Swap filler check, it was reversed.
Love Hörnquist Åstrand
2003-08-27 04:08:54 +00:00
8385525489
(libgssapi_la_SOURCES): += arcfour.c
Love Hörnquist Åstrand
2003-08-27 03:54:29 +00:00
dbc6a88ab1
include "arcfour.h"
Love Hörnquist Åstrand
2003-08-27 03:53:44 +00:00
417d3481f7
arcfour gss-api mech, get_mic/verify_mic working
Love Hörnquist Åstrand
2003-08-27 03:53:25 +00:00
22ea5f3f5c
(proto): fill in client in the match cred
Love Hörnquist Åstrand
2003-08-27 03:50:40 +00:00
a2a201e6b0
always include cfx.h add prototype for _gssapi_decapsulate
Love Hörnquist Åstrand
2003-08-26 17:31:12 +00:00
e7462b402d
make the include protectors more uniq
Love Hörnquist Åstrand
2003-08-26 17:30:25 +00:00
99116000bc
x
Love Hörnquist Åstrand
2003-08-26 17:26:52 +00:00
9def900887
(libgssapi_la_SOURCES) += cfx.c
Love Hörnquist Åstrand
2003-08-26 02:38:27 +00:00
956f1f3951
x
Love Hörnquist Åstrand
2003-08-26 02:37:44 +00:00
a49e96cc81
Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt from Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-26 02:37:09 +00:00
543e348996
x
Love Hörnquist Åstrand
2003-08-26 02:23:03 +00:00
9db3c84953
add _gssapi_decapsulate
Love Hörnquist Åstrand
2003-08-26 02:20:08 +00:00
1e1f234862
(usage2arcfour): simplify, only include special cases From: Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-25 22:38:33 +00:00
2bfc42befe
x
Love Hörnquist Åstrand
2003-08-25 20:33:44 +00:00
1c5aca620c
code rewrite from Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-25 20:29:03 +00:00
1026a01bec
x
Love Hörnquist Åstrand
2003-08-25 20:26:26 +00:00
bb7b50eba4
encap/decap now takes a oid if the enctype/keytype is arcfour, return error add hook for cfx
Love Hörnquist Åstrand
2003-08-25 20:06:04 +00:00
c8cf8c9880
encap/decap now takes a oid
Love Hörnquist Åstrand
2003-08-25 20:02:49 +00:00
a339bd774f
include cfx.h if we need it lifetime is a OM_uint32, depend on gssapi interface add all new encap/decap functions
Love Hörnquist Åstrand
2003-08-25 20:01:45 +00:00
b50861a481
add decap functions that doesn't take the token type also make all decap function take the oid mech that they should use
Love Hörnquist Åstrand
2003-08-25 19:57:43 +00:00
0fed18d468
add encap functions that doesn't take the token type also make all encap function take the oid mech that they should use
Love Hörnquist Åstrand
2003-08-25 19:56:51 +00:00
a8f75867a1
x
Johan Danielsson
2003-08-25 14:11:04 +00:00
85f1d75f8d
fix automake conditional foo
Johan Danielsson
2003-08-25 14:10:43 +00:00
7c53e8d156
x
Love Hörnquist Åstrand
2003-08-25 11:30:04 +00:00
575766e5e7
(elem_insert): fix a off by one index counter
Love Hörnquist Åstrand
2003-08-25 11:28:46 +00:00
61413db01f
(arcfour_checksum_p): return true when is arcfour, not when its not pointed out by Luke Howard
Love Hörnquist Åstrand
2003-08-25 11:09:19 +00:00
c06ee414b8
update Luke Howard email address
Love Hörnquist Åstrand
2003-08-25 11:06:26 +00:00
934f0c3d3d
x
Love Hörnquist Åstrand
2003-08-25 01:27:40 +00:00
43ee62bf0b
(gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and use the default cred then.
Love Hörnquist Åstrand
2003-08-25 01:27:02 +00:00
766828ca55
x
Love Hörnquist Åstrand
2003-08-24 03:41:07 +00:00
d250fe4e0c
(krb5_crypto_getpadsize, krb5_crypto_getconfoundersize): added From: Luke Howard <lukeh@PADL.COM>
Love Hörnquist Åstrand
2003-08-24 03:32:48 +00:00
d8c8fbe5bb
x
Love Hörnquist Åstrand
2003-08-23 20:36:22 +00:00