Commit Graph

12273 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
172de7a048 send both INT and CONF wrapped token
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:08:48 +00:00
Love Hörnquist Åstrand
64979ecfcb recv both INT and CONF wrapped token
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12676 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 00:08:28 +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
7ba349d53a add KRB5_NT_SMTP_NAME and KRB5_NT_ENTERPRISE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12668 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 22:10:29 +00:00
Johan Danielsson
5365a4f91a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 18:33:32 +00:00
Johan Danielsson
f4b6c3c719 don't include discovered files in EXTRA_SOURCES; don't depend on
all header files, just the built ones


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 18:33:25 +00:00
Johan Danielsson
cfd2662813 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12665 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 18:15:48 +00:00
Johan Danielsson
48bb32ebe5 test for variable-length arrays
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12664 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 18:15:40 +00:00
Love Hörnquist Åstrand
cd87e37aa4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12663 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:34:59 +00:00
Love Hörnquist Åstrand
1890d21435 make the function threadsafe by removing static on the local variable zeros
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12662 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:34:13 +00:00
Johan Danielsson
63f8f216cd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12661 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:11:29 +00:00
Johan Danielsson
aa0ee5de97 test for poll and poll.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12660 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 13:11:22 +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
22ea5f3f5c (proto): fill in client in the match cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12654 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-27 03:50:40 +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
99116000bc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12651 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:26:52 +00:00
Love Hörnquist Åstrand
9ecd1c0860 CFX uses slightly diffrent usage numbers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12650 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 17:26:40 +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
1e1f234862 (usage2arcfour): simplify, only include special cases
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 22:38:33 +00:00
Love Hörnquist Åstrand
2bfc42befe x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:33:44 +00:00
Love Hörnquist Åstrand
1c5aca620c code rewrite from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 20:29:03 +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
Johan Danielsson
a8f75867a1 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 14:11:04 +00:00
Johan Danielsson
85f1d75f8d fix automake conditional foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12634 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 14:10:43 +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
61413db01f (arcfour_checksum_p): return true when is arcfour, not when its not
pointed out by Luke Howard


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:09:19 +00:00
Love Hörnquist Åstrand
c06ee414b8 update Luke Howard email address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-25 11:06:26 +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