Earlier quoted context omitted.
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.
Well... CHECKPW="p@ssword" SHA1=`echo -n "$CHECKPW" | sha1sum`; curl -s https://api.pwnedpasswords.com/range/${SHA1:0:5} | grep -i ${SHA1:5:34}
"Pwned Passwords" V2 With Half a Billion Passwords
161–170 of 369 posts
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#162Re: "Pwned Passwords" V2 With Half a Billion Passwords
#163I just tried a 11 character password without special chars, that I’ve used on over 50 sites, over the last decade. It’s my password for throaway websites. Some pretty dodgy. Not in the database. Makes me feel pretty good about password security overall!
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#164If you spend the time building a system to search those half billion passwords when you’re users are signing up, you should focus on building a login rate limiting system so it’s not possible to brute force someone’s password.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#165If you spend the time building a system to search those half billion passwords when you’re users are signing up, you should focus on building a login rate limiting system so it’s not possible to brute force someone’s password.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#166If you spend the time building a system to search those half billion passwords when you’re users are signing up, you should focus on building a login rate limiting system so it’s not possible to brute force someone’s password.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#167Earlier quoted context omitted.
As stated in the post, it's a simple solution to help with anonymity. "The password has been hashed client side and just the first 5 characters passed to the API As mentioned earlier, there are 475 hashes beginning with "21BD1", but only 1 which matches the remainder of the hash for "P@ssw0rd" and that record indicates that the password has previously been seen 47,205 times."
But Troy could still very easily guess the complete hash. It's the one with the 47,205 hits.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#168Earlier quoted context omitted.
As a policy Troy Hunt won't reveal which breach he found your data in. I considered setting up a series of 'canary' emails so that I could track who's selling what but ... well never got round to it.
You used to be able to adjust your email address to check. For example if you email was bill@gmail.com, you could sign up for HN with bill+hackernews@gmail.com. Gmail ignores the part after the + sign. Therefore if you noticed emails coming to that address, you would know that HN sold their list. However, I've found that most forms reject that as a non-valid email address now.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#169Earlier quoted context omitted.
Yes. Those forms are also ignoring relevant RFCs.
Can you be more specific?
https://tools.ietf.org/html/rfc2822#section-3.4
atext = ALPHA / DIGIT / ; Any character except controls, "!" / "#" / ; SP, and specials. "$" / "%" / ; Used for atoms "&" / "'" / " * " / "+" / "-" / "/" / "=" / "?" / "^" / "_" / "`" / "{" / "|" / "}" / "~"
atom = [CFWS] 1 * atext [CFWS]
dot-atom = [CFWS] dot-atom-text [CFWS]
dot-atom-text = 1 * atext * ("." 1 * atext)
...
addr-spec = local-part "@" domain
local-part = dot-atom / quoted-string / obs-local-part
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#170 pooplasagna - 3 times
eggsarebad - 3 times
eggsaregood - 25 times
myhusbandcheats - 4 times
icheatonmywife - 1 time
ihatemyneighbors - 2 times
iamanalcoholic - 6 times
1yearsober - 31 times
imissmykids - 51 times
imissmyparents - 6 times