Commit Graph

19 Commits

Author SHA1 Message Date
Nicolas Williams
add605ee58 tests: cat messages.log in gss/check-basic trap 2022-02-10 00:57:31 -06:00
Nicolas Williams
848c21b9b9 tests: Kill kdc harder when failing 2022-02-10 00:57:31 -06:00
Nicolas Williams
06ba7b1597 test: When kdc fails to start, show the log
This is an attempt to find out why the GitHub Actions OS X build is
failing.
2022-01-20 14:32:17 -06:00
Luke Howard
4a7eb74374 gss: SAnon - the Simple Anonymous GSS-API mechanism
Add support for SAnon, a simple key agreement protocol that provides no
authentication of initiator or acceptor using x25519 ECDH key exchange.
See doc/standardization/draft-howard-gss-sanon-xx.txt for a protocol
description.
2020-04-25 23:19:30 -05:00
Nicolas Williams
7055365f47 Expand tokens in gss cred store "ccache" value
This is needed so that sshd and such can get make practical use of the
"ccache" key in GSS cred stores.

This commit only changes the store path, not the acquisition path.
2020-03-18 13:37:13 -05:00
Nicolas Williams
7bf4d76e75 krb5: Improve cccol sub naming; add gss_store_cred_into2()
- Formalize the TYPE:collection_name:subsidiary_name naming scheme for
   ccaches in ccache collections
    - KEYRING: ccaches are weird because they have one more optional field: the
      "anchor", so rather than just assume a naming convention everywhere, we
      add new functions as well
 - Add krb5_cc_{resolve,default}_sub() that allows one to specify a
   "subsidiary" ccache name in a collection separately from the
   collection name
 - Add krb5_cc_{resolve,default}_for() which take a principal name,
   unparse it, and use it as the subsidiary ccache name (with colons
   replaced)
 - Make kinit use the new interfaces
 - Add missing DIR ccache iteration functionality
 - Revamps test_cc
 - Add krb5_cc_get_collection() and krb5_cc_get_subsidiary()
 - Bump the ccops SPI version number
 - Add gss_store_cred_into2()
 - Make MEMORY:anonymous not linked into the global MEMORY ccache
   collection, and uses this for delegated cred handles

TBD:

 - Split this up into a krb5 change and gss mech_krb5 change?
 - Add krb5_cc_init_and_store() utility, per Greg's suggestion?
2020-03-02 17:48:04 -06:00
Quanah Gibson-Mount
7c16ce3457 Minor typo/grammar fixes 2017-03-10 15:47:43 -05:00
Nicolas Williams
2027aa11ed Use --detach in tests to avoid waiting 2016-12-07 19:52:29 -06:00
Nicolas Williams
f73c4edf69 Fix gss_store_cred() 2015-03-24 11:50:01 -05:00
Nicolas Williams
612e5c2a12 Test name canon rules via GSS and put kdc tests last
Put kdc last in tests/Makefile.am.  There's two tests in tests/kdc
    that have been failing for a long time, and that causes the
    remaining tests to not be run.  By putting kdc last those tests do
    run.
2011-10-22 14:54:27 -05:00
Love Hornquist Astrand
86da42df1d abstract out --no-afslog and --no-unlog 2010-06-01 14:42:16 -07:00
Love Hornquist Astrand
8669bc5209 test more combinations 2009-08-03 12:46:49 +02:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
4b80c33714 Test initiate keytab files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-16 23:00:28 +00:00
Love Hörnquist Åstrand
c9ed244c95 Test GSS_C_NO_NAME too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-12-04 01:21:01 +00:00
Love Hörnquist Åstrand
86b4a301ed empty messages.log
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21843 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-08-08 06:53:59 +00:00
Love Hörnquist Åstrand
297d5a54b0 test using test_kcred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20624 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-05-08 13:52:22 +00:00
Love Hörnquist Åstrand
bd562e8694 more gss_acquire_cred tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-18 08:54:35 +00:00
Love Hörnquist Åstrand
364403bcb2 basic tests that might require a KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20361 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-17 13:26:30 +00:00