Commit Graph

3315 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
fbfd45f8e4 Use EXTRACT_TICKET_* flags, support canonicalize.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20228 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:33:25 +00:00
Love Hörnquist Åstrand
581074386c (krb5_get_init_creds_opt_set_canonicalize): new function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:32:28 +00:00
Love Hörnquist Åstrand
dc0a5d69f2 Use EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20226 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:31:50 +00:00
Love Hörnquist Åstrand
650997af3e Add EXTRACT_TICKET_* flags.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20225 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 03:29:12 +00:00
Love Hörnquist Åstrand
d6658d9d2f test parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:18:08 +00:00
Love Hörnquist Åstrand
1f4259cddc Add support for parsing enterprise-names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20223 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:17:04 +00:00
Love Hörnquist Åstrand
203e1b7ad6 Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20222 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-15 04:12:00 +00:00
Love Hörnquist Åstrand
873b9b8aae (krb5_kt_get_entry): Use krb5_kt_get_full_name to print out the keytab name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-09 07:11:03 +00:00
Love Hörnquist Åstrand
42f57ce1d7 Plug memory leak, from Michael B Allen.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-07 20:04:15 +00:00
Love Hörnquist Åstrand
3c3cefede4 (test_uint16): unsigned ints can't be negative
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-05 23:21:03 +00:00
Love Hörnquist Åstrand
f37c85ba61 pass extra flags for detached signatures.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-03 22:47:25 +00:00
Love Hörnquist Åstrand
abd5d07295 rename hash-a1 to session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20141 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-02 21:31:16 +00:00
Love Hörnquist Åstrand
13c8463463 New functions to send in requestResponse to KDC and get status of the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20115 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-01 20:18:41 +00:00
Love Hörnquist Åstrand
169143c4ff Always use the RAND_ interface now that hcrypto provides it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-30 18:02:21 +00:00
Love Hörnquist Åstrand
1446ab3800 Basic test of prf.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:38:56 +00:00
Love Hörnquist Åstrand
5214f4a50a Add MIT glue for Kerberos RFC 3961 PRF functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20042 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:37:43 +00:00
Love Hörnquist Åstrand
57d6ff40d8 Add Kerberos RFC 3961 PRF functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20041 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:37:12 +00:00
Love Hörnquist Åstrand
75ea770af6 Document krb5_data_cmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:35:12 +00:00
Love Hörnquist Åstrand
1856f4313f Add krb5_data_cmp.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20039 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 20:34:01 +00:00
Love Hörnquist Åstrand
0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand
d973654fd4 fix mdoc errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19980 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:06:33 +00:00
Love Hörnquist Åstrand
b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand
b965dacaf9 (krb5_sendto): zero out receive buffer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:19:52 +00:00
Love Hörnquist Åstrand
fee0291ccb Proper sentence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 21:47:07 +00:00
Love Hörnquist Åstrand
6a8b22c01d Revert previous, the PAC should always be verified using o->keyblock,
just check on Windows.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-16 20:51:58 +00:00
Love Hörnquist Åstrand
2ca0d5a961 (krb5_rd_req_ctx): The code failed to consider the enc_tkt_in_skey
case, from Douglas E. Engert.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-15 22:40:42 +00:00
Love Hörnquist Åstrand
390ccdaa8a Use more interesting data to cause more errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:42:54 +00:00
Love Hörnquist Åstrand
aa188989ed MCC_CURSOR not used, remove.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 09:26:21 +00:00
Love Hörnquist Åstrand
adca139b8a macro kcrypto_oid_enc now longer used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 08:43:13 +00:00
Love Hörnquist Åstrand
d52fe4e20a (krb5_rd_safe): set length before trying to allocate data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:54:59 +00:00
Love Hörnquist Åstrand
f35bfaa82e (krb5_pac_add_buffer): unbreak buffer handling.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 02:08:01 +00:00
Love Hörnquist Åstrand
a84be6224b (krb5_rd_req_ctx): Use the correct keyblock when verifying the PAC.
From Andrew Bartlett.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-10 12:10:17 +00:00
Love Hörnquist Åstrand
d4b0d11e0a update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 17:46:01 +00:00
Love Hörnquist Åstrand
191c1f4ffa move around to code test on real PAC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:25:09 +00:00
Love Hörnquist Åstrand
217a1f8aaf A tiny 2 char diffrence that make the code work for real.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:22:56 +00:00
Love Hörnquist Åstrand
fe73261177 Test more PAC (note that the values used in this test is wrong, they
have to be fixed when the pac code is fixed).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 11:09:13 +00:00
Love Hörnquist Åstrand
69c37b6cc7 Make sure we don't sent both ENC-TS and PK-INIT pa data, no need to
expose our password protecting our PKCS12 key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-09 10:44:59 +00:00
Love Hörnquist Åstrand
f3b06c771d (loadlib): pass RTLD_LAZY to dlopen, without it linux is unhappy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 15:31:01 +00:00
Love Hörnquist Åstrand
b0f21e1a0e fix other place "bar" is used.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 13:35:49 +00:00
Love Hörnquist Åstrand
40bb5c5e23 One of the hosts I sometimes uses is named "bar.domain", this make one
of the tests pass when it shouldn't.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-08 12:03:46 +00:00
Love Hörnquist Åstrand
a03b0ce550 Make it possible to turn off PAC check, its default on.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:27:20 +00:00
Love Hörnquist Åstrand
c8c4c730ac (krb5_rd_req_ctx): If there is a PAC, verify its server signature.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19679 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:23:34 +00:00
Love Hörnquist Åstrand
4e6e594fc6 export some more pac functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19670 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-04 11:00:52 +00:00
Love Hörnquist Åstrand
36ea4e609e typedef for krb5_pac.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 18:51:52 +00:00
Love Hörnquist Åstrand
7c9b64e51f add krb5_HEADERS to build_HEADERZ
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:29:27 +00:00
Love Hörnquist Åstrand
0fac70e6c9 Support all keyed checksum types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-03 15:28:00 +00:00
Love Hörnquist Åstrand
7b7419e387 (krb5_pac_get_types): gettypes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:51:43 +00:00
Love Hörnquist Åstrand
150c794a7c add comments, fix pac_get_types test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:49:11 +00:00
Love Hörnquist Åstrand
a253f3b44c test krb5_pac_get_types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:43:11 +00:00
Love Hörnquist Åstrand
38d93c3716 Add KRB5_KRBHST_KCA.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 12:22:01 +00:00