Commit Graph

24159 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand 429e06d2ec insert space to please parser
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:24 +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 60b4ec74d5 dont use leaks kill on non existant process
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:11:02 +00:00
Love Hörnquist Åstrand df0cc7d1b4 use leaks-kill.sh
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24165 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:51 +00:00
Love Hörnquist Åstrand be83e7b995 remove leaks-log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:40 +00:00
Love Hörnquist Åstrand 830d1bd513 use leaks-kill
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24163 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:10:29 +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 22e49a6f40 kill kdc using leaks-kill
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24160 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:58 +00:00
Love Hörnquist Åstrand e2547bbcf0 check for memory leaks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24159 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:48 +00:00
Love Hörnquist Åstrand a45c993c88 make sure all addresses are added
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24158 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:38 +00:00
Love Hörnquist Åstrand 242139b224 plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24157 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:28 +00:00
Love Hörnquist Åstrand 9921bcbe2a plug memory leak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24156 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:18 +00:00
Love Hörnquist Åstrand 554655b628 call cleanup callback on free schedule in setup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24155 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 05:09:08 +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