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.
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

Reply via email to