wrong key is generated by krb5_c_string_to_key

Ashi1986 vermaashish_mca at hotmail.com
Tue Jun 6 04:48:58 EDT 2017


Thank you very much for the response.

>manually since its just an md4 hash with no salt, something like:
># echo -n password | iconv -t UTF-16LE | openssl dgst -md4
>And compare with the key in the keytab:
># klist -Kekt krb5.keytab 

I have derived the key manually by using the below command:
# echo -n password | iconv -t UTF-16LE | openssl dgst -md4
and the generated key regarding RC4 is same as key generated by KTPASS
command.

but the key generated by MIT function krb5_c_string_to_key is different from
the key generated by KTPASS command.



--
View this message in context: http://kerberos.996246.n3.nabble.com/wrong-key-is-generated-by-krb5-c-string-to-key-tp47082p47089.html
Sent from the Kerberos - General mailing list archive at Nabble.com.


More information about the Kerberos mailing list