News for hackers. Stuff that matters.
Re:DecryptoCat by cperciva on Thursday July 04, 2013 @08:57PM (#5993070)
To take a concrete example of encryption using a key derived from a passphrase: SSH keys. OpenSSH uses MD5 as a key derivation function, so if someone steals a passphrased SSH key file you'd better hope that the passphrase is very strong.
Re:DecryptoCat by keeperofdakeys on Thursday July 04, 2013 @09:50PM (#5993166)
Using a KDF such as scrypt for that example does make a lot of sense, and after considering some others, I must admit, makes a lot of sense for most circumstances.

I also had a quick look at the tarsnap source code, and I see you do exactly that for the passphrased keyfile.

Re:DecryptoCat by cperciva on Thursday July 04, 2013 @10:11PM (#5993196)
Yes -- in fact, that's why I invented scrypt, because I was adding passphrase encryption to tarsnap key files and wanted to do it as securely as possible.
Re:DecryptoCat by croikle on Friday July 05, 2013 @01:05AM (#5993513)
Note that it's possible to convert your keys to use PBKDF2: http://martin.kleppmann.com/2013/05/24/improving-security-of...