Commit Graph

1696 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
b7064afbcf Find first CN= in the name, and try to match the hostname on that
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25143 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-27 02:18:44 +00:00
Love Hörnquist Åstrand
c7e0279abd regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25127 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:29:32 +00:00
Love Hörnquist Åstrand
f73d077b5b regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25126 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:27:48 +00:00
Love Hörnquist Åstrand
806551e98f test sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25125 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:26:03 +00:00
Love Hörnquist Åstrand
49e51e45d6 handle pkcs8 PrivateKeyInfo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25124 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:24:23 +00:00
Love Hörnquist Åstrand
16db7f341f extra sha-2 and sha-1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25123 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:22:38 +00:00
Love Hörnquist Åstrand
da2d803cf6 regen with sha256 + sha512
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-16 08:20:51 +00:00
Love Hörnquist Åstrand
673f326a7f add ec certs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25008 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 21:15:20 +00:00
Love Hörnquist Åstrand
f0366476c5 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:58 +00:00
Love Hörnquist Åstrand
146f753987 make attach release the keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24982 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:47 +00:00
Love Hörnquist Åstrand
3221f51f1c document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:57 +00:00
Love Hörnquist Åstrand
85c9cf9a76 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:45 +00:00
Love Hörnquist Åstrand
f7a8d0bc32 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:35 +00:00
Love Hörnquist Åstrand
7c796daa23 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:24 +00:00
Love Hörnquist Åstrand
c4c71cc41a switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:13 +00:00
Love Hörnquist Åstrand
8c81cd83cc switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:02 +00:00
Love Hörnquist Åstrand
7ffd243eed switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:11:48 +00:00
Love Hörnquist Åstrand
37e726c136 wrap more EC stuff in HAVE_OPENSSL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:26 +00:00
Love Hörnquist Åstrand
38c844cbaa return instad of break out to return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:50 +00:00
Love Hörnquist Åstrand
bc8666ab5a nkeys not used any more, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:40 +00:00
Love Hörnquist Åstrand
f77d976831 ignore the error from the free function.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24876 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:34:44 +00:00
Love Hörnquist Åstrand
471260363f catch errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24861 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:31:31 +00:00
Love Hörnquist Åstrand
3ba1f9ab68 remove dup return
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24822 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:57 +00:00
Love Hörnquist Åstrand
a196e330ac allow weak in PBE_string2key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:38 +00:00
Love Hörnquist Åstrand
15d0edc29a allow weak flags for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24820 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:28 +00:00
Love Hörnquist Åstrand
1859798544 allow weak flags for cms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24819 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:18 +00:00
Love Hörnquist Åstrand
20dfc4e41e don't allow weak crypto by default
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24818 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:24:03 +00:00
Love Hörnquist Åstrand
bbfb5e38e7 export hx509_crypto_allow_weak
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24817 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-27 03:23:48 +00:00
Love Hörnquist Åstrand
41f143471e bits for match_keys_ec()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:37 +00:00
Love Hörnquist Åstrand
50c7425369 include <stdio.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24799 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:57 +00:00
Love Hörnquist Åstrand
74377bbf5c include <stdarg.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24797 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:38 +00:00
Love Hörnquist Åstrand
89e9107f8d drop <heim_extra.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24796 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:28 +00:00
Love Hörnquist Åstrand
ff5dab4f4a remove rcsid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24795 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:18 +00:00
Love Hörnquist Åstrand
55bddbf305 always include <config.h>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:28:07 +00:00
Love Hörnquist Åstrand
02dab69819 hx509_cms_create_signed;
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:13:55 +00:00
Love Hörnquist Åstrand
c39e347450 keyex support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24711 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:15:29 +00:00
Love Hörnquist Åstrand
e4ab29a7bb regen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:15:05 +00:00
Love Hörnquist Åstrand
1ea672676b ECDSA_METHOD-not-export if openssl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24702 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:48 +00:00
Love Hörnquist Åstrand
8c452e59ba doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24701 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:13:38 +00:00
Love Hörnquist Åstrand
f293652434 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 20:12:46 +00:00
Love Hörnquist Åstrand
aad4e9c130 don't deref ops, they might be null.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:47 +00:00
Love Hörnquist Åstrand
51fc4ba5a1 don't deref ops, they might be null.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:37 +00:00
Love Hörnquist Åstrand
ea8cb168b3 don't deref ops, they might be null.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:27 +00:00
Love Hörnquist Åstrand
b7c044ec6b Disable test that breaks for ECDSA.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:17:15 +00:00
Love Hörnquist Åstrand
28cf0ab673 abort on interface misuse
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24685 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:30 +00:00
Love Hörnquist Åstrand
833885be80 Also select crypto alg based on private key.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:16:10 +00:00
Love Hörnquist Åstrand
a95073a244 done
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24683 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:15:58 +00:00
Love Hörnquist Åstrand
c7535afeb8 drop more oid pointers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24682 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-14 04:15:47 +00:00
Love Hörnquist Åstrand
14b272fb98 remove unused varaibale
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 18:32:05 +00:00
Love Hörnquist Åstrand
4500883ecc Calculate the ECDSA max signature runtime and use that select the signature alg
Reorder to make more use to variable instead of functions.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24680 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-11 18:31:55 +00:00