News for hackers. Stuff that matters.
Re:Modern Alternatives to PGP by AnaniasAnanas on Friday February 15, 2019 @03:14PM (#19174296)
> one-time-use combinations of three English words

I really don't think that this is secure.

> nacl/box and nacl/secretbox

Both of which use XSalsa20 - which while not broken there should be no reason to use it rather than (X)Chacha20.

Re:Modern Alternatives to PGP by tptacek on Friday February 15, 2019 @03:24PM (#19174384)
You're wrong. Magic Wormhole is fine, and so is XSalsa. XChacha is barely even a thing; Bernstein formalized extended-nonce Salsa20, but not Chacha20.
Re:Modern Alternatives to PGP by bjoli on Friday February 15, 2019 @04:54PM (#19175067)
Wireguard, libsodium, go's crypto libraries and Google's Tink have all implemented xchacha20-poly1305. I would not say that it's not a thing, but I would probably wait at least until the ietf process is over before using it.
Re:Modern Alternatives to PGP by tptacek on Friday February 15, 2019 @06:39PM (#19175828)
I know it exists, and I don't think there's anything wrong with it. It's just weird to demand that everyone use it, since, as I said, it's barely a thing.
Re:Modern Alternatives to PGP by tedunangst on Friday February 15, 2019 @04:52PM (#19175053)
Xchacha is used in a corner of WireGuard, fwiw.
Re:Modern Alternatives to PGP by AnaniasAnanas on Friday February 15, 2019 @06:14PM (#19175646)
Using "one-time-use combinations of three English words" is "fine" only if your definition of "fine" includes allowing someone with a minimal budget to find out the password in less than a year. I am seriously wondering under what definition this could be considered better than OpenPGP.

XSalsa20 is indeed fine, but XChaCha20 is better in every way. The proof for XSalsa20 provided by Bernstein applies to XChaCha20 as well.

Re:Modern Alternatives to PGP by sdevlin on Friday February 15, 2019 @06:21PM (#19175693)
> Using "one-time-use combinations of three English words" is "fine" only if your definition of "fine" includes allowing someone with a minimal budget to find out the password in less than a year.

Magic Wormhole uses a PAKE to establish a secure channel from a low-entropy shared secret.

Re:Modern Alternatives to PGP by AnaniasAnanas on Friday February 15, 2019 @08:58PM (#19176504)
I admit that I missed that part. My mistake, I apologise.
Re:Modern Alternatives to PGP by tptacek on Friday February 15, 2019 @11:05PM (#19177005)
You might also acknowledge your faulty critique of systems that use XSalsa20.