2f1de465c7
x
Love Hörnquist Åstrand
2006-10-03 23:02:43 +00:00
bd92b2eb62
man_MANS += krb5_digest.3
Love Hörnquist Åstrand
2006-10-03 23:02:27 +00:00
a7cea63ffe
Add all protos
Love Hörnquist Åstrand
2006-10-03 22:54:00 +00:00
0e6ef65cf5
x
Love Hörnquist Åstrand
2006-10-03 13:45:54 +00:00
5bda808024
Basic krb5_digest manpage.
Love Hörnquist Åstrand
2006-10-03 13:45:41 +00:00
681c7331c4
Add krb5_digest functions.
Love Hörnquist Åstrand
2006-10-03 10:39:35 +00:00
900a000efe
x
Love Hörnquist Åstrand
2006-10-03 07:54:58 +00:00
04c2dfb7c6
x
Love Hörnquist Åstrand
2006-10-02 21:48:45 +00:00
d02fc9dbf1
Add more libs to libhx509
Love Hörnquist Åstrand
2006-10-02 21:35:24 +00:00
67b56ea02a
indent comment
Love Hörnquist Åstrand
2006-10-02 21:18:42 +00:00
d9bdb35e27
Thinker more with header lengths.
Love Hörnquist Åstrand
2006-10-02 20:57:02 +00:00
583be9c858
try harder to get the header calculations right
Love Hörnquist Åstrand
2006-10-02 19:23:25 +00:00
4c9872cc28
x
Love Hörnquist Åstrand
2006-10-02 19:05:05 +00:00
563a9bf25e
Improve the calcucation of header lengths. DCE-STYLE data is also padded so remove if (1 || ...) code.
Love Hörnquist Åstrand
2006-10-02 19:04:50 +00:00
2d4a99078f
x
Love Hörnquist Åstrand
2006-10-02 12:01:07 +00:00
b110e33a3f
minimize layering and remove krb5_kdc_flags
Love Hörnquist Åstrand
2006-10-02 12:00:59 +00:00
e0645d20a6
Make compile.
Love Hörnquist Åstrand
2006-10-02 11:57:36 +00:00
204118e4d1
Always use the kdc_flags in the right bit order.
Love Hörnquist Åstrand
2006-10-02 11:54:45 +00:00
0766e2a20a
x
Love Hörnquist Åstrand
2006-10-02 10:51:03 +00:00
3bab71b31d
Don't require --kerberos-realm.
Love Hörnquist Åstrand
2006-10-02 10:50:52 +00:00
df68c9c378
(digest_request): if NULL is passed in as realm, use default realm.
Love Hörnquist Åstrand
2006-10-02 10:49:56 +00:00
3259ff1f40
x
Love Hörnquist Åstrand
2006-10-02 09:15:24 +00:00
99f1c8cb8e
(_gsskrb5_wrap_size_limit): use _gssapi_wrap_size_arcfour for arcfour
Love Hörnquist Åstrand
2006-10-02 09:15:05 +00:00
0ed8497583
Move _gssapi_wrap_size_arcfour here.
Love Hörnquist Åstrand
2006-10-02 09:14:14 +00:00
a888cae1f8
x
Love Hörnquist Åstrand
2006-10-02 08:15:08 +00:00
246de3cc42
prefix all gss_spnego with _, use generated headers
Love Hörnquist Åstrand
2006-10-02 08:07:58 +00:00
0f9e86aa49
Split all mech to diffrent mechsrc variables.
Love Hörnquist Åstrand
2006-10-02 08:06:03 +00:00
493bd788d4
Make internal function static (and rename).
Love Hörnquist Åstrand
2006-10-02 07:29:58 +00:00
af7f029a28
x
Love Hörnquist Åstrand
2006-10-01 18:05:53 +00:00
dce4b55512
Fix double free's, NULL ptr de-reference, and conform better to pkcs11. From Douglas Engert.
Love Hörnquist Åstrand
2006-10-01 18:05:05 +00:00
75ece1ac48
Fix "if (x) lock(y)" bug. From Harald Barth.
Love Hörnquist Åstrand
2006-10-01 17:55:35 +00:00
fd557f4d6c
Add ret16.
Love Hörnquist Åstrand
2006-10-01 17:52:36 +00:00
c667d17ea8
Include <sys/param.h> for MAXHOSTNAMELEN.
Love Hörnquist Åstrand
2006-10-01 17:50:55 +00:00
54422e87f8
remove ^M, it breaks solaris 10s cc. From Harald Barth
Love Hörnquist Åstrand
2006-10-01 17:43:42 +00:00
14f1218bfc
Grow (%p, %a, %n) tables for Solaris 10 lex. From Harald Barth.
Love Hörnquist Åstrand
2006-10-01 17:36:38 +00:00
9d38bdd08c
x
Love Hörnquist Åstrand
2006-09-26 19:40:12 +00:00
000e414563
Handle FIRST_CALL in the context building, better error handling.
Love Hörnquist Åstrand
2006-09-26 19:39:20 +00:00
76548e0fd2
switch from wrap/unwrap to encrypt/decrypt
Love Hörnquist Åstrand
2006-09-26 09:55:55 +00:00
e4bf1ed0e8
make less exit() happy
Love Hörnquist Åstrand
2006-09-26 01:21:37 +00:00
77a889cd29
Don't announce spn if there is non.
Love Hörnquist Åstrand
2006-09-25 23:33:54 +00:00
3cf6b97bbf
Check that the pre-wrapped data is the same as afterward.
Love Hörnquist Åstrand
2006-09-25 22:33:39 +00:00
839c8fba02
DCE-style token do include padding, add it back.
Love Hörnquist Åstrand
2006-09-25 22:23:27 +00:00
26ae75721a
Add wrap support, interrop with itself but not w2k3s-sp1
Love Hörnquist Åstrand
2006-09-25 21:42:28 +00:00
0ecd7e58ad
move the arcfour specific stuff to the arcfour header.
Love Hörnquist Åstrand
2006-09-25 20:45:00 +00:00
24c75bf8eb
Support DCE-style unwrap, tested with w2k3server-sp1.
Love Hörnquist Åstrand
2006-09-25 20:44:03 +00:00
8cd665242d
Remove stray GSS_C_DCE_STYLE.
Love Hörnquist Åstrand
2006-09-25 19:29:03 +00:00
e88a91bffb
x
Love Hörnquist Åstrand
2006-09-25 19:25:06 +00:00
6accd4715c
(gss_accept_sec_context): if the token doesn't start with [APPLICATION 0] SEQUENCE, lets assume its a DCE-style kerberos 5 connection. XXX this needs to be made better in cause we get another GSS-API protocol violating protocol. It should be possible to detach the Kerberos DCE-style since it starts with a AP-REQ PDU, but that have to wait for now.
Love Hörnquist Åstrand
2006-09-25 19:24:48 +00:00
32f0206a80
x
Love Hörnquist Åstrand
2006-09-25 18:20:51 +00:00
fc0fccde1c
Add logsocket support.
Love Hörnquist Åstrand
2006-09-25 18:20:33 +00:00
58de1f16ce
Fix logging.
Love Hörnquist Åstrand
2006-09-25 16:28:40 +00:00
c715d0a0aa
x
Love Hörnquist Åstrand
2006-09-25 07:10:37 +00:00
830e100213
remove unused file
Love Hörnquist Åstrand
2006-09-24 09:15:10 +00:00
ae207c90aa
x
Love Hörnquist Åstrand
2006-09-24 09:13:36 +00:00
4e79ae875a
(decode_type): drop unused variable realtype.
Love Hörnquist Åstrand
2006-09-24 09:13:12 +00:00
e44de8b05e
x
Love Hörnquist Åstrand
2006-09-22 15:49:20 +00:00
c7577f523b
(read_string): Try to not call signaction for signal 0 and use NSIG if it exists to determin how many signals there exists, also, only restore those signalhandlers that we got out.
Love Hörnquist Åstrand
2006-09-22 15:45:57 +00:00
1e66a80b73
x
Love Hörnquist Åstrand
2006-09-22 15:44:03 +00:00
631229648a
try to not call signaction for signal 0 and use NSIG if it exists to determin how many signals there exists, also, only restore those signalhandlers that we got out.
Love Hörnquist Åstrand
2006-09-22 15:42:39 +00:00
294b75a0d6
Add GSS_C flags from draft-brezak-win2k-krb-rc4-hmac-04.txt.
Love Hörnquist Åstrand
2006-09-22 14:58:47 +00:00
ac365a5552
Free service_keyblock and fwd_data, indent.
Love Hörnquist Åstrand
2006-09-22 14:57:22 +00:00
057d0232fe
x
Love Hörnquist Åstrand
2006-09-22 14:53:11 +00:00
7d573742a1
Merge of the acceptor part from the samba patch by Stefan Metzmacher and Andrew Bartlet.
Love Hörnquist Åstrand
2006-09-22 14:52:11 +00:00
f103a5431d
(build_context): print the step the context exchange.
Love Hörnquist Åstrand
2006-09-22 14:18:04 +00:00
d6d6a0ae4b
x
Love Hörnquist Åstrand
2006-09-22 11:22:23 +00:00
67655a5dd5
Add GSS_C_DCE_STYLE.
Love Hörnquist Åstrand
2006-09-22 11:22:14 +00:00
9bc15736ff
x
Love Hörnquist Åstrand
2006-09-22 10:42:16 +00:00
226ba0b6cd
merge most of the initiator part from the samba patch by Stefan Metzmacher and Andrew Bartlet (still missing DCE/RPC support)
Love Hörnquist Åstrand
2006-09-22 10:41:31 +00:00
1ade93b8c6
x
Love Hörnquist Åstrand
2006-09-22 10:00:04 +00:00
ba22863ee0
Catch failures from gssmaestro.
Love Hörnquist Åstrand
2006-09-22 09:59:51 +00:00
7b16fb34b0
x
Love Hörnquist Åstrand
2006-09-21 10:15:50 +00:00
5f4bd93468
Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG to all flags
Love Hörnquist Åstrand
2006-09-21 10:15:34 +00:00
8224705132
Add wrap and mic tests for all elements
Love Hörnquist Åstrand
2006-09-21 09:57:53 +00:00
d8bc0ea463
Add mic tests
Love Hörnquist Åstrand
2006-09-21 09:57:26 +00:00
aea29bec78
Add previous ETypeList code again, it was a halfbuilt context that broke the code.
Love Hörnquist Åstrand
2006-09-21 09:00:36 +00:00
fca3d2bdcf
x
Love Hörnquist Åstrand
2006-09-21 08:54:12 +00:00
597c5e99e5
dont exit early then co-worker is bad.
Love Hörnquist Åstrand
2006-09-21 08:53:24 +00:00
4492b832ae
x
Love Hörnquist Åstrand
2006-09-21 07:44:44 +00:00
7c180646d3
disable ETypeList parsing usage for now, cfx seems broken and its not good to upgrade to a broken enctype.
Love Hörnquist Åstrand
2006-09-21 07:44:32 +00:00
5fdf405d6e
limit keys to des3-cbc-sha1:pw-salt for now
Love Hörnquist Åstrand
2006-09-21 07:10:52 +00:00
9ca18bb277
clean more files
Love Hörnquist Åstrand
2006-09-21 07:10:15 +00:00
41251ac808
Add tests to wrap/unwrap.
Love Hörnquist Åstrand
2006-09-21 07:09:49 +00:00
3569862318
update useage for kafs, and add right lib (kafs) to lib_flags. From Joakim Fallsjö.
Love Hörnquist Åstrand
2006-09-21 06:54:55 +00:00
9f939ee9f2
x
Love Hörnquist Åstrand
2006-09-20 12:16:25 +00:00
6f5411adfa
Add wrap/unwrap ops
Love Hörnquist Åstrand
2006-09-20 12:16:15 +00:00
5476093f39
x
Love Hörnquist Åstrand
2006-09-20 03:35:55 +00:00
db11cf65a4
Add a third client
Love Hörnquist Åstrand
2006-09-20 03:35:27 +00:00
f782011114
Add eGetVersionAndCapabilities flags
Love Hörnquist Åstrand
2006-09-20 03:34:03 +00:00
04816acff0
Add permutate_all (and support functions).
Love Hörnquist Åstrand
2006-09-20 03:32:59 +00:00
274feb35bd
Add permutate_all
Love Hörnquist Åstrand
2006-09-20 03:32:18 +00:00
e8d7e48ab5
use new flags, return moniker
Love Hörnquist Åstrand
2006-09-20 03:31:50 +00:00
ec4137ea11
test self context building and all permutation of clients
Love Hörnquist Åstrand
2006-09-20 03:28:13 +00:00
b98c29b898
x
Love Hörnquist Åstrand
2006-09-19 14:09:10 +00:00
a8a340457c
starfield test root cert and Ralf-Philipp and Andreis correctly padded bad cert
Love Hörnquist Åstrand
2006-09-19 14:02:43 +00:00
516245576b
Bleichenbacher bad cert from Ralf-Philipp Weinmann and Andrew Pyshkin, pad right.
Love Hörnquist Åstrand
2006-09-19 14:01:45 +00:00
ddfe099e3b
x
Love Hörnquist Åstrand
2006-09-19 10:22:48 +00:00
c079c30202
test for gssmask + gssmaestro.
Love Hörnquist Åstrand
2006-09-19 10:22:33 +00:00
740547646f
Add krb5.conf for krb5.conf
Love Hörnquist Åstrand
2006-09-19 10:21:57 +00:00
c0b050b7e1
Add check-gssmask and krb5.conf targets
Love Hörnquist Åstrand
2006-09-19 10:21:24 +00:00