Auth-worker, unknown scheme ARGON2ID
Aki Tuomi
aki.tuomi at open-xchange.com
Wed Feb 22 05:14:32 UTC 2023
> On 22/02/2023 07:00 EET James Brown <jlbrown at bordo.com.au> wrote:
>
>
> On 21 Feb 2023, at 10:12 pm, James Brown <jlbrown at bordo.com.au> wrote:
>
> >
> >
> > The new one has Dovecot compiled with same configure options, same configuration files, but fails to authenticate:
> >
> > Feb 21 21:51:03 master: Info: Dovecot v2.3.20 (80a5ac675d) starting up for imap, pop3 (core dumps disabled)
> > Feb 21 21:51:33 auth-worker(11701): Error: conn unix:auth-worker (uid=214): auth-worker<1>: sql(jlbrown at bordo.com.au,::1,<bRgbkDP2udEBAAAAAAAAAAAAAAAAAAB>): Unknown scheme ARGON2ID
> >
> > ./configure --with-ssl=openssl --with-mysql
> >
> > Was what I used to compile.
> >
> > Using OpenSSL 3.0.8. New server is running macOS 13.2.1 Ventura.
> >
> > (Have also installed libsodium 1.0.18_1)
> >
> > Any help would be most appreciated.
> >
> > thanks,
> >
> > James.
>
> I’ve spent ages on this and am getting really desperate! :-(
>
> CPPFLAGS=-I/opt/homebrew/Cellar/openssl at 3/3.0.8/include LDFLAGS=-L/opt/homebrew/opt/openssl at 3/lib ./configure --with-ssl=openssl --with-mysql
>
> ...
> Install prefix . : /usr/local
> File offsets ... : 64bit
> I/O polling .... : kqueue
> I/O notifys .... : kqueue
> SSL ............ : yes (OpenSSL)
> GSSAPI ......... : no
> passdbs ........ : static passwd passwd-file pam checkpassword sql
> : -shadow -bsdauth -ldap
> userdbs ........ : static prefetch passwd passwd-file checkpassword sql
>
>
> sudo doveadm pw -l
> SHA1 SSHA512 SCRAM-SHA-256 BLF-CRYPT PLAIN HMAC-MD5 OTP SHA512 SHA DES-CRYPT CRYPT SSHA MD5-CRYPT PLAIN-MD4 PLAIN-MD5 SCRAM-SHA-1 CLEAR CLEARTEXT SSHA256 MD5 PBKDF2 SHA256 CRAM-MD5 PLAIN-TRUNC SMD5 DIGEST-MD5 LDAP-MD5
>
> How do I get ARGON2I, ARGON2ID in that list?
>
> Has anybody got Dovecot to work on recent macOS with these password schemes? Any hints?
>
> Thanks, James.
You need to use --with-sodium when building.
Aki
More information about the dovecot
mailing list