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/
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/stuartraeta ylor/bsdmainuti ls-look
$ ./look -bf $(echo -n "P@ssw0rd" | sha1sum | cut -d' ' -f1) pwned-passwords -sha1-ordered- by-hash- v4.txt EE76F27B78EB39C 8AD972A757: 51259
21BD12DC183F740
There's also an alternative approach here - https:/ /www.tablix. org/~avian/ blog/archives/ 2018/10/ checking_ passwords_ against_ haveibeenpwned_ com/