Commit Graph

1573 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
e33a6700ac Switched default types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20793 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:46:28 +00:00
Love Hörnquist Åstrand
949dfd44f0 Use default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:31:18 +00:00
Love Hörnquist Åstrand
97b8a8f765 Use default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20791 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:58 +00:00
Love Hörnquist Åstrand
7fb311a15d Provide default AlgorithmIdentifier and use them.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:29 +00:00
Love Hörnquist Åstrand
7cf2f2ac1a Provide default AlgorithmIdentifier.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 02:30:11 +00:00
Love Hörnquist Åstrand
ee8f651792 Indent.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20788 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:29:52 +00:00
Love Hörnquist Åstrand
01e0dead4f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:04:47 +00:00
Love Hörnquist Åstrand
e28d281748 (hx509_certs_find): collects stats for queries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20786 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:04:25 +00:00
Love Hörnquist Åstrand
8bd94acbdd Sort and print more info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20785 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 01:03:14 +00:00
Love Hörnquist Åstrand
8ed2bb38e4 Add querystat to hx509_context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:48:51 +00:00
Love Hörnquist Åstrand
e3909014e4 If there are no querystat file, whine.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:47:21 +00:00
Love Hörnquist Åstrand
4f97424296 turn on stat collecting
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-02 00:46:00 +00:00
Love Hörnquist Åstrand
ecba53e501 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:17:17 +00:00
Love Hörnquist Åstrand
b9da6ebef0 sprinle stat saveing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20780 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-01 22:17:03 +00:00