From 6e0f0b8896deb71cc112d7eadc10eedcc3081cba Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 9 Mar 2024 16:41:26 +0000 Subject: Add the enc_sha2 module which hashes passwords with HMAC-SHA-2. Using HMAC instead of changing the IV is a lot safer. --- data/anope.example.conf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'data') diff --git a/data/anope.example.conf b/data/anope.example.conf index ab50aece9..e87d26ba8 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -1253,7 +1253,7 @@ module */ #module { name = "enc_bcrypt" } -module { name = "enc_sha256" } +module { name = "enc_sha2" } /* * [DEPRECATED] Deprecated encryption modules. You can only use these for compatibility with @@ -1263,6 +1263,7 @@ module { name = "enc_sha256" } #module { name = "enc_md5" } #module { name = "enc_none" } #module { name = "enc_sha1" } +#module { name = "enc_sha256" } /* * enc_old is Anope's previous (broken) MD5 implementation used from 1.4.x to 1.7.16. -- cgit