Commit Graph

227 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand
44e5b4329f A file that wont change its content.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-19 18:02:30 +00:00
Love Hörnquist Åstrand
835693b42c Its cRLReason, not cRLReasons.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 21:10:41 +00:00
Love Hörnquist Åstrand
b7fb7b3c80 Attach revoke context to verify context.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16602 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 21:08:09 +00:00
Love Hörnquist Åstrand
5b16a7209b change syntax to make match better with crl checks
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16601 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 21:07:26 +00:00
Love Hörnquist Åstrand
327096d34e Verify no certificates has been revoked with the new revoke interface.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:51:55 +00:00
Love Hörnquist Åstrand
ffbe74d185 libhx509_la_SOURCES += revoke.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:50:48 +00:00
Love Hörnquist Åstrand
1f9aa1c6f7 Add framework for handling CRLs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:50:11 +00:00
Love Hörnquist Åstrand
45e059476f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16597 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:49:36 +00:00
Love Hörnquist Åstrand
da94d04998 Add hx509_revoke_ctx.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 20:49:21 +00:00
Love Hörnquist Åstrand
163c6cb7b5 delete crypto_headers.h, use global file instead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 14:02:49 +00:00
Love Hörnquist Åstrand
db692e67db x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:45:16 +00:00
Love Hörnquist Åstrand
41ce53a16e (PBE_string2key): libdes now supports PKCS12_key_gen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 08:44:57 +00:00
Love Hörnquist Åstrand
410d584bbb x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 14:04:03 +00:00
Love Hörnquist Åstrand
61be851b36 Need BN_is_negative too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-12 14:03:39 +00:00
Love Hörnquist Åstrand
cc9f4beb11 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16517 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:57:08 +00:00
Love Hörnquist Åstrand
e3f2a6b60a (p11_rsa_public_decrypt): since is wrong, don't provide it. PKCS11
can't do public_decrypt, it support verify though. All this doesn't
matter, since the code never go though this path.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:56:51 +00:00
Love Hörnquist Åstrand
2471aed4f0 Provide glue to compile with less warnings with OpenSSL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16515 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-11 01:38:12 +00:00
Love Hörnquist Åstrand
4326fc2833 Depend on LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:02:43 +00:00
Love Hörnquist Åstrand
8845ce15db Use "crypto_headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:02:14 +00:00
Love Hörnquist Åstrand
460a1a3274 Include the two diffrent implementation of crypto headers.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:01:32 +00:00
Love Hörnquist Åstrand
966f4361f9 Use "crypto-headers.h". Load ENGINE configuration.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 22:00:08 +00:00
Love Hörnquist Åstrand
4a4b90d3b8 Use "crypto-headers.h".
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:58:46 +00:00
Love Hörnquist Åstrand
1a7317f812 Make compile with both OpenSSL and heimdal libdes.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:58:13 +00:00
Love Hörnquist Åstrand
434d46a8fa Add code for public key decryption (not supported yet) and use
"crypto-headers.h".


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-08 21:57:09 +00:00
Love Hörnquist Åstrand
c52f7bb670 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:34:04 +00:00