Commit Graph

1552 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand e66a73adce x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 13:11:44 +00:00
Love Hörnquist Åstrand f07a60cae0 Name constraits needs to be evaluated in block as they appear in the
certificates, they can not be joined to one list. One example of this is:

* cert is cn=foo,dc=bar,dc=baz
* subca is  dc=foo,dc=baz with name restriction dc=kaka,dc=baz
* ca is  dc=baz with name restriction dc=baz

If the name restrictions are merged to a list, the certificate will
pass this test.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16757 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 13:11:05 +00:00
Love Hörnquist Åstrand 6ef3ac4edb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 12:48:43 +00:00
Love Hörnquist Åstrand 84746467cc Handle more name constraints cases.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 12:48:25 +00:00
Love Hörnquist Åstrand cc053da651 Try handle name constraints a little bit better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 11:36:00 +00:00
Love Hörnquist Åstrand 43470798fb update (c)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16739 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 10:45:47 +00:00
Love Hörnquist Åstrand baf806b355 (dsa_verify_signature): if test if malloc failed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16738 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-14 10:44:52 +00:00
Love Hörnquist Åstrand 0168d35016 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16677 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-31 16:35:18 +00:00
Love Hörnquist Åstrand a8f673b166 Drop partial pkcs12 string2key implementation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16674 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-31 15:43:52 +00:00
Love Hörnquist Åstrand 4ed5f4abd6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16649 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 13:02:46 +00:00
Love Hörnquist Åstrand 916de71ce3 remove premature end
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16648 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:45:05 +00:00
Love Hörnquist Åstrand af97fbb3c6 Add commited out DSA tests (they fail).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:43:04 +00:00
Love Hörnquist Åstrand 0633352207 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16646 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 12:23:32 +00:00
Love Hörnquist Åstrand 3c6a4a5826 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 11:10:50 +00:00
Love Hörnquist Åstrand d5b6219f2a Add 4.2 Validity Periods.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16644 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 11:09:27 +00:00
Love Hörnquist Åstrand 76e2e5bd11 Make less verbose to use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16643 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:56:57 +00:00
Love Hörnquist Åstrand aee7bc6102 Start on 4.1 Signature Verification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16642 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:29:06 +00:00
Love Hörnquist Åstrand b27ddd47f5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16641 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:21:22 +00:00
Love Hörnquist Åstrand 0c47bfe2ea Add test_nist_cert.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:20:49 +00:00
Love Hörnquist Åstrand 055d8c7477 Add some more CRL-tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:17:59 +00:00
Love Hörnquist Åstrand 9be2e759dd Print $id instead of . when running the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16638 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 10:17:28 +00:00
Love Hörnquist Åstrand e94358fc92 Drop verifying certifiates, its done in another test now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16633 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:59 +00:00
Love Hörnquist Åstrand b7cf177007 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16632 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:23 +00:00
Love Hörnquist Åstrand 91d8ac1a07 fixup kill-rectangle leftovers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16631 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 09:04:07 +00:00
Love Hörnquist Åstrand 6182e04ad6 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:51:04 +00:00
Love Hörnquist Åstrand c1d17dd5a2 Drop verifying certifiates, its done in another test now.
Add more crl tests. comment out all unused tests.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:50:50 +00:00
Love Hörnquist Åstrand e17fe5112f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:45:06 +00:00
Love Hörnquist Åstrand 55ebcbe0b1 less verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16627 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:45 +00:00
Love Hörnquist Åstrand 87c89894bc fail on failure.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16626 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:33 +00:00
Love Hörnquist Åstrand 04833e7be9 Test parse all nist certs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16625 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-20 08:44:20 +00:00
Love Hörnquist Åstrand 7b1d6f8d43 Add HX509_CRL_UNKNOWN_EXTENSION.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 20:02:16 +00:00
Love Hörnquist Åstrand 44b5efca00 Check for unknown extentions in CRLs and CRLEntries.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16623 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 20:01:48 +00:00
Love Hörnquist Åstrand 4859d1d1eb (hx509_revoke_free): free all memory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:33:20 +00:00
Love Hörnquist Åstrand 547c672a56 Make compile again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:31:33 +00:00
Love Hörnquist Åstrand faec9e186d Add more CRL checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:30:44 +00:00
Love Hörnquist Åstrand 3152150ae7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16619 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:18:23 +00:00
Love Hörnquist Åstrand 510a550bc2 Parse new format to handle CRL info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16618 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:17:58 +00:00
Love Hörnquist Åstrand 9d0e8facf9 Add --missing-crl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:17:03 +00:00
Love Hörnquist Åstrand a0e9478679 (hx509_unparse_der_name): Rename from hx509_parse_name.
(_hx509_unparse_Name): Add.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:16:36 +00:00
Love Hörnquist Åstrand 4fac933bb9 Add --missing-crl to verify commands.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:15:34 +00:00
Love Hörnquist Åstrand 09436f69c1 Add CRL errors.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:15:03 +00:00
Love Hörnquist Åstrand 9ea664c77c (hx509_context_set_missing_crl): new function
Add CRL handling.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16613 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:14:38 +00:00
Love Hörnquist Åstrand 9a0a60e0ee Add HX509_CTX_CRL_MISSING_OK.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16612 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:38 +00:00
Love Hörnquist Åstrand fc2dc65bcd x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16611 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:21 +00:00
Love Hörnquist Åstrand c2cb23d534 Parse and verify CRLs (simplistic).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16610 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:13:11 +00:00
Love Hörnquist Åstrand 1caa24e4ee Parse CRL info.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16609 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:11:19 +00:00
Love Hörnquist Åstrand 02b1c3e19a Change format so we can deal with CRLs, also note the test-id from PKITS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:09:42 +00:00
Love Hörnquist Åstrand ccb1730d80 regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16607 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:07:54 +00:00
Love Hörnquist Åstrand c567afff59 Use static-file to generate tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16606 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:07:25 +00:00
Love Hörnquist Åstrand e1284cccf5 Use static file, add --missing-crl.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16605 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:06:40 +00:00