bind9/doc/notes
Michał Kępień 84b96df153
Remove "tkey-gssapi-credential" and related code
Since the "tkey-gssapi-credential" statement has been previously
deprecated, mark it as ancient and remove all code related to it:

  - The code processing the "tkey-gssapi-credential" statement in the
    configuration is the only user of the dst_gssapi_acquirecred() and
    dst_gssapi_releasecred() functions, so remove them along with their
    static helper functions and a backup definition of the
    GSS_KRB5_MECHANISM macro.

  - When calling gss_accept_sec_context(), pass GSS_C_NO_CREDENTIAL
    instead of the credential acquired by gss_acquire_cred().
    (Previously, NULL was passed when "tkey-gssapi-credential" was not
    specified.  Kerberos headers define GSS_C_NO_CREDENTIAL as
    (gss_cred_id_t) 0, so the logic was effectively the same, but using
    the GSS_C_NO_CREDENTIAL macro is more appropriate.)  This renders
    the 'cred' parameter for dst_gssapi_acceptctx() redundant, so remove
    it from the prototype of the latter.  (Contrary to what the
    documentation for dst_gssapi_acceptctx() claims,
    dst_gssapi_releasecred() does not need to subsequently be called to
    free the GSS-API context; a dst_gssapi_deletectx() call in
    gssapi_destroy() takes care of that when the dynamically generated
    TSIG key is destroyed.)

  - Remove the 'gsscred' member from struct dns_tkeyctx, along with its
    related dns_gss_cred_id_t typedef.

Update the relevant sections of the ARM and code comments accordingly.

This makes the "tkey-gssapi-keytab" statement the only way to set up
GSS-TSIG in named.

Remove redundant code from bin/named/tkeyconf.c while at it.
2025-10-06 13:19:50 +02:00
..
notes-9.21.0.rst Tweak and reword release notes some more 2024-08-13 16:22:58 +02:00
notes-9.21.1.rst Use archived version of draft-icann-dnssec-keymgmt-01.txt 2025-01-28 12:13:57 +01:00
notes-9.21.2.rst Tweak and reword release notes 2024-10-07 14:32:19 +02:00
notes-9.21.3.rst Add missing copyright header to Release Notes 2024-12-03 10:43:11 +01:00
notes-9.21.4.rst Reorder release notes 2025-01-17 22:53:57 +01:00
notes-9.21.5.rst Update CVE checklist 2025-02-11 17:34:52 +01:00
notes-9.21.6.rst Tweak and reword relase notes 2025-03-11 10:46:21 +01:00
notes-9.21.7.rst Tweak and reword release notes 2025-04-03 17:39:35 +02:00
notes-9.21.8.rst Reorder release notes 2025-05-08 22:51:59 +02:00
notes-9.21.9.rst Tweak and reword release notes 2025-06-06 10:38:08 +02:00
notes-9.21.10.rst Add release note for GL !8989 2025-07-03 22:54:36 +02:00
notes-9.21.11.rst Tweak and reword release notes 2025-08-13 17:48:16 +02:00
notes-9.21.12.rst Remove "tkey-gssapi-credential" and related code 2025-10-06 13:19:50 +02:00