password-hashes icon indicating copy to clipboard operation
password-hashes copied to clipboard

sha512crypt index out of bounds

Open masmullin2000 opened this issue 3 years ago • 3 comments

The function produce_byte_seq() will cause an index out of bounds panic if the password supplied to sha512_crypt has a length larger than 64 bytes.

masmullin2000 avatar Jul 31 '22 22:07 masmullin2000

I'm having the same issues when using pbkdf2 with sha256 and sha512.

kohsine avatar Aug 04 '22 01:08 kohsine

@kevoh1516 can you file a separate issue with a reproduction of your problem?

tarcieri avatar Aug 04 '22 01:08 tarcieri

Sure.

kohsine avatar Aug 04 '22 14:08 kohsine

Fixed in #328

tarcieri avatar Mar 05 '23 04:03 tarcieri