News for hackers. Stuff that matters.
Re:The default OpenSSH key encryption is worse than plaintext by lvh on Friday August 03, 2018 @04:04PM (#17683161)
And a mere four years later they added a format that uses bcrypt... in a PBKDF2 construction? (I haven't found a motivation why, though Ted Unangst's post on it just says "I know about scrypt".)
Re:The default OpenSSH key encryption is worse than plaintext by tedunangst on Friday August 03, 2018 @04:20PM (#17683294)
Scrypt is "excessively parameterized." ;)
Re:The default OpenSSH key encryption is worse than plaintext by dijit on Friday August 03, 2018 @04:48PM (#17683485)
I don't mean to sound stupid; but I am, so it comes out that way.

What does this mean? Does it mean it's hard to use, or easy to mess up or something else?

Re:The default OpenSSH key encryption is worse than plaintext by tedunangst on Friday August 03, 2018 @05:17PM (#17683704)
It has a time space difficulty curve that's more complex, but some people like that. I will stipulate scrypt is "better" if I don't have to argue about it. :)
Re:The default OpenSSH key encryption is worse than plaintext by willvarfar on Saturday August 04, 2018 @04:40AM (#17685965)
As an aside about scrypt since I saw it mentioned here:

How does scrypt fair against the recent TLBleed etc? Iirc intels claim was that TLBleed only affected poorly implemented crypto. But is not the memory access pattern of scrypt vulnerable to TLBleed and hard to make constant access?

Re:The default OpenSSH key encryption is worse than plaintext by viraptor on Saturday August 04, 2018 @06:56AM (#17686325)
OT: This is why I still come to HN. At some point the top comment chain is by tptacek (Matasano), cperciva (Tarsnap founder), lvh (Latacora), tedunangst (OpenBSD dev), willvarfar (Mill CPU). And that's a great thread!
Re:The default OpenSSH key encryption is worse than plaintext by tptacek on Saturday August 04, 2018 @04:24PM (#17688306)
LVH and I are Latacora. Matasano is long gone; our joking nickname for Latacora is Matwosano.
Re:The default OpenSSH key encryption is worse than plaintext by viraptor on Saturday August 04, 2018 @05:40PM (#17688546)
Thanks. I'll have to update my tags.
Re:The default OpenSSH key encryption is worse than plaintext by cperciva on Saturday August 04, 2018 @02:20PM (#17687896)
Kind of. If you can sniff the memory access pattern of scrypt, its strength drops to being the same as bcrypt.
Re:The default OpenSSH key encryption is worse than plaintext by aw1621107 on Friday August 03, 2018 @05:13PM (#17683659)
My first guess would be that it has "too many parameters/knobs". I guess that could implicitly mean it's hard to use/easy to mess up if you don't know what each parameter means and what different values have.
Re:The default OpenSSH key encryption is worse than plaintext by user5994461 on Saturday August 04, 2018 @05:55AM (#17686178)
I guess the same. Not sure why the downvote. The latest crypto functions expect the developer to pick parameters for the memory usage, the time to run and god knows what.

Too low and it's worse than MD5, too high and your login prompt takes a whole minute to check the password.