Love Hörnquist Åstrand
27a38bba47
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:48:58 +00:00
Love Hörnquist Åstrand
6f2f155e73
(check_altName): Print the othername oid.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:48:21 +00:00
Love Hörnquist Åstrand
2832b00b67
Manual page claims RSA_public_decrypt will return -1 on error, lets check for that
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-28 03:46:54 +00:00
Love Hörnquist Åstrand
7f803fd58d
(_hx509_pbe_decrypt): also try the empty password
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:10:36 +00:00
Love Hörnquist Åstrand
f4e25d6573
(match_localkeyid): no need to add back the cert to the cert pool, its
...
already there.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16840 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 22:09:28 +00:00
Love Hörnquist Åstrand
3c795c81d6
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16838 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:35:22 +00:00
Love Hörnquist Åstrand
381c1b5a04
Add REQUIRE_SIGNER
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16837 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:34:58 +00:00
Love Hörnquist Åstrand
e3ef13ddb4
(hx509_cert_free): ok to free NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16836 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:34:13 +00:00
Love Hörnquist Åstrand
72e10b58e9
Add new error code SIGNATURE_WITHOUT_SIGNER.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16835 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:33:19 +00:00
Love Hörnquist Åstrand
f0997e90dc
(_hx509_name_ds_cmp): make DirectoryString case insenstive
...
(hx509_name_to_string): less spacing
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:32:26 +00:00
Love Hörnquist Åstrand
fbd84cf005
Check for signature error, check consitency of error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:04:28 +00:00
Love Hörnquist Åstrand
63170a411d
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16828 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:35:41 +00:00
Love Hörnquist Åstrand
28ef233497
(file_init): leak less memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:26:37 +00:00
Love Hörnquist Åstrand
6e3958b47e
(_hx509_collector_alloc): handle errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16826 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 04:26:05 +00:00
Love Hörnquist Åstrand
bf2edb9716
(hx509_query_alloc): allocate slight more more then a sizeof(pointer)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 02:07:05 +00:00
Love Hörnquist Åstrand
fc8f1c4d7f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 00:08:31 +00:00
Love Hörnquist Åstrand
c4c31576fe
(_hx509_private_key_assign_key_file): ask for password if nothing matches.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:54:18 +00:00
Love Hörnquist Åstrand
7542d311ee
Expose more of the hx509_query interface.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:51:10 +00:00
Love Hörnquist Åstrand
099a14e094
hx509_certs_find is now exposed.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:49:04 +00:00
Love Hörnquist Åstrand
a27d1186bf
(hx509_certs_free): allow free-ing NULL
...
(hx509_certs_find): expose
(hx509_get_one_cert): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:43:37 +00:00
Love Hörnquist Åstrand
12096c0f04
Remove hx509_query, its exposed now.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:39:08 +00:00
Love Hörnquist Åstrand
e0955cb5ba
Add hx509_query.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-26 23:33:55 +00:00
Love Hörnquist Åstrand
cd53d482ff
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-06 12:54:07 +00:00
Love Hörnquist Åstrand
d8486beab5
Add exceptions for null (empty) subjectNames
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 15:14:00 +00:00
Love Hörnquist Åstrand
d8636d8a66
Add some more name constraints tests.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 15:10:21 +00:00
Love Hörnquist Åstrand
47ff6b5f81
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 13:12:32 +00:00
Love Hörnquist Åstrand
19b22db4e2
Add some of the test from 4.13 Name Constraints.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16759 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-22 13:12:13 +00:00
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