From 2d52492d5c8b2825f075333bc07e50f2b396a6d1 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 9 Oct 2024 23:09:09 +0300 Subject: [PATCH] mail_crypt: Clarify base64-encoded keys --- docs/core/plugins/mail_crypt.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/core/plugins/mail_crypt.md b/docs/core/plugins/mail_crypt.md index aea5e03d5..ea1a2636c 100644 --- a/docs/core/plugins/mail_crypt.md +++ b/docs/core/plugins/mail_crypt.md @@ -303,7 +303,8 @@ crypt_global_private_key main { ## Base64-encoded Keys Mail-crypt plugin can read keys that are base64 encoded. This is intended -mostly for providing PEM keys via userdb. +mostly for providing PEM keys via userdb, because it may be difficult to get +userdb to return multi-line values. Hence, this is possible: @@ -325,7 +326,7 @@ passdb static { password = pass fields { crypt_global_public_key_file = ecpubkey.pem - crypt_global_private_key/main/private_key_file = inline: + crypt_global_private_key/main/private_key_file = inline: } } ```