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
Love Hörnquist Åstrand
8f776af389
(gss_acquire_cred): 4th argument to gss_test_oid_set_member is a int
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-17 18:55:49 +00:00
Love Hörnquist Åstrand
79442df848
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:55:04 +00:00
Love Hörnquist Åstrand
32752ea144
(repl_mutual): don't set kerberos error where there was no kerberos error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:53:43 +00:00
Love Hörnquist Åstrand
59a9e85922
Add destruction/creation prototypes and structure for the thread specific storage.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:52:32 +00:00
Love Hörnquist Åstrand
ba2d66fbd0
use thread specific storage to set/get the kerberos error message
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:51:31 +00:00
Love Hörnquist Åstrand
2e732d2ef1
Provide locking around the creation of the global krb5_context. Add
...
destruction/creation functions for the thread specific storage that
the error string handling is using.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:50:11 +00:00
Love Hörnquist Åstrand
217cb2649d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-20 11:05:09 +00:00
Love Hörnquist Åstrand
ca06524a21
add missing prototype and missing .Ft arguments
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-20 11:02:19 +00:00
Love Hörnquist Åstrand
04ed8c312b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12372 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:10:04 +00:00
Love Hörnquist Åstrand
5b4a741593
reorder code so sequence numbers can can be used
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12371 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:08:20 +00:00
Love Hörnquist Åstrand
d4114c6097
remove unused function, indent, add gssapi_msg_order_f that filter gss
...
flags to gss_msg_order flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:05:13 +00:00
Love Hörnquist Åstrand
9c54d3fe2d
add sequence number verifier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12368 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:01:44 +00:00
Love Hörnquist Åstrand
289d0b0f9b
prototypes for gssapi_{encode_om_uint32,decode_om_uint32}
...
add sequence number verifier prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12367 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:00:58 +00:00