Commit Graph

118 Commits

Author SHA1 Message Date
Nicolas Williams d8a112ae1a Fix lib/hdb make race 2017-03-17 13:20:06 -05:00
Viktor Dukhovni 24206682d7 Move external libdeps after our own
If some external library lives in a directory in which Heimdal is
already installed, we may pick up LD_LIBRARY_PATH Heimdal objects
from a different release.  Move the external deps to the end, to
ensure a more appropriate LD_LIBRARY_PATH.
2016-12-19 19:39:22 -05: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 4fa77ebb03 clean files 2014-02-16 11:51:56 -08:00
Love Hörnquist Åstrand 4d39bae8bb use noinst_HEADERS for hdb-private.h 2014-02-16 09:15:53 -08:00
Jeffrey Clark cc1faff15f Simple hdb plugin test
Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2014-01-31 08:49:55 +01:00
Howard Chu 9f95207933 Add support for OpenLDAP libmdb 2012-10-07 16:47:45 -07:00
Roland C. Dowdeswell be5afdbf7f Make concurrent builds work.
To stop the errors when building concurrently, we make a number of
changes:

        1.  stop including generated files in *_SOURCES,

        2.  make *-protos.h and *-private.h depend on the *_SOURCES,

        3.  make all objects depend on *-{protos,private}.h,

        4.  in a few places change dir/header.h to $(srcdir)/dir/header.h,

This appears to work for me with make -j16 on a 4-way box.
2012-08-08 00:04:04 +01:00
Love Hörnquist Åstrand 8fccb51d49 Merge pull request #12 from nicowilliams/krb5_admin_patches_2nd
Krb5 admin patches 2nd

This has all the patches needed for krb5_admind to build and pass most tests, that includes:
- more kadm5 API compatibility (including very basic profile functionality)
- multi-kvno support (useful for key rollovers) (a test for this is included in tests/db/check-kdc)

Unfinished:
- password history (currently uses key history, needs to be separated and use digests)
- policies (only default policy allowed)
- mit kdb changes not tested yet


Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2011-07-24 15:41:36 -07:00
Linus Nordberg 2e35198908 Add version-script.map to _DEPENDENCIES.
Added to 11 out of 14 directories with map files.  Not lib/ntlm,
lib/hcrypto and kdc which have the map file as an explicit dependency
to _OBBJECTS.

Signed-off-by: Love Hörnquist Åstrand <lha@h5l.org>
2011-07-24 14:07:59 -07:00
Love Hörnquist Åstrand 12403a31ce sprinkle more windows files 2011-07-23 11:18:21 -07:00
Nicolas Williams 1eb56edd86 Introduce Keys ::= SEQUENCE OF Key in hdb.asn1 so we can get convenience utils. 2011-07-22 16:07:08 -05:00
Nicolas Williams 3794d8b37b Changed lib/hdb/Makefile.am to use --sequence=HDB-Ext-KeySet 2011-07-22 16:06:01 -05:00
Nicolas Williams fca53990e4 Initial commit for second approach for multiple kvno. NOT TESTED! 2011-07-22 16:04:51 -05:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Joerg Pulz 4154bb82ce Add libintl for i18n support
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-18 08:27:33 -07:00
Eray Aslan a1c14b2319 Add --with-berkeley-db-include option
Adds --with-berkeley-db-include=dir option to configure to use berkeley
db headers in dir.  Default is to let configure check.  Also adds
support for checking for and using db5/db.h

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-09-05 18:41:30 -07:00
Love Hornquist Astrand 05e836e7c6 add data-mkey.mit.des3.be and data-mkey.mit.des3.le 2010-05-26 14:37:26 -05:00
Love Hornquist Astrand d631443133 Support both BE and LE MIT master key file formats
Prompted by discussion on heimdal-discuss by Michael Wood, Russ Allbery,
and Henry B. Hotz.
2010-05-22 13:16:52 -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 df69397c4a add hdb-mitdb.c 2009-11-22 12:53:16 -08:00
Love Hornquist Astrand 570414c12c add hdb-keytab.c 2009-11-22 12:35:26 -08:00
Love Hornquist Astrand 0510f7e0cd add more depencies 2009-11-21 23:14:20 -08:00
Love Hornquist Astrand 3d7488398a abstract out depenecy tracking for tools 2009-09-16 05:40:55 -07:00
Love Hornquist Astrand dc4e8669ea Abstract out asn1_compile and slc 2009-09-16 00:12:13 -07:00
Love Hornquist Astrand 0a92381e98 clean better 2009-08-06 10:19:28 +02:00
Love Hörnquist Åstrand b0a3f535bf SQLite3 backend from Pontus Walck and Stockholm Univerity.
The work was done as part of Pontus's exjobb. Thanks!

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:26:08 +00:00
Love Hörnquist Åstrand 11fd4a0cd2 hdb_asn1.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25266 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-03 17:25:38 +00:00
Love Hörnquist Åstrand 6fe0364120 cert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-29 09:01:36 +00:00
Love Hörnquist Åstrand 47023f94ff add test_hdbkeys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:25 +00:00
Love Hörnquist Åstrand d6a0a48ce7 add hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:47 +00:00
Love Hörnquist Åstrand 370256ce41 include krb5.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-12 04:19:39 +00:00
Love Hörnquist Åstrand 1215a45e15 EXTRA_DIST += version-script.map
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-07-15 11:21:51 +00:00
Love Hörnquist Åstrand 48034d89ae Add version script for hdb.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-05-05 16:25:31 +00:00
Love Hörnquist Åstrand 410a4b83d8 Move OpenLDAP includes to AM_CPPFLAGS to avoid dropping other defines
for the library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-20 18:41:29 +00:00
Love Hörnquist Åstrand 9df85b714e drop CHECK_SYMBOLS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-21 11:49:33 +00:00
Love Hörnquist Åstrand 8e5b5c9e61 handle removal of HDB_DB_DIR
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-07 19:03:41 +00:00
Love Hörnquist Åstrand 94d870a9ab EXTRA_DIST += hdb.schema
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-20 14:10:30 +00:00
Love Hörnquist Åstrand eccd710e7c New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21442 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:43:48 +00:00
Love Hörnquist Åstrand 3e10723f05 New library version.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21431 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:38:07 +00:00
Love Hörnquist Åstrand 5660cf6700 Add and test dbinfo.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20536 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-23 07:50:16 +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 9f106cf20a add simple alias support to the database backends
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20236 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-02-16 23:52:29 +00:00
Love Hörnquist Åstrand 0a66d3e486 use LIBADD_roken
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 18:45:03 +00:00
Love Hörnquist Åstrand b6d9890960 update version number and remove depenency on libvers for libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-17 17:30:31 +00:00
Love Hörnquist Åstrand a23ef1734e Add LIB_com_err to pacify AIX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19186 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-29 07:18:33 +00:00
Love Hörnquist Åstrand b7499251a8 remove dependency on et files covert_db that now is removed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-21 11:09:55 +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 62ade1ff39 split build files into dist_ and noinst_ SOURCES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 08:54:01 +00:00