From 07bd1bbec968931a12d2dc818383ce5115146e97 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 14 Apr 2025 01:01:24 +0100 Subject: Switch enc_sha2 default from sha256 to sha512. --- modules/encryption/enc_sha2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/encryption') diff --git a/modules/encryption/enc_sha2.cpp b/modules/encryption/enc_sha2.cpp index 4e60d330d..6f7a2b7cb 100644 --- a/modules/encryption/enc_sha2.cpp +++ b/modules/encryption/enc_sha2.cpp @@ -128,7 +128,7 @@ public: void OnReload(Configuration::Conf &conf) override { - this->defaultprovider = GetAlgorithm(Config->GetModule(this).Get("algorithm", "sha256")); + this->defaultprovider = GetAlgorithm(Config->GetModule(this).Get("algorithm", "sha512")); } EventReturn OnEncrypt(const Anope::string &src, Anope::string &dest) override -- cgit