Love Hörnquist Åstrand
602247aaac
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:08:35 +00:00
Love Hörnquist Åstrand
da8892828c
(arcfour_mic_cksum): use free_Checksum to free the checksum
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:08:26 +00:00
Love Hörnquist Åstrand
adc6d86b7d
swap two last arguments to verify_mic for consistency with des3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 11:00:23 +00:00
Love Hörnquist Åstrand
ea87ec5a69
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:50 +00:00
Love Hörnquist Åstrand
9673c61169
prefix cfx symbols with _gssapi_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:06 +00:00
Love Hörnquist Åstrand
4f2548810a
release the right buffer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:48:32 +00:00
Love Hörnquist Åstrand
d432d068e5
rename token structure in consistency with rest of GSS-API
...
From: Luke Howard <lukeh@PADL.COM >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:41:36 +00:00
Love Hörnquist Åstrand
bdf7544c1b
(unwrap_des3): use _gssapi_verify_pad
...
(unwrap_des): use _gssapi_verify_pad
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:24:45 +00:00
Love Hörnquist Åstrand
504acf338f
(_gssapi_wrap_arcfour): set the correct padding
...
(_gssapi_unwrap_arcfour): verify and strip padding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:23:28 +00:00
Love Hörnquist Åstrand
ff1011309d
added _gssapi_verify_pad
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:22:25 +00:00
Love Hörnquist Åstrand
9ef52e1041
(_gssapi_verify_pad): verify padding of a gss wrapped message and
...
return its length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12686 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:22:03 +00:00
Love Hörnquist Åstrand
53ad072bc7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 08:07:08 +00:00
Love Hörnquist Åstrand
8374158e8c
support KEYTYPE_ARCFOUR_56 keys, from Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 07:57:29 +00:00
Love Hörnquist Åstrand
8a4d53ac23
use right seal alg, inherit keytype from parent key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 07:55:54 +00:00
Love Hörnquist Åstrand
9f9fde52a7
include the confounder in the checksum
...
use the right key usage number for warped/unwraped tokens
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 07:17:33 +00:00
Love Hörnquist Åstrand
0ec5289d77
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 02:24:41 +00:00
Love Hörnquist Åstrand
466c633f62
add gss_krb5_nt_general_name as an mit compat glue
...
(same as GSS_KRB5_NT_PRINCIPAL_NAME)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12678 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 02:23:52 +00:00
Love Hörnquist Åstrand
ba7a3aa53e
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12675 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:07:37 +00:00
Love Hörnquist Åstrand
7911b7e907
hook in arcfour unwrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:07:25 +00:00
Love Hörnquist Åstrand
221fd47408
hook in arcfour wrap
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:07:07 +00:00
Love Hörnquist Åstrand
f74f70a4a7
hook in arcfour verify_mic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:06:36 +00:00
Love Hörnquist Åstrand
1f92183e98
hook in arcfour get_mic
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12671 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:06:22 +00:00
Love Hörnquist Åstrand
7c691b1d90
implement wrap/unwarp
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:04:59 +00:00
Love Hörnquist Åstrand
c7573576f2
add gssapi_{en,de}code_be_om_uint32
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:02:24 +00:00
Love Hörnquist Åstrand
0bcf195e02
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12659 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 04:09:17 +00:00
Love Hörnquist Åstrand
3da46e4730
(_gssapi_verify_mic_arcfour): Do the checksum on right area. Swap
...
filler check, it was reversed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12658 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 04:08:54 +00:00
Love Hörnquist Åstrand
8385525489
(libgssapi_la_SOURCES): += arcfour.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12657 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:54:29 +00:00
Love Hörnquist Åstrand
dbc6a88ab1
include "arcfour.h"
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12656 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:53:44 +00:00
Love Hörnquist Åstrand
417d3481f7
arcfour gss-api mech, get_mic/verify_mic working
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:53:25 +00:00
Love Hörnquist Åstrand
a2a201e6b0
always include cfx.h
...
add prototype for _gssapi_decapsulate
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:31:12 +00:00
Love Hörnquist Åstrand
e7462b402d
make the include protectors more uniq
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12652 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:30:25 +00:00
Love Hörnquist Åstrand
9def900887
(libgssapi_la_SOURCES) += cfx.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:38:27 +00:00
Love Hörnquist Åstrand
956f1f3951
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:37:44 +00:00
Love Hörnquist Åstrand
a49e96cc81
Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt from Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:37:09 +00:00
Love Hörnquist Åstrand
543e348996
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:23:03 +00:00
Love Hörnquist Åstrand
9db3c84953
add _gssapi_decapsulate
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:20:08 +00:00
Love Hörnquist Åstrand
1026a01bec
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:26:26 +00:00
Love Hörnquist Åstrand
bb7b50eba4
encap/decap now takes a oid
...
if the enctype/keytype is arcfour, return error
add hook for cfx
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:06:04 +00:00
Love Hörnquist Åstrand
c8cf8c9880
encap/decap now takes a oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:02:49 +00:00
Love Hörnquist Åstrand
a339bd774f
include cfx.h if we need it
...
lifetime is a OM_uint32, depend on gssapi interface
add all new encap/decap functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:01:45 +00:00
Love Hörnquist Åstrand
b50861a481
add decap functions that doesn't take the token type
...
also make all decap function take the oid mech that they should use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12637 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:57:43 +00:00
Love Hörnquist Åstrand
0fed18d468
add encap functions that doesn't take the token type
...
also make all encap function take the oid mech that they should use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 19:56:51 +00:00
Love Hörnquist Åstrand
7c53e8d156
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:30:04 +00:00
Love Hörnquist Åstrand
575766e5e7
(elem_insert): fix a off by one index counter
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:28:46 +00:00
Love Hörnquist Åstrand
934f0c3d3d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:40 +00:00
Love Hörnquist Åstrand
43ee62bf0b
(gss_inquire_cred): handle cred_handle beeing GSS_C_NO_CREDENTIAL and
...
use the default cred then.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 01:27:02 +00:00
Love Hörnquist Åstrand
600ed30996
break out extensions and document gsskrb5_register_acceptor_identity
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-19 00:30:13 +00:00
Love Hörnquist Åstrand
b868cd3c45
(print_time): time is returned in seconds from now, not unix time
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 23:02:53 +00:00
Love Hörnquist Åstrand
8eb2b0ceea
(check_compat): avoid leaking principal when finding a match
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 19:01:42 +00:00
Love Hörnquist Åstrand
d84816fed2
sa_size argument to krb5_addr2sockaddr is a krb5_socklen_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:57:37 +00:00