From 8826b792d81c76571a562cb3d62ed5550e4ae04d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Wed, 18 Mar 2020 21:23:48 +0100 Subject: gnu: dovecot: Use libsodium. This adds support for ARGON2I and ARGON2ID password hashing in exchange for a <1% increase in closure size. * gnu/packages/mail.scm (dovecot)[inputs]: Add libsodium. (dovecot-libsodium-plugin)[description]: Note its use. --- gnu/packages/mail.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index e7931cc670..d5eaf67ccb 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -1394,6 +1394,7 @@ facilities for checking incoming mail.") `(("pkg-config" ,pkg-config))) (inputs `(("bzip2" ,bzip2) + ("libsodium" ,libsodium) ; extra password algorithms ("linux-pam" ,linux-pam) ("lz4" ,lz4) ("openssl" ,openssl) @@ -1516,8 +1517,8 @@ using libsodium sealed boxes. (home-page "https://github.com/LuckyFellow/dovecot-libsodium-plugin") (synopsis "Libsodium password hashing schemes plugin for Dovecot") (description - "@code{dovecot-libsodium-plugin} provides libsodium password -hashing schemes plugin for @code{Dovecot}.") + "@code{dovecot-libsodium-plugin} provides a libsodium password +hashing scheme (such as scrypt) plug-in for @code{Dovecot}.") (license gpl3+)))) (define-public isync -- cgit v1.2.3