Commit Graph

19167 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6171869c5c add error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:39:48 +00:00
Love Hörnquist Åstrand
79c50d6b5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:23 +00:00
Love Hörnquist Åstrand
1ae085e4ce Add KeyUsage extension.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:05 +00:00
Love Hörnquist Åstrand
5342643f04 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:30:32 +00:00
Love Hörnquist Åstrand
352a9ea8cf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:29:41 +00:00
Love Hörnquist Åstrand
682c7deda6 Named bit strings have this horrible, disgusting, compress bits until
they are no longer really there but stuff in an initial octet anyway
encoding scheme. Try to get it right and calculate the initial octet
runtime instead of compiletime.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:29:13 +00:00
Love Hörnquist Åstrand
b9736129b2 Check all other silly bitstring combinations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:25:21 +00:00
Love Hörnquist Åstrand
0f7eb6c301 Add --sequence=Extensions to rfc2459.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:20:12 +00:00
Love Hörnquist Åstrand
b52fd2e0f8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:00:29 +00:00
Love Hörnquist Åstrand
3e7b3f6cbf Update (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:00:16 +00:00
Love Hörnquist Åstrand
af6606bbb7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:55:03 +00:00
Love Hörnquist Åstrand
5342f14d52 Add sign-certificate tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:54:20 +00:00
Love Hörnquist Åstrand
1c95c59dab Add _hx509_create_signature_bitstring.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:53:42 +00:00
Love Hörnquist Åstrand
694955c3a8 Add the sign-certificate tool.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:52:35 +00:00
Love Hörnquist Åstrand
e0462bfd82 Add HX509_QUERY_OPTION_KU_KEYCERTSIGN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:51:22 +00:00
Love Hörnquist Åstrand
23b2e5ae89 Add hx509_ca_tbs and HX509_QUERY_OPTION_KU_KEYCERTSIGN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:50:05 +00:00
Love Hörnquist Åstrand
01553c6d54 Basic test of generating a pkcs10 request, signing it and verifying the chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:49:05 +00:00
Love Hörnquist Åstrand
935e09fac5 Naive certificate signer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:48:09 +00:00
Love Hörnquist Åstrand
45ec4d80e5 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:41:17 +00:00
Love Hörnquist Åstrand
b8c1034506 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:40:38 +00:00
Love Hörnquist Åstrand
c96b8bc3eb Fix caseing for case-sensitive filesystems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:40:17 +00:00
Love Hörnquist Åstrand
4dafffb828 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:10:41 +00:00
Love Hörnquist Åstrand
f74250eb28 Handle kx509 requests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:09:35 +00:00
Love Hörnquist Åstrand
3ce7195579 Listen to 9878 if kca is turned on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:09:00 +00:00
Love Hörnquist Åstrand
6d254afa9f Include <kx509_asn1.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:08:15 +00:00
Love Hörnquist Åstrand
c4b7508854 code to parse [kdc]enable-kx509
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:07:35 +00:00
Love Hörnquist Åstrand
95207976c0 add enable_kx509
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:06:56 +00:00
Love Hörnquist Åstrand
2aff6e5795 add kx509.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:06:18 +00:00
Love Hörnquist Åstrand
fc4cc2d82d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:05:53 +00:00
Love Hörnquist Åstrand
b8e9905b57 Add kx509.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:05:23 +00:00
Love Hörnquist Åstrand
3572041050 Kx509server (external certificate genration).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:03:53 +00:00
Love Hörnquist Åstrand
7997ff4d88 add krb5_ticket_get_endtime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:49:18 +00:00
Love Hörnquist Åstrand
78e28de132 Document krb5_ticket_get_endtime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:48:50 +00:00
Love Hörnquist Åstrand
dce9cb1dd3 add hex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:30:30 +00:00
Love Hörnquist Åstrand
f3d6a71320 add hxtool_hex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:29:27 +00:00
Love Hörnquist Åstrand
8153d3ecb3 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 17:19:52 +00:00
Love Hörnquist Åstrand
983b89b811 Add VisibleString parsing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 17:15:05 +00:00
Love Hörnquist Åstrand
837f65e1e9 Remove <digest_asn.h>, its already included in headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 17:03:51 +00:00
Love Hörnquist Åstrand
ead67afe06 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19537 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:56 +00:00
Love Hörnquist Åstrand
b95c3bd0bb Pass signseal argument to _gss_ntlm_set_key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:48 +00:00
Love Hörnquist Åstrand
3cc3d6398b (_gss_ntlm_set_key): add signseal argument
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19535 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:49:01 +00:00
Love Hörnquist Åstrand
b16b9c5f40 x
x


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19534 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:41:17 +00:00
Love Hörnquist Åstrand
98e01a4744 Return session key for the NTLMv2 case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:40:46 +00:00
Love Hörnquist Åstrand
a06a8d8e14 add ntlmv2 test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19532 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:39:38 +00:00
Love Hörnquist Åstrand
d3a2df7306 break out struct ntlmv2_key;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19531 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:52 +00:00
Love Hörnquist Åstrand
7f49c4ad56 use _gss_ntlm_set_key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19530 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:37 +00:00
Love Hörnquist Åstrand
2412c6be41 (_gss_ntlm_set_key): set ntlm v2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:38:07 +00:00
Love Hörnquist Åstrand
d296c67503 Set dummy ntlmv2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:25 +00:00
Love Hörnquist Åstrand
9421ec31ba Set dummy ntlmv2 keys and Check TI.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19527 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:08:06 +00:00
Love Hörnquist Åstrand
95d767da33 NTLMv2 keys.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 14:00:27 +00:00