News for hackers. Stuff that matters.
Re:"Pwned Passwords" V2 With Half a Billion Passwords by tomsmeding on Wednesday February 21, 2018 @03:50PM (#16432860)
You wouldn't manage that with a one-line shell script, assuming that you want to format it reasonably. :)

I do agree that having to install loads of things for a simple tool is overkill, but I'd wager the actual binary produced doesn't have many dependencies (I'd expect just libc, in fact); so would this at some point land in a package manager, your life will improve.

Re:"Pwned Passwords" V2 With Half a Billion Passwords by kbenson on Wednesday February 21, 2018 @07:37PM (#16434244)
Well...

    CHECKPW="p@ssword" SHA1=`echo -n "$CHECKPW" | sha1sum`; curl -s https://api.pwnedpasswords.com/range/${SHA1:0:5} | grep -i ${SHA1:5:34}
Re:"Pwned Passwords" V2 With Half a Billion Passwords by skykooler on Wednesday February 21, 2018 @08:25PM (#16434467)
Note that this command doesn't work if your password contains an exclamation mark.