Commit Graph

67 Commits

Author SHA1 Message Date
Luke Howard 4fb6a6adc9 gss: port NegoEx implementation from MIT
An implementation of draft-zhu-negoex-04 for MIT Kerberos was developed in
2011. This has been recently integrated, with many fixes from Greg Hudson. This
commit ports it to Heimdal. The implementation has been interoperability tested
with MIT Kerberos and Windows, using the GSS EAP mechanism developed as part of
the Moonshot project.

The SPNEGO code was also updated to import the state machine from Apple which
improves mechListMIC processing and avoids discarding initial context tokens
generated during mechanism probing, that can be used for optimistic tokens.

Finally, to aid in testing, the GSS-API mechanism glue configuration file can
be changed using the environment variable GSS_MECH_CONFIG. This environment
variable name, along with the format of the configuration file, is compatible
with MIT (although it would be difficult for a single mechanism binary to
support both implementations).
2020-02-04 17:28:35 +11:00
Luke Howard d7138cfbe7 base: make heimqueue.h a shared header
Share heimqueue.h between base and asn1, to avoid duplication of code.
2020-02-04 17:28:35 +11:00
Luke Howard fb81598d44 krb5: port MIT Linux keyring credentials cache (#166) 2018-12-24 18:17:32 +11:00
Nicolas Williams 3e65dfbc32 Fix make dist missing files (#228) 2016-12-15 12:15:56 -06:00
Roland C. Dowdeswell 3e6fffed60 include/Makefile.am: don't clean files that are distributed.
We stop cleaning crypto-headers.h and heim_threads.h.
2015-11-06 17:06:26 -05:00
Love Hörnquist Åstrand 1223428b85 add missing files, sort stuff 2014-02-16 11:47:27 -08:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand b108cbe218 spelling 2010-11-26 15:01:56 -08:00
Love Hornquist Astrand 95b601af10 clean out cache_plugin.h 2010-11-26 14:27:51 -08:00
Love Hornquist Astrand 501c5ac2fe sort and add ntlm_err.h 2010-10-30 22:19:29 -07:00
Love Hornquist Astrand ef78859954 clean heimbase. 2010-10-27 20:31:13 -07:00
Love Hornquist Astrand a37554cc27 clean better 2010-09-14 09:29:40 -07:00
Love Hornquist Astrand 313a5011ac move krb5-types.cross to EXTRA_DIST 2009-09-20 01:11:49 -07:00
Love Hornquist Astrand ddb40e585e don't clean out crypto-headers.h, its a static file 2009-09-20 01:10:26 -07:00
Love Hornquist Astrand cddc59924c crypto headers are now stable, provide posix krb5-types.h 2009-09-16 00:24:25 -07:00
Love Hornquist Astrand 529b5f9d2c add heim_threads.h 2009-08-04 20:59:46 +02:00
Love Hornquist Astrand d544768d1c don't clean heim_threads.h since it lives here 2009-07-30 07:31:05 +02:00
Love Hörnquist Åstrand fdd88273a9 clean send_to_kdc_plugin.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23712 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-29 23:10:11 +00:00
Love Hörnquist Åstrand 6b4676ac99 (CLEANFILES): add wind.h and wind_err.h and sort.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22630 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-23 19:57:50 +00:00
Love Hörnquist Åstrand d018b321d7 remove heim_threads.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22396 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-01 19:35:05 +00:00
Love Hörnquist Åstrand 4105b12177 don't run local checks.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-16 13:26:36 +00:00
Love Hörnquist Åstrand 0c60ee355a Add krb_err.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-16 17:05:42 +00:00
Love Hörnquist Åstrand c93d042396 Make krb5-types.h nodist_include_HEADERS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21023 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 02:54:41 +00:00
Love Hörnquist Åstrand 58b6ee778a remove install headerfiles
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19847 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:45:57 +00:00
Love Hörnquist Åstrand 99b88dcbf5 remove install headerfiles
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-11 10:38:43 +00:00
Love Hörnquist Åstrand 2dc81f5710 CLEANFILES += vis.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19269 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-07 16:26:50 +00:00
Love Hörnquist Åstrand 42e0d8a80b Move version.h and version.h.in to DISTCLEANFILES.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-25 05:01:12 +00:00
Love Hörnquist Åstrand babd43088c add gssapi to subdirs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 21:06:47 +00:00
Love Hörnquist Åstrand c5fabe82b1 clean files in submakefiles
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:26:51 +00:00
Love Hörnquist Åstrand fbe5ce3176 no need to clean --version any longer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:19:32 +00:00
Love Hörnquist Åstrand 40ce8152e6 clean files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 20:15:22 +00:00
Love Hörnquist Åstrand 8bc349e53e crypto-headers.h is a nodist header
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18308 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 15:08:18 +00:00
Love Hörnquist Åstrand b09a705bf7 Don't clean crypto headers, they now live in hcrypto/.
Add hcrypto to SUBDIRS.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:46:42 +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 fc5a1287fa use make_crypto to create crypto-headers.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:59:25 +00:00
Johan Danielsson d092cc3700 only add to INCLUDES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11024 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-24 15:36:21 +00:00
Assar Westerlund 6bfbf29810 (CLEANFILES): add rc4.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8533 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-02 16:08:29 +00:00
Assar Westerlund d842980d5a (krb5-types.h): add $(EXEEXT) for cygwin and related systems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7654 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-12-21 17:03:11 +00:00
Johan Danielsson b0f63a7f70 clean krb5-private.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5849 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 19:25:30 +00:00
Johan Danielsson 9996ea4a28 don't run check-local
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5848 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-04-01 19:24:18 +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 ade75bd817 clean a lot of header files (since automake lacks a clean-hook)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5616 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 14:29:39 +00:00
Johan Danielsson 29a275ac1a remove include_dir hack
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5608 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 13:55:13 +00:00
Johan Danielsson bd54ae36a4 include Makefile.am.common; don't install headers from here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5589 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-03-18 11:12:52 +00:00
Johan Danielsson 7f2676abf9 remove EXTRA_DATA (as of autoconf 2.13/automake 1.4)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5435 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-27 18:46:20 +00:00
Johan Danielsson 1be437e4b6 glob.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5410 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-02-22 14:13:09 +00:00
Johan Danielsson 30935a45ce resolve.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4588 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-03-16 22:31:05 +00:00
Johan Danielsson 3d7628d6d8 Add com_err.h, and com_right.h.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4409 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-02-16 15:11:16 +00:00
Johan Danielsson 420af1b320 remove sch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4356 ec53bebd-3082-4978-b11e-865c3cabbd6b
1998-01-23 00:03:46 +00:00