dovecot with libsodium on macos 10.13
L.S.
My name is Jan Henk Koning I am from the Netherlands and i would like youre help on the following subject.
I saw a lot of reactions of you online in regards to questions about getting ARGON2I password hashing scheme available in dovecot. I tried a lot of suggestions and even installed / compiled your dovecot-libsodium-plugin-master which needed a lot of debugging on my system. Unfortunately I can not get it to work.
I have dovecot 2.3.21.1 (d492236fa0) installed via macports. I also have mysql8 and php83 all via macports. I understood that I needed to have libsodium installed, so I also installed that via Macports. The problem is that I can not find the way to tell dovecot to use the libsodium plugin. I tried "!include sodium.h" in my 10-auth.conf file, but that does not work.
I also edited the portfile of dovecot with the line "--with sodium" no succes.
sudo doveadm pw -l gives me:
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
I can not find specific instructions for dovecot and sodium installed via Macports on macos.
Can you maybe help me in the right direction ?
Many thanks in advance,
Best regards,
Jan Henk Koning
On 14/02/2025 00:53 EET Jan Henk Koning via dovecot <dovecot@dovecot.org> wrote:
L.S.
My name is Jan Henk Koning I am from the Netherlands and i would like youre help on the following subject.
I saw a lot of reactions of you online in regards to questions about getting ARGON2I password hashing scheme available in dovecot. I tried a lot of suggestions and even installed / compiled your dovecot-libsodium-plugin-master which needed a lot of debugging on my system. Unfortunately I can not get it to work.
I have dovecot 2.3.21.1 (d492236fa0) installed via macports. I also have mysql8 and php83 all via macports. I understood that I needed to have libsodium installed, so I also installed that via Macports. The problem is that I can not find the way to tell dovecot to use the libsodium plugin. I tried "!include sodium.h" in my 10-auth.conf file, but that does not work.
I also edited the portfile of dovecot with the line "--with sodium" no succes.
sudo doveadm pw -l gives me:
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
I can not find specific instructions for dovecot and sodium installed via Macports on macos.
Can you maybe help me in the right direction ?
Many thanks in advance,
Best regards,
Jan Henk Koning
I'm not sure what this dovecot-libsodium-plugin-master
is, but you can recompile dovecot with --with-sodium to enable sodium support.
Aki
participants (2)
-
Aki Tuomi
-
Jan Henk Koning