Love Hörnquist Åstrand
b5984d2675
(v5_convert): rename one of the two c to cred4
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12385 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 22:31:09 +00:00
Love Hörnquist Åstrand
d58be4c531
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 05:46:44 +00:00
Love Hörnquist Åstrand
de13634e69
add a test for aes kcrypto encrypted data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 05:45:52 +00:00
Love Hörnquist Åstrand
edd4885b10
clean up AES code to use a structure instead of a key array
...
(_krb5_AES_string_to_default_iterator): set to 4096 as described in
aes draft -04
(derive_key): always remove the key->schedule since its
will contain the wrong (parent key) info
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-21 05:41:55 +00:00
Love Hörnquist Åstrand
7d2d92fb04
add aes256 test vectors from Ken Raeburn
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-18 21:42:44 +00:00
Love Hörnquist Åstrand
0ab40473f3
add more kdc's to the example
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-18 03:17:03 +00:00
Love Hörnquist Åstrand
c36bc39594
use int2HDBFlags/HDBFlags2int
...
From: Alberto Patino <jalbertop@aranea.com.mx >, Luke Howard <lukeh@PADL.COM >
Pointed out by Andrew Bartlett of Samba
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 12:53:16 +00:00
Love Hörnquist Åstrand
72879d5be6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12378 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:37:20 +00:00
Love Hörnquist Åstrand
b981c8861d
remove freebsd comment, don't use debug pthread stubs by default
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12377 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:36:12 +00:00
Love Hörnquist Åstrand
efeea68d77
(man_MANS): drop krb5_free_addresses.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:24:32 +00:00
Love Hörnquist Åstrand
27ad8297dc
all this is documented in krb5_address.3
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:23:17 +00:00
Love Hörnquist Åstrand
58f2cf9375
add krb5_{de,en}code_ETYPE_INFO2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12374 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:21:23 +00:00
Love Hörnquist Åstrand
4644344231
add _krb5_AES_string_to_default_iterator
...
add krb5_string_to_key_salt_opaque()
fix keylengh for keytype_aes256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12373 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 04:20:18 +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
Love Hörnquist Åstrand
d31ef7cb79
destroy sequence number verifier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12366 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 03:59:28 +00:00
Love Hörnquist Åstrand
532c716e88
remember to free data
...
use sequence number verifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12365 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 03:58:43 +00:00
Love Hörnquist Åstrand
090bb1f54b
don't clear output_token twice
...
remember to free data
use sequence number verifier
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12364 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 03:57:49 +00:00
Love Hörnquist Åstrand
25fd1be6bc
export and rename encode_om_uint32/decode_om_uint32 and start to use them
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12363 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-17 03:49:26 +00:00
Love Hörnquist Åstrand
5fcd007d78
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12362 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-14 19:51:08 +00:00
Love Hörnquist Åstrand
371bd41866
prefix glob symbols with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-14 19:49:49 +00:00
Johan Danielsson
573d4b592b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-13 12:08:27 +00:00
Johan Danielsson
bc6e02716a
(gss_adat): fix name allocation bug
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12359 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-13 12:08:21 +00:00
Johan Danielsson
52e18010ee
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12358 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-09 12:28:55 +00:00
Johan Danielsson
6095e1876b
can't have sequence.c in two different places
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12357 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-09 12:28:40 +00:00
Love Hörnquist Åstrand
e393de2f14
check rollover, print summery
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12356 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-06 19:41:16 +00:00
Love Hörnquist Åstrand
dce2ccba07
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-06 16:13:57 +00:00
Love Hörnquist Åstrand
83d5b4e6b7
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12354 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-06 16:05:49 +00:00
Love Hörnquist Åstrand
04f964bbdb
Point out that slave needs /var/heimdal directory and masterkey
...
From: Mans Nilsson <mansaxel@sunet.se >
Fix spelling while here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-06 15:43:33 +00:00
Love Hörnquist Åstrand
93d56af0ae
(sub_wrap_size): gss_wrap_size_limit() has req_output_size and
...
max_input_size around the wrong way -- it returns the output token
size for a given input size, rather than the maximum input size for a
given output token size.
From: Luke Howard <lukeh@PADL.COM >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 23:09:13 +00:00
Love Hörnquist Åstrand
a250f3a1da
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:57:06 +00:00
Love Hörnquist Åstrand
8084f0f69c
add prototypes for sequence.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:56:38 +00:00
Love Hörnquist Åstrand
c669a661db
(libgssapi_la_SOURCES): add sequence.c
...
(test_sequence): build
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:41:56 +00:00
Love Hörnquist Åstrand
f24cb76b05
sequence number checks, order and replay
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-05 20:40:50 +00:00
Love Hörnquist Åstrand
63b7fe118d
(gss_accept_sec_context): make sure time is returned in seconds from
...
now, not in kerberos time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:25:41 +00:00
Love Hörnquist Åstrand
a704e2f3f4
(gss_aquire_cred): make sure time is returned in seconds from now, not
...
in kerberos time
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:24:29 +00:00
Love Hörnquist Åstrand
f6870509a7
(init_auth): if the cred is expired before we tries to create a token,
...
fail so the peer doesn't need reject us
(*): make sure time is returned in seconds from now, not in kerberos time
(repl_mutual): remember to unlock the context mutex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:22:58 +00:00
Love Hörnquist Åstrand
a2408d7675
(gss_context_time): remove unused variable
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 15:08:00 +00:00
Love Hörnquist Åstrand
ee6c2cbd71
make sure minor_status is always set, pointed out by Luke Howard <lukeh@PADL.COM>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-03 14:58:51 +00:00
Love Hörnquist Åstrand
12c0ce6a3b
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-02 21:49:11 +00:00
Love Hörnquist Åstrand
b95d33b7a5
add manpage for: krb5_get_in_cred, krb5_get_in_tkt,
...
krb5_get_in_tkt_with_keytab, krb5_get_in_tkt_with_password,
krb5_get_in_tkt_with_skey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-06-02 21:46:27 +00:00
Assar Westerlund
40c34b190f
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12340 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-28 20:13:57 +00:00
Assar Westerlund
eb49552f69
Fix unlock/destroy macros for the non-threaded cases to work. Fix typo.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-28 20:13:36 +00:00
Johan Danielsson
3301945901
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 22:00:03 +00:00
Johan Danielsson
5ce268bf83
Fix encoding of "unsigned" integers. If MSB is set, we need to pad
...
with a zero byte.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 21:59:52 +00:00
Love Hörnquist Åstrand
ca77d81243
some more mdoc fixes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 13:51:10 +00:00
Love Hörnquist Åstrand
9b1f44032a
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12335 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-27 10:06:37 +00:00