Commit Graph

23074 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
da614b590b use bug handling system instead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-19 19:50:04 +00:00
Love Hörnquist Åstrand
6dbf91d7e3 send supportedCMSTypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:01:15 +00:00
Love Hörnquist Åstrand
49c15486ef remove krb_error from init_creds_opt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24216 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:01:05 +00:00
Love Hörnquist Åstrand
0bbf9d3e6f only set password if we have one, dont free krb-error since it removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:56 +00:00
Love Hörnquist Åstrand
38e75f99c1 remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24214 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:46 +00:00
Love Hörnquist Åstrand
aa0b6e36bc remove unused stuff
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:36 +00:00
Love Hörnquist Åstrand
4c29ff9e2f doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24212 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:26 +00:00
Love Hörnquist Åstrand
26629cff5c doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24211 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:17 +00:00
Love Hörnquist Åstrand
6811c7dce6 add BTMM style pkinit reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 05:00:07 +00:00
Love Hörnquist Åstrand
ef2a4a3969 add BTMM style pkinit reply
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 04:59:57 +00:00
Love Hörnquist Åstrand
b7632c038b reindent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 04:59:47 +00:00
Love Hörnquist Åstrand
c6e9b9cabc simplify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-18 04:59:34 +00:00
Love Hörnquist Åstrand
daa7c34ab3 turn off supportedCMSTypes for now, allow kdc not sending correct certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:33:09 +00:00
Love Hörnquist Åstrand
28de60a9bc stricter check that enctype matches checksum type when using keyed checksum
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:59 +00:00
Love Hörnquist Åstrand
26abb7e637 option to turn off the KeyUsage check in CMS verify SignedData
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24204 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:49 +00:00
Love Hörnquist Åstrand
5f2da72d8a make der_get_octet_string_ber less restrictive
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24203 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:39 +00:00
Love Hörnquist Åstrand
be7861f63b implement kc_rsa_private_decrypt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24202 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:30 +00:00
Love Hörnquist Åstrand
2e8d2802c8 der_get_octet_string_ber meet reality and now works
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24201 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:20 +00:00
Love Hörnquist Åstrand
74ca2a2f6c add INDEF_OVERRUN, INDEF_UNDERRUN
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24200 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:10 +00:00
Love Hörnquist Åstrand
131b3d34f5 add flag to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:32:00 +00:00
Love Hörnquist Åstrand
e893e7bd5b Add HX509_CMS_EV_NO_KU_CHECK and HX509_CMS_VS_ALLOW_DATA_OID_MISMATCH
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:51 +00:00
Love Hörnquist Åstrand
61d49ed472 add options to skipping KeyUsage check
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24197 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:41 +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
dc7cea0417 add flags to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24193 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:31:03 +00:00
Love Hörnquist Åstrand
ba69102e6b add flags to hx509_cms_verify_signed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24192 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:52 +00:00
Love Hörnquist Åstrand
ff17f1e5a1 return of der_match_tag2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:42 +00:00
Love Hörnquist Åstrand
01dbb35475 turn on symbols for libasn1 and add check-ber for checking INDEF encoding with any
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24190 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:32 +00:00
Love Hörnquist Åstrand
ea193b2f25 use new der_match_tag_and_length to parse the UT_EndOfContent tag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24189 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:22 +00:00
Love Hörnquist Åstrand
26d2cd604d change prototype for der_match_tag_and_length to return the Der_type, add BER decoder for octet string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24188 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:12 +00:00
Love Hörnquist Åstrand
e9d32a0ac5 Use asn1 decoder now that it can handle CHOICE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24187 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:30:02 +00:00
Love Hörnquist Åstrand
be0a52e885 handle BER octet string, remove EoD tag before parsing content of a INDEF encoding to the greedy encodings in inside (like ANY) will swallow the EoD
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:52 +00:00
Love Hörnquist Åstrand
323e8433db handle ASN1_INDEFINITE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:42 +00:00
Love Hörnquist Åstrand
5da8d78b54 add [gs]_friendly_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24184 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:32 +00:00
Love Hörnquist Åstrand
35425fff7d print friendly name in klist output if it differs from principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:23 +00:00
Love Hörnquist Åstrand
bf2976562a print friendly name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24182 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:13 +00:00
Love Hörnquist Åstrand
0aef0e3e46 add krb5_cc_[gs]et_friendly_name, match MIT config name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:29:03 +00:00
Love Hörnquist Åstrand
f8a5a1a8a7 Allow DER encoding for CMS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:28:53 +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
8671326a06 Handle ASN1_INDEFINITE encoding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24178 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:28:33 +00:00
Love Hörnquist Åstrand
27f460b09a use krb5_get_init_creds_password
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24177 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-15 04:28:21 +00:00
Love Hörnquist Åstrand
eaa7e4e854 Deprecate old functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:53 +00:00
Love Hörnquist Åstrand
731f131f32 Make heimdal smaller and deprecate old functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24175 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:42 +00:00
Love Hörnquist Åstrand
85de455dde support split processing of AS and add support for keytab/keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:30 +00:00
Love Hörnquist Åstrand
ebdce5d97e add krb5_init_creds_context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24173 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:19 +00:00
Love Hörnquist Åstrand
0e3029c722 clean up from others before trying to run this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24172 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:12:07 +00:00
Love Hörnquist Åstrand
fc27e9b239 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24171 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:55 +00:00
Love Hörnquist Åstrand
8eb10d7b45 better doxygen for krb5_data_free
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:45 +00:00
Love Hörnquist Åstrand
1399415ad2 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:34 +00:00