> 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
> On 22 Feb 2023, at 4:14 pm, Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > >> 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. > > AkiThanks Aki, that was helpful. When I add that I get: checking for LIBSODIUM... no configure: error: Can't build with libsodium: not found So I have to tell it where libsodium is. Tried: CPPFLAGS=-I/opt/homebrew/Cellar/openssl at 3/3.0.8/include LDFLAGS=-L/opt/homebrew/opt/openssl at 3/lib LIBSODIUM_LIBS=-L/opt/homebrew/Cellar/libsodium ./configure --with-ssl=openssl --with-mysql ?with-sodium But that gives: configure: WARNING: Libtool does not cope well with whitespace in `pwd` checking build system type... Invalid configuration `?-with-sodium': machine `?-with' not recognized Location of libsodium: % locate libsodium /opt/homebrew/Cellar/libsodium /opt/homebrew/Cellar/libsodium/1.0.18_1 /opt/homebrew/Cellar/libsodium/1.0.18_1/.brew /opt/homebrew/Cellar/libsodium/1.0.18_1/.brew/libsodium.rb /opt/homebrew/Cellar/libsodium/1.0.18_1/AUTHORS /opt/homebrew/Cellar/libsodium/1.0.18_1/ChangeLog /opt/homebrew/Cellar/libsodium/1.0.18_1/INSTALL_RECEIPT.json /opt/homebrew/Cellar/libsodium/1.0.18_1/LICENSE /opt/homebrew/Cellar/libsodium/1.0.18_1/README.markdown /opt/homebrew/Cellar/libsodium/1.0.18_1/include /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/core.h /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/crypto_aead_aes256gcm.h ... /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/utils.h /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium/version.h /opt/homebrew/Cellar/libsodium/1.0.18_1/include/sodium.h /opt/homebrew/Cellar/libsodium/1.0.18_1/lib /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.23.dylib /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.a /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/libsodium.dylib /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig /opt/homebrew/Cellar/libsodium/1.0.18_1/lib/pkgconfig/libsodium.pc /opt/homebrew/lib/libsodium.23.dylib /opt/homebrew/lib/libsodium.a /opt/homebrew/lib/libsodium.dylib /opt/homebrew/lib/pkgconfig/libsodium.pc /opt/homebrew/opt/libsodium /opt/homebrew/var/homebrew/linked/libsodium What do I need to use to stop the: Can't build with libsodium: not found Sorry these are such stupid questions. James. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20230222/9c6f42c6/attachment-0001.htm>