summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-03-18 21:23:48 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-03-19 00:42:16 +0100
commit8826b792d81c76571a562cb3d62ed5550e4ae04d (patch)
tree464e698efc5c7c8a9dd255aa82efd48d4ecc2685 /gnu
parentd6894b95ec541d55447126436340faa1d86d0c5e (diff)
downloadguix-8826b792d81c76571a562cb3d62ed5550e4ae04d.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mail.scm5
1 files 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