Commit Graph

1236 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
808af9fc06 make digest and kx509 optional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24414 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:14 +00:00
Love Hörnquist Åstrand
27ee616b53 wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:40:04 +00:00
Love Hörnquist Åstrand
62f1b2e2dd wrap detach
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24412 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:39:55 +00:00
Love Hörnquist Åstrand
f8e4039ea3 make digest and kx509 optional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24409 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:39:26 +00:00
Love Hörnquist Åstrand
973386c9ca make digest and kx509 optional
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24408 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:39:16 +00:00
Love Hörnquist Åstrand
6d2fc59777 - Add switch to select friendly_name of the certificate.
- Use HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH some CMS implementestions get the oid
wrong when they do evelopeddata.
- Use HX509_CMS_EV_NO_KU_CHECK since some clients send certs that are
not enveloped certs.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24196 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:32 +00:00
Love Hörnquist Åstrand
0c4d8d3a16 Add switch to select friendly_name of the certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24195 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:22 +00:00
Love Hörnquist Åstrand
f4aeb0d5cf better error message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24194 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:12 +00:00
Love Hörnquist Åstrand
49ff682fff better error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24179 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:28:43 +00:00
Love Hörnquist Åstrand
b63c408070 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:13 +00:00
Love Hörnquist Åstrand
d179f1dee5 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24162 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:19 +00:00
Love Hörnquist Åstrand
70536920bb plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24161 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:09 +00:00
Love Hörnquist Åstrand
937e8ffe0a plug memory leak of DH public key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:08:57 +00:00
Love Hörnquist Åstrand
e295c94913 allow freeing of client_params=NULL cid#54
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:05:00 +00:00
Love Hörnquist Åstrand
9c92a36dd8 return up kdc_cert from signing operation so that OSCP can do the right thing. cid#55
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:04:50 +00:00
Love Hörnquist Åstrand
ef65ca7a16 free data on write error back on the tcp socket cid#123, make sure we dont write more data back then we got
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:29 +00:00
Love Hörnquist Åstrand
a1ebdfc19c remove dead code: cid# 11
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24104 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:18 +00:00
Love Hörnquist Åstrand
af50e8483c free subkey earlier, part of #cid 122
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24103 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:00:08 +00:00
Love Hörnquist Åstrand
a3107b9af4 free hx509_query on non matching cert. cid#120
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24101 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:48 +00:00
Love Hörnquist Åstrand
1bcabc9f49 dont double free on error cid#155
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24100 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:59:38 +00:00
Love Hörnquist Åstrand
b27e9cbb2e use krb5_data_alloc to allocate memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24085 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:56:35 +00:00
Love Hörnquist Åstrand
a1d66eb655 use asn1 decoder function directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:51:39 +00:00
Love Hörnquist Åstrand
ab630e414e Allow the PAC to be passed along during cross-realm authentication.
From abartlet

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-03 19:16:12 +00:00
Love Hörnquist Åstrand
c0b677504f indent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:04:46 +00:00
Love Hörnquist Åstrand
78e0a41bcb The man page for kdc(8) says --disable-DES, the source says --disable-des.
From Arnaud Bergeron.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-20 23:34:19 +00:00
Love Hörnquist Åstrand
dd22b9cdde switch to krb5_clear_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-14 02:56:17 +00:00
Love Hörnquist Åstrand
41d74d6529 Use line continuation for line in hprop.8 manual page. The line is
too wide and is cropped in some formats.
From Jeremy C. Reed.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23863 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-28 05:14:21 +00:00
Love Hörnquist Åstrand
fd676a5005 Patch from Shi Hosoda to add back windows XP SP2 compat that we have
manged to break. This patch make it possible to use Samba4 with
Windows XP SP2, way cool!

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-22 06:32:28 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
b76fb8a16b kadmin/hprop -> hprop/hostname
From Harald Barth

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 13:28:51 +00:00
Love Hörnquist Åstrand
858ef6867a Use ALLOC to allocate memory, from harald barth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23709 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-28 12:57:47 +00:00
Love Hörnquist Åstrand
810f4208da pass down HDB_F_CANON to hdb_fetch for tgs req too, use the server name in the request.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 11:11:34 +00:00
Love Hörnquist Åstrand
4d1a05fb4b Drop this keytype code, there is only enctypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-25 02:32:03 +00:00
Love Hörnquist Åstrand
80e3051b41 make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:29 +00:00
Love Hörnquist Åstrand
b5910292fc make excpetion for known weak types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:11:19 +00:00
Love Hörnquist Åstrand
4d41802863 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:58 +00:00
Love Hörnquist Åstrand
817f43af29 set ret before use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-17 14:10:48 +00:00
Love Hörnquist Åstrand
e9fe84bf9c catch errors from _kdc_do_version4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:43 +00:00
Love Hörnquist Åstrand
e974eca971 remove #if 0'ed code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:28 +00:00
Love Hörnquist Åstrand
83b2e2cae0 set error code and catch them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:59:19 +00:00
Love Hörnquist Åstrand
7fcd266fdd use krb5_set_error_message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 04:32:32 +00:00
Love Hörnquist Åstrand
31d0e293f6 drop time to verify context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23265 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:16 +00:00
Love Hörnquist Åstrand
5c7bcf2941 Pass in time to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23264 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-06-23 03:23:04 +00:00
Love Hörnquist Åstrand
8c4af647bb Use DES_set_key_unchecked().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-27 18:51:17 +00:00
Love Hörnquist Åstrand
4250b0a980 Rename the pkinit type enum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:17:11 +00:00
Love Hörnquist Åstrand
55d84fe955 Drop krb5_pk_identity and rename constants to match global header.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:48 +00:00
Love Hörnquist Åstrand
1f5b3f1f1d Pick up krb5_pk_identity from krb5_locl.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-08 08:16:28 +00:00
Love Hörnquist Åstrand
10df17bf54 Use unsigned where appropriate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22877 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 18:50:56 +00:00