<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 2/19/19 1:50 AM, Aki Tuomi via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ea40b5f0-4594-689c-a4bc-2ca01c1b6208@open-xchange.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><br>
</p>
<div class="moz-cite-prefix">On 17.2.2019 10.46, Aki Tuomi via
dovecot wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1550035250.1661.1550393213838@appsuite-dev-gw1.open-xchange.com">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<meta charset="UTF-8">
<div> <br>
</div>
<blockquote type="cite">
<div> On 17 February 2019 at 10:38 Odhiambo Washington via
dovecot < <a href="mailto:dovecot@dovecot.org"
moz-do-not-send="true">dovecot@dovecot.org</a>> wrote:
</div>
<div> <br>
</div>
<div> <br>
</div>
<div> On Sun, 17 Feb 2019 at 11:34, Marc Weustink via dovecot
< <a href="mailto:dovecot@dovecot.org"
moz-do-not-send="true">dovecot@dovecot.org</a>> </div>
<div> wrote: </div>
<div> <br>
</div>
<blockquote type="cite">
<div> Jean-Daniel Dupas via dovecot wrote: </div>
<div> > </div>
<div> > </div>
<div> >> Le 13 févr. 2019 à 14:54, Robert Moskowitz
via dovecot </div>
<div> >> < <a href="mailto:dovecot@dovecot.org"
moz-do-not-send="true">dovecot@dovecot.org</a>
<mailto: <a href="mailto:dovecot@dovecot.org"
moz-do-not-send="true">dovecot@dovecot.org</a>>> a
écrit : </div>
<div> >> </div>
<div> >> </div>
<div> >> </div>
<div> <br>
</div>
<div> >>> ARGON2 support is added in dovecot v2.3.
It also needs to be enabled </div>
<div> >>> when compiling dovecot, so varying from
packagers it might or not be </div>
<div> >>> available. The CRYPT ones are available
if crypt(3) supports them. In </div>
<div> >>> dovecot v2.3 we have added bcrypt support
regardless of crypt(3) </div>
<div> support. </div>
<div> >> </div>
<div> >> CentOS7 is on dovecot 2.2.36: </div>
<div> >> </div>
<div> >> # doveadm pw -s ARGON2-CRYPT -p secret </div>
<div> >> Fatal: Unknown scheme: ARGON2-CRYPT </div>
<div> >> # doveadm pw -s ARGON2 -p secret </div>
<div> >> Fatal: Unknown scheme: ARGON2 </div>
<div> >> </div>
<div> >> I tend to stay with the distro's rpms and not
take on building and </div>
<div> >> maintaining myself. </div>
<div> > </div>
<blockquote type="cite">
<div> And for the record, the hash names are ARGON2I and
ARGON2ID (see doveadm </div>
<div> pw -l ) </div>
</blockquote>
<blockquote type="cite">
<div> With dovecot from the dovecot.org < <a
href="http://dovecot.org" rel="noopener"
target="_blank" moz-do-not-send="true">http://dovecot.org</a>>
repo: </div>
</blockquote>
<blockquote type="cite">
<div> # doveadm pw -s ARGON2I -p secret </div>
</blockquote>
<div>
{ARGON2I}$argon2i$v=19$m=32768,t=4,p=1$bt96TSr3nVrho2SRhnNP0A$h7LYiqkw/4s6d1d+0Xpe+VUE3aISPnkYq/R7QqPRntk
</div>
</blockquote>
<blockquote type="cite">
<div> Also from dovecot.org < <a
href="http://dovecot.org" rel="noopener" target="_blank"
moz-do-not-send="true">http://dovecot.org</a>> repo:
</div>
</blockquote>
<blockquote type="cite">
<div> doveadm pw -s ARGON2I -p secret </div>
<div> Fatal: Unknown scheme: ARGON2I </div>
</blockquote>
<blockquote type="cite">
<div> ???? </div>
</blockquote>
<blockquote type="cite">
<div> Marc </div>
</blockquote>
<div> <br>
</div>
<div> It works for me over here: </div>
<div> <br>
</div>
<div> [wash@waridi ~]#/opt/dovecot2.3/bin/doveadm pw -s
ARGON2I -p secret </div>
<div>
{ARGON2I}$argon2i$v=19$m=32768,t=4,p=1$9pggnQBea9F3h3O31HoJEA$0zZZgwEuMRVZ3Mc/v6ckpalzVRVCr+GLBWnb8OrgsxU
</div>
<div> <br>
</div>
<div> <br>
</div>
<div> -- </div>
<div> Best regards, </div>
<div> Odhiambo WASHINGTON, </div>
<div> Nairobi,KE </div>
<div> +254 7 3200 0004/+254 7 2274 3223 </div>
<div> "Oh, the cruft.", grep ^[^#] :-) </div>
</blockquote>
<div> <br>
</div>
<div> I'll check next week if and why argon is missing from ce
packages. </div>
<div class="io-ox-signature"> --- <br>
Aki Tuomi </div>
</blockquote>
<p>Marc,<br>
</p>
<p>ARGON2 is supported only on Debian Stretch and Ubuntu 18 for
dovecot, due to libsodium.<br>
</p>
</blockquote>
<br>
libsodium does not help with CentOS7 and Dovecot 2.3:<br>
<br>
Installing :
libsodium-1.0.17-1.el7.armv7hl 1/1 <br>
Verifying :
libsodium-1.0.17-1.el7.armv7hl 1/1 <br>
<br>
Installed:<br>
libsodium.armv7hl
0:1.0.17-1.el7 <br>
<br>
Complete!<br>
[root@klovia ~]# doveadm pw -s ARGON2I -p secret <br>
Fatal: Unknown scheme: ARGON2I<br>
[root@klovia ~]# doveadm pw -l<br>
MD5 MD5-CRYPT SHA SHA1 SHA256 SHA512 SMD5 SSHA SSHA256 SSHA512 PLAIN
CLEAR CLEARTEXT PLAIN-TRUNC CRAM-MD5 SCRAM-SHA-1 HMAC-MD5 DIGEST-MD5
PLAIN-MD4 PLAIN-MD5 LDAP-MD5 LANMAN NTLM OTP SKEY RPA PBKDF2 CRYPT
SHA256-CRYPT SHA512-CRYPT <br>
<br>
Previously installed argon2:<br>
<br>
grep -n argon /var/log/yum.log*<br>
/var/log/yum.log:128:Feb 13 09:01:01 Installed:
libargon2-20161029-2.el7.armv7hl<br>
/var/log/yum.log:129:Feb 13 09:01:01 Installed:
argon2-20161029-2.el7.armv7hl<br>
<br>
<br>
</body>
</html>