CVS update: samba/source/libads
Luke Howard
lukeh at PADL.COM
Tue Jul 29 07:04:30 GMT 2003
Andre,w
>I've tried NULL-padding, and padding with 0xab (this is how the LM key
>is extended), to fill it to 16 bytes, but with no success.
Did you try padding with 0xAB so that it was a 56-bit key rather
than a 64-bit key? (ie. memset(key+7, 0xAB, 9).)
Also you might want to try making the key the HMAC of the string
constant "fortybits" with the original key, or (if HMAC is
already used to prepare a derived key) prepending "fortybits"
to the derivation salt.
-- Luke
More information about the samba-technical
mailing list