Comment 7 for bug 510613

Revision history for this message
Stuart Taylor (stuartraetaylor) wrote :

It would be great to see this fixed in an upcoming release of Ubuntu.

I had the same problem and applied Mark Nieweglowski's fix here - https://github.com/stuartraetaylor/bsdmainutils-look

$ ./look -bf $(echo -n "P@ssw0rd" | sha1sum | cut -d' ' -f1) pwned-passwords-sha1-ordered-by-hash-v4.txt
21BD12DC183F740EE76F27B78EB39C8AD972A757:51259

There's also an alternative approach here - https://www.tablix.org/~avian/blog/archives/2018/10/checking_passwords_against_haveibeenpwned_com/