Commit Graph

54 Commits

Author SHA1 Message Date
Nicolas Williams cbe156d927 Use OpenSSL 3.x _only_ and implement RFC 8636
- No more OpenSSL 1.x support
 - Remove 1DES and 3DES
 - Remove NETLOGON, NTLM (client and 'digest' service)
2026-01-18 19:06:16 -06:00
Nicolas Williams 7439820618 hcrypto, otp: Remove hcrypto and otp!
We must switch to OpenSSL 3.x, and getting lib/hcrypto to provide
OpenSSL 3.x APIs is too large an undertaking.  Plus the hcrypto backend
is not safe, not secure (probably has timing leaks galore), and no one
has the resources to make it a world-class crypto library, so it just
has to go.
2026-01-18 16:09:31 -06:00
Nicolas Williams 8423016920 doc: Fix dvi/pdf/ps build 2022-12-19 17:54:11 -06:00
Sergei Trofimovich 254e40294e doc: add dependency on vars.texi
Noticed missing target directory dependency as a build failure in
`make --shuffle` mode (added in https://savannah.gnu.org/bugs/index.php?62100):

    Making all in doc
    make[1]: Entering directory '/build/heimdal/doc'
      MAKEINFO hx509.info
    hx509.texi:15: @include: could not find vars.texi
    hx509.texi:31: warning: undefined flag: PACKAGE_VERSION
    hx509.texi:186: warning: undefined flag: PACKAGE_VERSION
    make[1]: *** [Makefile:622: hx509.info] Error 1 shuffle=1656683556

The change moves vars.texi to BUILT_SOURCES to guarantee it's
presence when .info files start the build.
2022-09-16 16:13:50 -04:00
Nicolas Williams f072249d26 doc: Delete doc/kerberos4.texi 2022-03-16 18:24:25 -05:00
Viktor Dukhovni 7c18507ccd Avoid make dist fail when doxyout/ does not exist 2017-03-17 12:47:39 -04:00
Nicolas Williams 3e65dfbc32 Fix make dist missing files (#228) 2016-12-15 12:15:56 -06:00
Viktor Dukhovni 3657f23a9e Fix more doxygen bitrot 2016-12-15 04:28:21 -05:00
Nicolas Williams 7aabd73f18 Remove doc/manpage noise files 2016-12-14 22:05:58 -06:00
Nicolas Williams 5c2a3cb25a Always build hcrypto 2016-04-15 00:16:16 -05:00
Nicolas Williams 7eb9b46f5b Document HDB backends 2016-02-26 00:55:33 -06:00
Nicolas Williams f4ba41ebdd Pluggable libheimbase interface for DBs and misc libheimbase enhancements
[Code reviewed by Love Hörnquist Åstrand <lha@kth.se>]

    Added heim_db_*() entry points for dealing with databases, and
    make krb5_aname_to_localname() use it.

    The following enhancements to libheimbase are included:

     - Add heim_data_t and heim_string_t "reference" variants to
       avoid memory copies of potentially large data/strings.

       See heim_data_ref_create() and heim_string_ref_create().

     - Added enhancements to heim_array_t to allow their use for
       queues and stacks, and to improve performance.  See
       heim_array_insert_value().

     - Added XPath-like accessors for heim_object_t.  See
       heim_path_get(), heim_path_copy(), heim_path_create(), and
       heim_path_delete().  These are used extensively in the DB
       framework's generic composition of ACID support and in the
       test_base program

     - Made libheimbase more consistent with Core Foundation naming
       conventions.  See heim_{dict, array}_{get, copy}_value() and
       heim_path_{get, copy}().

     - Added functionality to and fixed bugs in base/json.c:
        - heim_serialize();
        - depth limit for JSON parsing (for DoS protection);
        - pretty-printing;
        - JSON compliance (see below);
        - flag options for parsing and serializing; these are needed
          because of impedance mismatches between heim_object_t and
          JSON (e.g., heim_dict_t allows non-string keys, but JSON
          does not; heimbase supports binary data, while JSON does
          not).

     - Added heim_error_enomem().

     - Enhanced the test_base program to test new functionality and
       to use heim_path*() to better test JSON encoding.  This
       includes some fuzz testing of JSON parsing, and running the
       test under valgrind.

     - Started to add doxygen documentation for libheimbase (but doc
       build for libheimbase is still incomplete).

    Note that there's still some incomplete JSON support:

     - JSON string quoting is not fully implemented;

     - libheimbase lacks support for real numbers, while JSON has
       it -- otherwise libheimbase is a superset of JSON,
       specifically in that any heim_object_t can be a key for an
       associative array.

    The following DB backends are supported natively:

     - "sorted-text", a binary search of sorted (in C locale), flat
       text files;

     - "json", a backend that stores DB contents serialized as JSON
       (this is intended for configuration-like contents).

    The DB framework supports:

     - multiple key/value tables per-DB
     - ACID transactions

    The DB framework also natively implements ACID transactions for
    any DB backends that a) do not provide transactions natively, b)
    do provide lock/unlock/sync methods (even on Windows).  This
    includes autocommit of DB updates outside transactions.

    Future DB enhancements may include:

     - add backends for various DB types (BDB, CDB, MDB, ...);

     - make libhdb use heim_db_t;

     - add a command-line tool for interfacing to databases via
       libheimbase (e.g., to get/set/delete values, create/copy/
       backup DBs, inspect history, check integrity);

     - framework-level transaction logging (with redo and undo
       logging), for generic incremental replication;

     - framework-level DB integrity checking.

       We could store a MAC of the XOR of a hash function applied to
       {key, value} for every entry in the DB, then use this to check
       DB integrity incrementally during incremental replication, as
       well as for the whole DB.
