[1091] in Kerberos-V5-bugs
lib/krb5/keytab/file/ktf_util.c always sets etype to unknown
daemon@ATHENA.MIT.EDU (epeisach@MIT.EDU)
Sat Feb 11 21:04:07 1995
From: epeisach@MIT.EDU
Date: Sat, 11 Feb 1995 21:04:01 -0500
To: krb5-bugs@MIT.EDU
The code reads as follows:
ret_entry->key.keytype = (krb5_keytype)keytype;
if (KTVERSION(id) != KRB5_KT_VNO_1)
ret_entry->key.keytype = ntohs(ret_entry->key.keytype);
/* key contents */
ret_entry->key.magic = KV5M_KEYBLOCK;
ret_entry->key.etype = ETYPE_UNKNOWN;
-------------------------------
The etype field is always set to ETYPE_UNKNOWN... even though, it might
be set to something else in the file... Perhaphs the code should be
changed?
Ezra