Commit Graph

18806 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
2853c139e5 ChangeLog from 2006
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 09:07:43 +00:00
Love Hörnquist Åstrand
cb206ff3bf rename DCHECK to CHECK
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-02 09:05:44 +00:00
Love Hörnquist Åstrand
230bf3309e add RSA_generate_key_ex
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 10:43:47 +00:00
Love Hörnquist Åstrand
a10d6c1a04 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:37:31 +00:00
Love Hörnquist Åstrand
7a0bda61c8 Allow setting path length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:37:10 +00:00
Love Hörnquist Åstrand
ab8e83ff53 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:34:20 +00:00
Love Hörnquist Åstrand
b4ca985700 Fix test for proxy certs chain length, it was too restrictive.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:31:28 +00:00
Love Hörnquist Åstrand
9ab3c38b3a (proxy_cert) make length 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:28:44 +00:00
Love Hörnquist Åstrand
e094c5275d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:11:17 +00:00
Love Hörnquist Åstrand
8424dc4081 Issue a long living cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:10:52 +00:00
Love Hörnquist Åstrand
760f9d2de4 add --lifetime to ca command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:10:00 +00:00
Love Hörnquist Åstrand
7cabe3475e allow setting notBefore and notAfter.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-31 01:08:56 +00:00
Love Hörnquist Åstrand
e1cdaad627 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-30 23:10:37 +00:00
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