Commit Graph

1887 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
887bb5f354 Whine if its a non CA/proxy and doesn't have CRL DP.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 02:23:45 +00:00
Love Hörnquist Åstrand
baee263bda Default path-length to -1.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:59:19 +00:00
Love Hörnquist Åstrand
6ab9862950 Add cRLSign to CA certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:58:45 +00:00
Love Hörnquist Åstrand
337ff1cf7f Set subject DN to Windows-CA for the ca cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-05 01:23:57 +00:00
Love Hörnquist Åstrand
b3c3aabd9f Register NULL and KEYCHAIN.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:14:53 +00:00
Love Hörnquist Åstrand
934a23b023 register the NULL keystore.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:14:08 +00:00
Love Hörnquist Åstrand
b13087f976 Add ks_keychain.c and related libs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:13:32 +00:00
Love Hörnquist Åstrand
32ef7d06b5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:08:33 +00:00
Love Hörnquist Åstrand
98a0fa6017 Print certificate with utf8.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:07:46 +00:00
Love Hörnquist Åstrand
ab50fce383 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:06:06 +00:00
Love Hörnquist Åstrand
852d5a2392 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:05:31 +00:00
Love Hörnquist Åstrand
789e4f5ac7 Leak less memory.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:04:48 +00:00
Love Hörnquist Åstrand
f4600fe0a5 Leak less memory, use functions that does same but more.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20894 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 23:03:10 +00:00
Love Hörnquist Åstrand
91a69074fd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20893 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:53:18 +00:00
Love Hörnquist Åstrand
75acfd5e12 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20892 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:51:54 +00:00
Love Hörnquist Åstrand
0f76edd889 (quote_string): don't sign extend the (signed) char to avoid printing
too much, add an assert to check that we didn't overrun the buffer.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20891 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:51:41 +00:00
Love Hörnquist Åstrand
fcc3edd1aa Use right element out of the CHOICE for printableString and utf8String
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20890 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 22:39:51 +00:00
Love Hörnquist Åstrand
701cb835e8 Certificate only KeyChain backend.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20889 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:58:24 +00:00
Love Hörnquist Åstrand
9c322b0357 Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20885 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:13:14 +00:00
Love Hörnquist Åstrand
b96343ee7b Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20884 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:12:38 +00:00
Love Hörnquist Åstrand
4204cbd8b1 Reset name before parsing it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-04 21:11:53 +00:00
Love Hörnquist Åstrand
03161c046c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:40:19 +00:00
Love Hörnquist Åstrand
72e100cd08 (hx509_crl_*): fix sizeof() mistakes to fix memory corruption.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20871 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 21:22:51 +00:00
Love Hörnquist Åstrand
8dd610121e x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20853 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:02:12 +00:00
Love Hörnquist Åstrand
8aae4402f7 Add lifetime to crls.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20852 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:01:24 +00:00
Love Hörnquist Åstrand
9ccb8e8d8b Add lifetime to crls.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:00:59 +00:00
Love Hörnquist Åstrand
c08a7ed62f Add lifetime to crls.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 18:00:29 +00:00
Love Hörnquist Åstrand
5a3127d3cc More crl checks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 17:59:53 +00:00
Love Hörnquist Åstrand
04a99a3e5c Add revoking certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 15:31:07 +00:00
Love Hörnquist Åstrand
1e223ee1a9 argument is certificates.. for crl-sign
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 15:30:36 +00:00
Love Hörnquist Åstrand
0a3cbbe6b5 (certificate_copy): free lock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:59:55 +00:00
Love Hörnquist Åstrand
d44e3c226f Fix hx509_set_error_string calls, add hx509_crl_add_revoked_certs(),
implement hx509_crl_{alloc,free}.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 13:46:41 +00:00
Love Hörnquist Åstrand
6e3a180814 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:12:59 +00:00
Love Hörnquist Åstrand
6ce83b9e50 (crl_sign): free lock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:11:43 +00:00
Love Hörnquist Åstrand
043c764ce8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20825 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:02:05 +00:00
Love Hörnquist Åstrand
eb75f79fe2 (hx509_context_free): free querystat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 05:01:52 +00:00
Love Hörnquist Åstrand
4cb78cbb30 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:19:38 +00:00
Love Hörnquist Åstrand
f1643c2723 test ocsp-verify
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:19:06 +00:00
Love Hörnquist Åstrand
4f52c4766a (hx509_ocsp_verify): explain what its useful for and provide sane error message.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:18:12 +00:00
Love Hörnquist Åstrand
85d84dd15e New error code, CERT_NOT_IN_OCSP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20807 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:11:20 +00:00
Love Hörnquist Åstrand
aa1c29af38 New command ocsp-verify, check if ocsp contains all certs and are
valid (exist and non expired).


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20806 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:09:54 +00:00
Love Hörnquist Åstrand
ac5c46095d New command ocsp-verify.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20805 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 03:08:39 +00:00
Love Hörnquist Åstrand
40573b0450 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:30:51 +00:00
Love Hörnquist Åstrand
01fa9651b6 Create crl and verify that is works.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20800 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:30:25 +00:00
Love Hörnquist Åstrand
b244ea47fd Sign CRL command.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:29:44 +00:00
Love Hörnquist Åstrand
0d7c929c6d Add hx509_crl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:28:55 +00:00
Love Hörnquist Åstrand
5f546a763e Add crl-sign commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:28:26 +00:00
Love Hörnquist Åstrand
0d73993576 Support to generate an empty CRL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:27:58 +00:00
Love Hörnquist Åstrand
02586ef214 clean crl.crl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 03:27:32 +00:00
Love Hörnquist Åstrand
92eb178d8a Switched default types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:46:45 +00:00