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
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
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
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
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
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
7dcf3289bb
add a hx509_context where we can store configuration
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 20:33:31 +00:00
Love Hörnquist Åstrand
998e7c5677
(_hx509_match_keys): function that determins if a private key matches
...
a certificate, used when there is no localkeyid.
(*) reset free pointer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16470 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 14:51:13 +00:00
Love Hörnquist Åstrand
cda5bbd725
(_hx509_private_key_assign_key_file): use function to extra rsa key
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 06:34:46 +00:00
Love Hörnquist Åstrand
1c38c798d6
Remove most of the EVP_PKEY code, and use RSA directly, this temporary
...
removes DSA support.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16455 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-04 03:03:09 +00:00
Love Hörnquist Åstrand
5d2485dd68
(_hx509_private_key_assign_ptr): new function, exposes EVP_PKEY
...
(_hx509_private_key_assign_key_file): remember to free private key if
there is one.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 16:32:46 +00:00
Love Hörnquist Åstrand
02d27ea231
Use _hx509_abort.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-03 08:26:26 +00:00
Love Hörnquist Åstrand
c71a749176
Support DSA signature operations.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-10-29 10:59:21 +00:00
Love Hörnquist Åstrand
1479736a8f
Make _hx509_pbe_decrypt take a hx509_lock, workaround for empty password.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-04 15:15:49 +00:00
Love Hörnquist Åstrand
eec128ce73
Abstract out PBE_string2key so I can add PBE2 s2k later.
...
Avoid signess warnings with OpenSSL.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16017 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-09-03 19:59:11 +00:00
Love Hörnquist Åstrand
3be00a5b2b
add "new" RC2 oid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15816 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 23:45:31 +00:00
Love Hörnquist Åstrand
e84e12d06e
sprinkel rk_UNCONST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15802 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:18:21 +00:00
Love Hörnquist Åstrand
db921e48f1
add DER NULL to the digest oid's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 21:07:15 +00:00
Love Hörnquist Åstrand
4fa74ad527
make digest_alg a digest_oid, it's not needed right now
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15798 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-27 20:31:44 +00:00
Love Hörnquist Åstrand
9a65106a30
fix id tags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 20:05:40 +00:00
Love Hörnquist Åstrand
0a70228c08
Initial revision
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-07-24 16:59:14 +00:00