2012-02-05 16:26:32 -06:00
Love Hörnquist Åstrand c8f1a6f0a0 don't install hcrypto unless we build them 2011-10-30 19:51:59 -07:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand d934c249f9 count the manpages 2009-10-05 22:50:18 -07:00
Love Hornquist Astrand ded5608c0b pick up configuration from the right spot 2009-10-05 22:48:03 -07:00
Love Hornquist Astrand 8d381c8c34 add dependency for doxyout 2009-10-05 21:06:06 -07:00
Love Hornquist Astrand cbb6bb5427 include doxyout in DIST_EXTRA 2009-10-05 20:57:34 -07:00
Love Hornquist Astrand b4e0897eec move @ symbol to first command 2009-09-06 08:59:30 -07:00
Love Hornquist Astrand 20975e9dcd split info documentation 2009-09-06 08:29:10 -07:00
Love Hornquist Astrand 36f403cec3 move all doxygen output to doc/doxyout/ 2009-09-06 08:28:42 -07:00
Love Hornquist Astrand 4b54606825 Add header and footer 2009-08-06 07:17:36 +02:00
Love Hornquist Astrand 22beb0c190 add write bit to the directory before removing it 2009-08-05 15:31:03 +02:00
Love Hornquist Astrand dc3857fcfb EXTRA_DIST += gssapi.din 2009-08-05 14:20:00 +02:00
Love Hörnquist Åstrand 4abf5ab6ef sort and add hdb
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-04-03 17:22:20 +00:00
Love Hörnquist Åstrand 184c439426 makefile fixes from Martin von Gagern
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24801 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:29:17 +00:00
Love Hörnquist Åstrand af593d2f93 add depenency for PROJECTS, add gssapi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:36:17 +00:00
Love Hörnquist Åstrand 434e2370cc create directory
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24369 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:32:49 +00:00
Love Hörnquist Åstrand 99b48fa8fb do doxygen as part of disthook
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:52:04 +00:00
Love Hörnquist Åstrand 9a352444d1 install/uninstall doxygen manpages.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-17 21:51:45 +00:00
Love Hörnquist Åstrand 9fec9b49a5 add copyright.texi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23693 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-26 15:22:17 +00:00
Love Hörnquist Åstrand d7152119d8 add libwind
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-11 20:58:27 +00:00
Love Hörnquist Åstrand 3ac9eec6c4 Add missing files, from Buchan Milne.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22284 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-13 20:39:37 +00:00
Love Hörnquist Åstrand ec6812d6a0 add doxygen documentation to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22224 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 16:42:19 +00:00
Love Hörnquist Åstrand 9909c7edb1 add hx509 doxygen foo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22213 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-08 07:32:20 +00:00
Love Hörnquist Åstrand f28d7a22e0 use variables for paths in info docs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-06 17:26:30 +00:00
Love Hörnquist Åstrand f709db83ae add doxygen docu for ntlm lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22043 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-11 08:31:53 +00:00
Love Hörnquist Åstrand db3962fb60 doxygen configuration
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-10 10:41:09 +00:00
Love Hörnquist Åstrand e9b989ac38 drop version.texi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 12:16:11 +00:00
Love Hörnquist Åstrand 926c03926a define version locally
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21635 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 11:42:57 +00:00
Love Hörnquist Åstrand be7fbfcacf add version.texi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 10:56:55 +00:00
Love Hörnquist Åstrand 5a29c98501 Add hx509 manual
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 14:39:12 +00:00
Love Hörnquist Åstrand e1dc27e344 Disable TEXI2DVI for now.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 18:18:44 +00:00
Love Hörnquist Åstrand 11a4556167 Use heimdal css for makeinfo html mode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-08-25 09:20:47 +00:00
Love Hörnquist Åstrand bc129f6ab2 use --no-split to make one large file, mostly for html
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17180 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-23 20:17:42 +00:00
Love Hörnquist Åstrand 3e15c896bf spelling and text fixes, from Dave Love
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14411 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-12-27 13:58:37 +00:00
Johan Danielsson 3d11618b33 move automake options to configure.in, and depend on automake 1.7
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12997 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-10-13 13:14:48 +00:00
Love Hörnquist Åstrand f8dde7fa07 (heimdal_TEXINFOS): add apps.texi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-04 13:38:51 +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