Commit Graph

11996 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand 3a3aa6762c Test generation of proxy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:08:25 +00:00
Love Hörnquist Åstrand 99f8bea461 Allow generation of proxy certificates, always include
BasicConstraints, fix error codes.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:07:46 +00:00
Love Hörnquist Åstrand 6a8868770e Allow generation of proxy certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:07:00 +00:00
Love Hörnquist Åstrand 93abfd3634 add new error, PARSING_NAME_FAILED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:05:39 +00:00
Love Hörnquist Åstrand 87b7533d02 make hx509_parse_name take a hx509_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:04:54 +00:00
Love Hörnquist Åstrand 2dcbc1ab7e Split building RDN to a separate function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:04:11 +00:00
Love Hörnquist Åstrand e86331e9a1 clean test_ca files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19595 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 21:48:34 +00:00
Love Hörnquist Åstrand 64242b5769 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:52:37 +00:00
Love Hörnquist Åstrand 977e13f429 test issuing self-signed and CA certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:52:08 +00:00
Love Hörnquist Åstrand 623c3467da Add bits to allow issuing self-signed and CA certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19592 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:50:39 +00:00
Love Hörnquist Åstrand eaaff166a5 Add bits to allow issuing CA certificates.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:49:35 +00:00
Love Hörnquist Åstrand 086e7f3847 use new OCSPSigning.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 17:09:06 +00:00
Love Hörnquist Åstrand 2719a5f038 Add Subject Key Identifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 16:10:19 +00:00
Love Hörnquist Åstrand 0c6f8e6994 Add Add Authority Key Identifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:58:13 +00:00
Love Hörnquist Åstrand 3f121e484c Locally export _hx509_find_extension_subject_key_id.
Handle AuthorityKeyIdentifier where only authorityCertSerialNumber and
authorityCertSerialNumber is set.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:57:14 +00:00
Love Hörnquist Åstrand 308325a11b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:03:26 +00:00
Love Hörnquist Åstrand 2ad9f89060 Add dnsname and rfc822 SANs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:03:10 +00:00
Love Hörnquist Åstrand fd6fbe0d68 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:01:42 +00:00
Love Hörnquist Åstrand eedb76b8d6 Test dnsname and rfc822 SANs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:01:24 +00:00
Love Hörnquist Åstrand 7ddee6b712 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 15:00:18 +00:00
Love Hörnquist Åstrand d09a750407 test adding eku, ku and san to the certificate (https and pk-init)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:50:24 +00:00
Love Hörnquist Åstrand 993dacac92 Add eku, ku and san to the certificate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:49:37 +00:00
Love Hörnquist Åstrand b5c3feb43f Add --type and --pk-init-principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 14:45:49 +00:00
Love Hörnquist Åstrand b9b64d6c30 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 12:44:15 +00:00
Love Hörnquist Åstrand beaf8c5bc2 Add id-pkix-kp oids.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 12:43:41 +00:00
Love Hörnquist Åstrand c29c97518f remove id-kp-OCSPSigning, its in rfc2459.asn1 now
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 12:40:43 +00:00
Love Hörnquist Åstrand 6171869c5c add error handling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:39:48 +00:00
Love Hörnquist Åstrand 79c50d6b5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:23 +00:00
Love Hörnquist Åstrand 1ae085e4ce Add KeyUsage extension.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:35:05 +00:00
Love Hörnquist Åstrand 5342643f04 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:30:32 +00:00
Love Hörnquist Åstrand 352a9ea8cf x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:29:41 +00:00
Love Hörnquist Åstrand 682c7deda6 Named bit strings have this horrible, disgusting, compress bits until
they are no longer really there but stuff in an initial octet anyway
encoding scheme. Try to get it right and calculate the initial octet
runtime instead of compiletime.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:29:13 +00:00
Love Hörnquist Åstrand b9736129b2 Check all other silly bitstring combinations.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 17:25:21 +00:00
Love Hörnquist Åstrand 0f7eb6c301 Add --sequence=Extensions to rfc2459.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:20:12 +00:00
Love Hörnquist Åstrand b52fd2e0f8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:00:29 +00:00
Love Hörnquist Åstrand 3e7b3f6cbf Update (c).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 16:00:16 +00:00
Love Hörnquist Åstrand af6606bbb7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:55:03 +00:00
Love Hörnquist Åstrand 5342f14d52 Add sign-certificate tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:54:20 +00:00
Love Hörnquist Åstrand 1c95c59dab Add _hx509_create_signature_bitstring.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:53:42 +00:00
Love Hörnquist Åstrand 694955c3a8 Add the sign-certificate tool.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:52:35 +00:00
Love Hörnquist Åstrand e0462bfd82 Add HX509_QUERY_OPTION_KU_KEYCERTSIGN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:51:22 +00:00
Love Hörnquist Åstrand 23b2e5ae89 Add hx509_ca_tbs and HX509_QUERY_OPTION_KU_KEYCERTSIGN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:50:05 +00:00
Love Hörnquist Åstrand 01553c6d54 Basic test of generating a pkcs10 request, signing it and verifying the chain.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:49:05 +00:00
Love Hörnquist Åstrand 935e09fac5 Naive certificate signer.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-29 15:48:09 +00:00
Love Hörnquist Åstrand 45ec4d80e5 update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:41:17 +00:00
Love Hörnquist Åstrand b8c1034506 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:40:38 +00:00
Love Hörnquist Åstrand c96b8bc3eb Fix caseing for case-sensitive filesystems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 23:40:17 +00:00
Love Hörnquist Åstrand fc4cc2d82d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:05:53 +00:00
Love Hörnquist Åstrand b8e9905b57 Add kx509.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 21:05:23 +00:00
Love Hörnquist Åstrand 7997ff4d88 add krb5_ticket_get_endtime
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-28 20:49:18 +00:00