diff options
-rw-r--r-- | Zotlabs/Module/Setup.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Zotlabs/Module/Setup.php b/Zotlabs/Module/Setup.php index 3a188d9ce..72646c8ba 100644 --- a/Zotlabs/Module/Setup.php +++ b/Zotlabs/Module/Setup.php @@ -491,6 +491,12 @@ class Setup extends \Zotlabs\Web\Controller { } $this->check_add($checks, t('Generate encryption keys'), $res, true, $help); + + $res = function_exists('sodium_crypto_sign_keypair'); + if (!$res) { + $help = t('Error: the sodium encryption library is not installed.') . EOL; + } + $this->check_add($checks, t('Generate ed25519 encryption keys'), $res, true, $help); } /** |