Commit Graph

20515 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
42c349839d Use hx509_cms_unwrap_ContentInfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 05:21:56 +00:00
Love Hörnquist Åstrand
041638c844 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21320 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:47:02 +00:00
Love Hörnquist Åstrand
a5e5db51bd Use hx509_crypto_random_iv.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21319 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:46:52 +00:00
Love Hörnquist Åstrand
15c8bb00e6 Split out the iv creation from hx509_crypto_encrypt since
_hx509_pbe_encrypt needs to use the iv from the s2k function.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21318 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:46:32 +00:00
Love Hörnquist Åstrand
9733de710d Add comments.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 19:22:02 +00:00
Love Hörnquist Åstrand
3c08beb7fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:53 +00:00
Love Hörnquist Åstrand
c5881d3399 Test PEM and DER FILE writing functionallity.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:44 +00:00
Love Hörnquist Åstrand
6af92427cb Add writing DER certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21314 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:45:07 +00:00
Love Hörnquist Åstrand
78adee3666 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:27:55 +00:00
Love Hörnquist Åstrand
b376cf9ad6 Update to new hx509_pem_write().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:27:28 +00:00
Love Hörnquist Åstrand
1761c997f6 test creation of PEM signeddata.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:26:37 +00:00
Love Hörnquist Åstrand
de375f7467 PEM struct/function declarations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:26:06 +00:00
Love Hörnquist Åstrand
1f5b66439c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:24:01 +00:00
Love Hörnquist Åstrand
fc504fb042 Use PEM encoding/decoding functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:23:51 +00:00
Love Hörnquist Åstrand
fedd7ad133 PEM encode/decoding functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21307 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 18:23:01 +00:00
Love Hörnquist Åstrand
b442dada5d Use hx509_pem_write.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 17:24:43 +00:00
Love Hörnquist Åstrand
35a7646bf0 Export some semi-private functions.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 17:04:12 +00:00
Love Hörnquist Åstrand
5a42c2faa3 export hx509_pem_write
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:54:53 +00:00
Love Hörnquist Åstrand
d6310fff09 Enable writing out signed data as a pem attachment.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:49:12 +00:00
Love Hörnquist Åstrand
ddc4a41685 (cms-create-signed): add --pem
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:44:55 +00:00
Love Hörnquist Åstrand
e1fcd85fb3 (hx509_pem_write): Add.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 16:44:24 +00:00
Love Hörnquist Åstrand
70013f4851 Issue and test null subject cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 15:48:55 +00:00
Love Hörnquist Åstrand
75a8cbee85 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21299 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:50:57 +00:00
Love Hörnquist Åstrand
fbb90f5445 Add example for pkinit_win2k_require_binding in [kdc] section.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21298 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:50:03 +00:00
Love Hörnquist Åstrand
9f9812d0d8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:49:38 +00:00
Love Hörnquist Åstrand
36bcc8529e Rename require_binding to win2k_require_binding to match client
configuration.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21296 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:49:11 +00:00
Love Hörnquist Åstrand
d18a09a118 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21295 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:43:34 +00:00
Love Hörnquist Åstrand
311d4992f2 Match is first component is in a CN=.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:37:15 +00:00
Love Hörnquist Åstrand
0531be3254 Test hostname if first CN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:36:36 +00:00
Love Hörnquist Åstrand
b017af6f2c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:14:51 +00:00
Love Hörnquist Åstrand
ea8a0d2891 Add [kdc]pkinit_require_binding option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:14:41 +00:00
Love Hörnquist Åstrand
b64da39b5f (pk_mk_pa_reply_enckey): only allow non-bound reply if its not required.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:13:23 +00:00
Love Hörnquist Åstrand
677319e069 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:10:04 +00:00
Love Hörnquist Åstrand
cd83aef979 rename pkinit_princ_in_cert and add pkinit_require_binding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:09:55 +00:00
Love Hörnquist Åstrand
ced5a6d55f rename pkinit_princ_in_cert and add pkinit_require_binding
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:09:03 +00:00
Love Hörnquist Åstrand
c2da08186b rename pkinit_princ_in_cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 14:08:34 +00:00
Love Hörnquist Åstrand
7f1b54370c (nametypes) += static const.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 12:30:55 +00:00
Love Hörnquist Åstrand
1c30ba73a2 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:41:48 +00:00
Love Hörnquist Åstrand
51b05361e0 Add version script.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:41:38 +00:00
Love Hörnquist Åstrand
bec72a4a8b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:40:20 +00:00
Love Hörnquist Åstrand
d19038227e Limited exported symbols.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 05:40:09 +00:00
Love Hörnquist Åstrand
e4f0d2a7ce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21280 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:55:37 +00:00
Love Hörnquist Åstrand
64dd4ed468 test --hostname.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:55:02 +00:00
Love Hörnquist Åstrand
fd1661f019 test max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:43 +00:00
Love Hörnquist Åstrand
4f99a5fdd6 fixate HX509_HN_HOSTNAME at 0.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:54:20 +00:00
Love Hörnquist Åstrand
c5e18ae5eb add --hostname add --max-depth
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:40 +00:00
Love Hörnquist Åstrand
9341a7ec42 Verify hostname and max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:50:10 +00:00
Love Hörnquist Åstrand
5db583358c Verify hostname and test max-depth.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 04:47:55 +00:00
Love Hörnquist Åstrand
c921b79093 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:53 +00:00
Love Hörnquist Åstrand
58ecb90252 Test --id-by-name.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21272 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:27:34 +00:00