Earlier quoted context omitted.
Non-uniformity in SHA-1 would be major news. Note that in the description below, I refer to any keyed involution as a block cipher. One may make a semantic distinction, but any keyed involution could be used as a block cipher (though, of course, most involutions would contain trivial cryptographic weaknesses). SHA-1 is based around a 160-bit unbalanced Feistel block cipher. The input in broken into blocks, where the…
Salsa/ChaCha does not halve the output and XOR it together, they add the input block to the output to get non-invertability. Salsa/ChaCha also does not have a block cipher, just an unkeyed permutation function which is applied to the key plus a constant and counter.
"Pwned Passwords" V2 With Half a Billion Passwords
231–240 of 369 posts
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#232Re: "Pwned Passwords" V2 With Half a Billion Passwords
#233Split brain your password storage. Another table, another database or another storage system in general. If an attacker SQL injections your database don’t go spilling every hashed or unhashed password you’ve got. I tend to store passwords in a separate keyvalue store from where my authentication identifier is (email, “username”). If someone gets into my network they need to get into my servers with the email addresse…
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#234I 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
#235That moment when you test an old, but still highly valued and securely used, password that you think isn't super obscure but not likely to be used much and see a 4000+ count...
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#236Earlier quoted context omitted.
FWIW, 'cargo install' is designed to be for distributing dev-tools, rather than for end-user tools. I believe https://github.com/japaric/trust is designed to make it very easy to publish Github Releases from CI systems.
I don't want to be distributing pre-compiled binaries because I don't want others to trust random pre-compiled binaries. The plan as I said is to get pgen into some package manager repos. Until then building from source will be the only way I will encourage anyone to get a copy of my tool.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#237Split brain your password storage. Another table, another database or another storage system in general. If an attacker SQL injections your database don’t go spilling every hashed or unhashed password you’ve got. I tend to store passwords in a separate keyvalue store from where my authentication identifier is (email, “username”). If someone gets into my network they need to get into my servers with the email addresse…
Please don't store unhashed passwords. By now even PHP gives us the tools to do this right. You truly don't need secondary systems, or separate tables, or separate anything. Just hash the passwords.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#238Re: "Pwned Passwords" V2 With Half a Billion Passwords
#239Split brain your password storage. Another table, another database or another storage system in general. If an attacker SQL injections your database don’t go spilling every hashed or unhashed password you’ve got. I tend to store passwords in a separate keyvalue store from where my authentication identifier is (email, “username”). If someone gets into my network they need to get into my servers with the email addresse…
> don’t go spilling every hashed or unhashed password you’ve got. Please don't store unhashed passwords. By now even PHP gives us the tools to do this right. You truly don't need secondary systems, or separate tables, or separate anything. Just hash the passwords.
Re: "Pwned Passwords" V2 With Half a Billion Passwords
#240Earlier quoted context omitted.
> don’t go spilling every hashed or unhashed password you’ve got. Please don't store unhashed passwords. By now even PHP gives us the tools to do this right. You truly don't need secondary systems, or separate tables, or separate anything. Just hash the passwords.
You need both. https://www.trustedsec.com/2016/06/introduction-gpu-password...