Commit Graph

31134 Commits

Author SHA1 Message Date
Roland C. Dowdeswell 2e3bb95430 Add KDC-free GSS tests 2026-05-25 20:18:06 -05:00
Roland C. Dowdeswell a66cb84e70 In krb5.conf make underscores and dashes equivalent 2026-05-25 20:14:36 -05:00
Roland C. Dowdeswell e89417f2a1 tests: cover MEMORY ccache cursor invalidation for #547 2026-05-25 20:09:20 -05:00
Roland C. Dowdeswell a105e8e117 tests: cover MEMORY gss_store_cred storage for #132 2026-05-25 20:01:05 -05:00
Roland C. Dowdeswell 56b55e7c9b add CI/CD for libedit and readline 2026-05-25 20:00:24 -05:00
Roland C. Dowdeswell e836e36d06 Remove duplicated libedit, find/use installed version 2026-05-25 20:00:24 -05:00
Roland C. Dowdeswell 19325d4252 lib/gssapi/test_context.c: fix typo 2026-05-25 19:59:28 -05:00
Roland C. Dowdeswell 3ff4191ba9 krb5: fail krb5_verify_user() early if service key missing
Fixes #1157.
2026-05-25 19:42:40 -05:00
Roland C. Dowdeswell 73bab3fea5 tests/kdc/leaks-kill.sh: typo 2026-05-25 17:32:30 -05:00
Roland C. Dowdeswell d47f526f55 ipc: serialize mig generated files 2026-05-25 17:32:05 -05:00
Roland C. Dowdeswell 6efb8b405e roken: provide poll fallback 2026-05-25 17:31:26 -05:00
Roland C. Dowdeswell 6ce504ad84 kdc/kdc.8: move a comma 2026-05-22 20:33:08 -05:00
Jennifer Sutton 378a367c9e kdc: Allow KDC plugin to handle attempts to authenticate without using hardware authentication
Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
2026-05-20 11:47:28 -05:00
Jennifer Sutton 6d2d9632da kdc: Check return value of pa_enc_ts_decrypt_kvno()
Signed-off-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
2026-05-20 11:47:28 -05:00
Jennifer Sutton c65cd331e4 gsskrb5: Correctly check EVP_Cipher() return value for RC4
If the flag EVP_CIPH_FLAG_CUSTOM_CIPHER is set for the cipher, EVP_Cipher()
returns the number of bytes written to ‘out’.
2026-05-20 11:46:35 -05:00
Jennifer Sutton f93aeb3f8f krb5: Correctly check if RC4 enctype is valid
krb5_enctype_valid() returns zero on success.
2026-05-20 11:45:57 -05:00
Jennifer Sutton dafc36e26c krb5: Promote AES SHA2 enctypes to preferred 2026-05-20 11:45:57 -05:00
Jennifer Sutton b7f4f62dfa krb5: Fix non‐RC4 build
The function _krb5_usage2arcfour() is only declared if Heimdal is built with
RC4. Put calls to this function behind #ifdef guards so that the build can
succeed.
2026-05-20 11:43:53 -05:00
Jennifer Sutton 31c514e3b2 kdc: Adjust error code mapping
Commit cbe156d927 mapped error code
HX509_CERT_REVOKED to KRB5_KDC_ERR_REVOKED_CERTIFICATE, so check for the latter
instead.
2026-05-20 11:43:18 -05:00
Rudi Heitbaum 356b2111ba dbutils: fix order of libraries for static build 2026-05-20 11:42:14 -05:00
Roland C. Dowdeswell 93bbac45f9 Install heim_threads.h 2026-05-19 12:02:18 -05:00
Roland C. Dowdeswell e4a885074b krb5: make KRB5_TRACE default to tracing not just debugging 2026-05-19 12:01:42 -05:00
Ivan Korytov ffb01963fc lib:roken: allow large fragmented UDP replies from glibc resolver
glibc resolver returns same answer length as buffer size when
buffer is too small for the answer.

