[krbdev.mit.edu #8808] git commit

Greg Hudson via RT <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.bugs
Message-ID <[email protected]>
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=8808 >


Don't error on invalid enctypes in keytab

krb5_ktfile_get_entry() used krb5_c_enctype_compare() to compare
enctypes, in order to share keys between single-DES enctypes.  As
key-sharing between enctypes is no longer done and single-DES support
has been removed, use a simple equality test to match the enctype.
This fixes a bug where krb5_kt_get_entry() would error out if the
keytab contained any entries with invalid enctypes (include single-DES
entries, after commit fb2dada5eb89c4cd4e39dedd6dbb7dbd5e94f8b8) even
if a matching entry is found.

[[email protected]: rewrote commit message]

https://github.com/krb5/krb5/commit/38be1a0a31a6104cdf8c8d72828905775f6d6636
Author: Robbie Harwood <[email protected]>
Committer: Greg Hudson <[email protected]>
Commit: 38be1a0a31a6104cdf8c8d72828905775f6d6636
Branch: master
 src/lib/krb5/keytab/kt_file.c |   27 +++++----------------------
 1 files changed, 5 insertions(+), 22 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.