Re:Entropy, a CLI that scans files to find high entropy line...
by dumbo-octopus on Wednesday June 05, 2024 @01:03AM
(#40581549)
4 diceware words is hardly a good password. It's ~51 bits of entropy, about the same as 8 random ascii symbols. It could be trivially cracked in less than an hour. Your average variable name assigned to the result of an object name with a method name called with a couple parameter names has much more entropy.
[ Parent
| on HN ]
Re:Entropy, a CLI that scans files to find high entropy line...
by conradludgate on Wednesday June 05, 2024 @01:10AM
(#40581571)
If you can crack a single 52bit password in an hour, that's suggesting you can crack a 40bit password every second. That's 1 trillion hashes per second.
Re:Entropy, a CLI that scans files to find high entropy line...
by otabdeveloper4 on Wednesday June 05, 2024 @02:20AM
(#40581890)
Salts and timeouts made that password cracking technique obsolete anyways.
Re:Entropy, a CLI that scans files to find high entropy line...
by dumbo-octopus on Wednesday June 05, 2024 @09:04AM
(#40584321)
Only for online access. Offline access is still a thing, and in no way "obsolete".
Re:Entropy, a CLI that scans files to find high entropy line...
by dumbo-octopus on Wednesday June 05, 2024 @08:24AM
(#40584016)
350B H/s was achieved in 2012 on consumer hardware. That's over 12 years ago, and several lifetimes of GPU improvements ago. 4
diceware words is simply not appropriate for anything remotely confidential, and it is bad for the community to pretend otherwise.
Re:Entropy, a CLI that scans files to find high entropy line...
by conradludgate on Thursday June 06, 2024 @02:18AM
(#40594103)
If you read the sources, that's 350B _sha1_ hashes per second... While you can't be sure what hash system is being used for your passwords, any respectable system using a modern password hash is not even close to being that fast. OWASP's recommended 600000 rounds of pbkdf2 performs 1.2 million sha2 block rounds IIRC. If we assume that sha1 and sha2 are equivalent in performance, then you're looking at only 290,000 password attempts a second.
If the password system uses argon2 with a high memory requirement, you're in an even better position
Re:Entropy, a CLI that scans files to find high entropy line...
by dumbo-octopus on Thursday June 06, 2024 @03:28AM
(#40594530)
Certainly if we assume the system under question was deigned with heightened security in mind, we will determine ourselves to be in a more secure system.
But go on, use a 52 bit password – see what I care. But don't come crying to me when an institution with the smallest amount of funding was able to crack your vault.
Re:Entropy, a CLI that scans files to find high entropy line...
by baq on Wednesday June 05, 2024 @02:44AM
(#40582038)
So you do random capital words, random punctuation and add a number somewhere and you’re at 60. Add more for whatever threat model you’re trying to be secure against.
Re:Entropy, a CLI that scans files to find high entropy line...
by eru on Wednesday June 05, 2024 @04:43AM
(#40582758)
The random punctuation sort-of defeats the point, doesn't it?
Otherwise, I agree.
Re:Entropy, a CLI that scans files to find high entropy line...
by baq on Wednesday June 05, 2024 @05:54AM
(#40583158)
Not sure; you can use the same character instead of a space and still get a few bits. Of course different ones would be better, but again, depends on how many bits you actually need.
Re:Entropy, a CLI that scans files to find high entropy line...
by eru on Wednesday June 05, 2024 @06:06AM
(#40583222)
I thought the point was to construct a password that's secure enough _and_ easy to remember for humans.
Adding random punctuation helps with the former, but might interfere with the latter. (In the extreme case, you just generate completely random strings character for character. That's the most secure, but the least memorable.)
Re:Entropy, a CLI that scans files to find high entropy line...
by baq on Wednesday June 05, 2024 @09:44AM
(#40584671)
> enough
key word here, I think we agree ;)
Re:Entropy, a CLI that scans files to find high entropy line...
by eru on Wednesday June 05, 2024 @01:25AM
(#40581629)
Just imagine my example used 8 words.
Re:Entropy, a CLI that scans files to find high entropy line...
by dumbo-octopus on Wednesday June 05, 2024 @08:29AM
(#40584052)
But it didn't. It perpetuated the exceedingly common myth that 52 bits is somehow enough. This has been considered bad practice for well over a decade now. https://theworld.com/~reinhold/dicewarefaq.html