Signed-off-by: Ivan Korytov <toreonify@altlinux.org>
2026-05-19 11:52:18 -05:00
Roland C. Dowdeswell 8dba1f4810 add a bit more logging in gss mechglue 2026-05-19 11:14:39 -05:00
Roland C. Dowdeswell e11f8a8823 Eliminate \n from _gss_mg_log() calls 2026-05-19 11:14:39 -05:00
Kacper Boström abd35b246a kdc: support pkinit_kdc_revoke for pkinit anchors
Reviewed-by: Jennifer Sutton <jennifersutton@catalyst.net.nz>
2026-02-11 16:14:53 +13:00
Nicolas Williams bddc275275 ktutil: Collect entries then add/delete when renaming principals (fix #1319) 2026-02-08 01:35:58 -06:00
Nicolas Williams 609e36de13 krb5: Only lock keytabs to write to them (fix #1319) 2026-02-08 01:30:28 -06:00
Nicolas Williams 8ec31e4926 GHA: Shorten the OS X test timeout 2026-02-08 00:36:43 -06:00
Nicolas Williams 0a9f1c3f11 GHA: Get diagnostics data from hanging check-context test (OS X) 2026-02-07 23:56:02 -06:00
Nicolas Williams 4fe0ad8e2c GHA: Get diagnostics data from hanging check-context test 2026-02-07 22:45:45 -06:00
Nicolas Williams c999e5a33a GHA: Set a timeout on tests 2026-02-07 18:40:19 -06:00
Nicolas Williams ce85c64b84 iprop: Make ipropd-master not lock the log (fix #1308) 2026-02-07 17:59:03 -06:00
Nicolas Williams c76a096a28 roken: Add pread() for Windows 2026-02-07 17:59:03 -06:00
Nicolas Williams 8a22366b55 roken: Don't define flock() ops if HAVE_FLOCK (fix #1313) 2026-02-07 17:46:19 -06:00
Nicolas Williams 1a7e3c4a5c kadm5: Fix client-side double-free (fix #1315) 2026-02-07 17:46:19 -06:00
Nicolas Williams df0e15fcdf tests: Disable cheeck-iprop until fix is ready 2026-01-24 14:42:38 -06:00
Nicolas Williams 8a67a1f77c Revert "kpasswdd: Allow password changes through NATs (fix #1286)"
This reverts commit f37749adc7.
2026-01-23 00:40:39 -06:00
Nicolas Williams 26dca502be kpasswdd: Allow password changes through NATs (fix #1286 again) 2026-01-23 00:37:44 -06:00
Nicolas Williams cc272a4838 krb5: Try up to all kpasswdd IPs (fix #1304) 2026-01-22 23:38:42 -06:00
Nicolas Williams dedeea1b6a sqlite: Fix warnings (fix #1306) 2026-01-22 23:32:14 -06:00
Nicolas Williams 7dec4d7f02 bx509d: Stop taking unnecessary flock (fix #1308) 2026-01-22 22:26:10 -06:00
Nicolas Williams 961370d49f krb5: Add support for "Directional" host address type
Currently the Directional host address type is pretty useless,
since it's only useful in application protocols that a) use
KRB-PRIV/KRB-SAFE messages (so: not GSS-API applications), and b)
state in their specs to use Directional, or otherwise provide for
negotiation of host address types.  There are no such protocols
that we care about except -since we control it- iprop.  But even
for iprop it'd be better to switch to GSS-API.
2026-01-22 22:26:10 -06:00
Nicolas Williams f37749adc7 kpasswdd: Allow password changes through NATs (fix #1286) 2026-01-22 22:25:45 -06:00
Nicolas Williams c83b1a12aa roken: Use OFD locks, flock, or POSIX locking, same as MIT 2026-01-22 18:06:28 -06:00
Nicolas Williams 7772534587 krb5: Add missing hunk for #1204 (fix #1305) 2026-01-22 17:39:19 -06:00
Nicolas Williams f47b578ce2 krb5: Add MEMORY threaded test (and fix bugs) 2026-01-22 14:05:26 -06:00
Nicolas Williams d9e98b2773 asn1: Remove non-existent symbols (fix Windows build) 2026-01-22 13:34:13 -06:00
Nicolas Williams bb4476ebe1 GHA: Trigger Linux and Windows builds when .map and .def files change 2026-01-22 13:15:23 -06:00
Nicolas Williams 81b293d66b asn1: Don't export template DATAs (fix Windows build) 2026-01-22 13:09:11 -06:00