Commit Graph

59 Commits

Author SHA1 Message Date
Nicolas Williams
cfb2c74923 kadmind: Add fuzzing options 2023-01-04 01:36:03 -06:00
Radoslav Bodo
f3f06fcba9 kadmin selective prune of historic key for principal 2018-12-31 14:17:10 -06:00
Nicolas Williams
490337f4f9 Make OpenSSL an hcrypto backend proper
This adds a new backend for libhcrypto: the OpenSSL backend.

Now libhcrypto has these backends:

 - hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
 - Common Crypto (OS X)
 - PKCS#11 (specifically for Solaris, but not Solaris-specific)
 - Windows CNG (Windows)
 - OpenSSL (generic)

The ./configure --with-openssl=... option no longer disables the use of
hcrypto.  Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto.  The libhcrypto framework is now always used.

OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.

Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC.  Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00
Nicolas Williams
c6f24e99f0 Revamp cf/db.m4; test LMDB 2016-02-26 00:55:32 -06:00
Love Hörnquist Åstrand
5aca37ae55 revert 31be932fe8 2014-09-09 18:50:22 +02:00
Jelmer Vernooij
31be932fe8 Install compatibility symlinks for kadmin and ktutil. 2014-06-11 03:44:28 +02:00
Jelmer Vernooij
63e2f30fd5 Move kadmin and ktutil to /usr/bin. 2014-06-09 23:36:23 +02:00
Love Hörnquist Åstrand
12403a31ce sprinkle more windows files 2011-07-23 11:18:21 -07:00
Love Hörnquist Åstrand
7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand
c867fd3e2e Make libtool pull in the depenency on libldap
Put in explicy depenency on libdap so that libtool
might to the right thing for us.

Patch from Jan Rekorajski
2009-12-08 00:15:10 -08:00
Love Hornquist Astrand
dc4e8669ea Abstract out asn1_compile and slc 2009-09-16 00:12:13 -07:00
Love Hörnquist Åstrand
60fb283294 include gssapi header files directly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:49:54 +00:00
Love Hörnquist Åstrand
8d16bb0b68 add support for add,get,delete,chrand for the MIT kadmin protocol
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24240 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-11 21:42:02 +00:00
Love Hörnquist Åstrand
7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +00:00
Love Hörnquist Åstrand
7ba2b2006c rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
17562715a4 Add new command, add_enctype.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-22 03:14:18 +00:00
Love Hörnquist Åstrand
0531c10f7f Add test_util test program.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-22 17:26:54 +00:00
Love Hörnquist Åstrand
1b9fae5253 more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18653 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 15:52:20 +00:00
Love Hörnquist Åstrand
11a1758854 split build files into dist_ and noinst_ SOURCES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 09:24:39 +00:00
Love Hörnquist Åstrand
1afdb4c66f kadmin_SOURCES += add check.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 21:37:36 +00:00
Johan Danielsson
0624b4457e replace INCLUDES with AM_CPPFLAGS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 11:55:29 +00:00
Johan Danielsson
9929f779ec move kadmin-commands.h from kadmin_locl.h so kadmind does not depend on it
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14000 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-27 15:04:07 +00:00
Johan Danielsson
d7f9fac88e convert to use slc; also add stash subcommand
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-06-21 19:19:45 +00:00
Johan Danielsson
2450e7b7f8 nuke kerberos 4 kadmin goo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-05-13 17:46:20 +00:00
Love Hörnquist Åstrand
511b038cd6 kadmin_SOURCES += pw_quality.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-07 23:03:16 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
09f6328808 rename variable name to avoid error from current automake
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 22:41:56 +00:00
Assar Westerlund
baebf953a8 use LIB_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
48546b4e60 add kadmin manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9040 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:14:45 +00:00
Johan Danielsson
418e11ca5e link with pidfile library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:24:51 +00:00
Johan Danielsson
69475910d0 kadm_conn.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8645 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 13:05:35 +00:00
Assar Westerlund
65cc7dfab9 (INCLUDES): add ../lib/krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 15:56:43 +00:00
Assar Westerlund
260a7c8095 add add-random-users and man-page for kadmind
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-07 11:07:24 +00:00
Assar Westerlund
813186bce2 add $(LIB_openldap)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8116 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-04-05 03:30:11 +00:00
Assar Westerlund
ce8a4c95f3 move stuff from common ldadd to kadmin dito
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-01-06 08:04:13 +00:00
Assar Westerlund
c2fffdb073 (kadmin_SOURCES): add del_enctype.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7434 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-11-25 22:31:42 +00:00
Assar Westerlund
2397d3e29c (kadmin_LDADD): add LIB_dlopen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7164 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-17 11:39:42 +00:00
Johan Danielsson
3ad4c651ff remove extra \
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7081 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 15:49:00 +00:00
Assar Westerlund
3955d77827 link kadmind with -ldl when needed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7069 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-01 13:05:21 +00:00
Assar Westerlund
4e8d3b3ab8 (kadmin_SOURCES): add random_password.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6852 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:37:24 +00:00
Johan Danielsson
247779f7dc link with krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6083 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-05-03 16:44:15 +00:00
Assar Westerlund
e53706c80a use LIB_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5897 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-09 18:29:48 +00:00
Johan Danielsson
0f23e17f6f fix broken checkin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5652 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-20 13:58:20 +00:00
Assar Westerlund
f42ca9c63a correct path to Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5638 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 23:16:50 +00:00
Johan Danielsson
6af0e18e36 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5624 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-19 13:54:22 +00:00
Johan Danielsson
3396508b8a sl.a -> sl.la
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5599 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 11:52:27 +00:00
Johan Danielsson
c94d53f31f include Makefile.am.common
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5586 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 10:58:49 +00:00
Assar Westerlund
f859eea806 LIB_tgetent: set
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5024 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-06-08 05:02:41 +00:00
Johan Danielsson
174e8f039a *_a_* -> *_la_*
*.o -> *.lo
*.a -> *.la


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4924 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-23 17:12:24 +00:00
Johan Danielsson
192688e7db libtoolize
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4914 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-05-23 14:23:28 +00:00