Gentoo Archives: gentoo-dev

From: Joshua Kinard <kumba@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Switching default password hashes from sha512 to yescrypt
Date: Mon, 25 Jul 2022 20:00:09
Message-Id: 9195a3a6-4fd2-9564-457c-7c63f0cddad2@gentoo.org
In Reply to: Re: [gentoo-dev] Switching default password hashes from sha512 to yescrypt by Joshua Kinard
1 On 7/25/2022 15:30, Joshua Kinard wrote:
2 [snip]
3
4 >
5 > Some really quick looking around, I'm not finding any substantive
6 > discussions on why yescrypt is better than argon2. It so far seems that it
7 > just got implemented in libxcrypt sooner than argon2 did, so that's why
8 > there is this sudden push for it.
9 >
10 > E.g., on Issue #45 in linux-pam[3], user ldv-alt just states "I'd recommend
11 > yescrypt instead. Anyway, it has to be implemented in libcrypt.", but
12 > provides no justification for why they recommend yescrypt. Since we're
13 > dealing with a fairly important function for system security, I kinda want
14 > something with much more context that presents pros and cons for this
15 > algorithm over others, especially argon2.
16
17 So there is this question and three answers on Crypto StackExchange. It is
18 about five years-old, but it's got more detail on why argon2 won the PHC
19 instead of one of the other contenders. It is still subjective information,
20 but more thorough:
21 https://crypto.stackexchange.com/questions/48933/why-did-argon2-win-the-phc
22
23 There's some more info if one continues to deep-dive on CSE, but I am
24 noticing a lot of the info is several years old. Some more recent things
25 make references to a newer algo called Balloon, but that seems to be going
26 off into side-tangents.
27
28 Anyways, I guess I am just being paranoid. If a change to hashing algos is
29 made, it should be based on facts and not popularity contests or feelings.
30
31 --
32 Joshua Kinard
33 Gentoo/MIPS
34 kumba@g.o
35 rsa6144/5C63F4E3F5C6C943 2015-04-27
36 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943
37
38 "The past tempts us, the present confuses us, the future frightens us. And
39 our lives slip away, moment by moment, lost in that vast, terrible in-between."
40
41 --Emperor Turhan, Centauri Republic

Replies