summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-03-09 16:41:26 +0000
committerSadie Powell <sadie@witchery.services>2024-03-09 22:22:56 +0000
commit6e0f0b8896deb71cc112d7eadc10eedcc3081cba (patch)
treeae3787cc8bad1354836669431acb4c05c3b3cf26 /data
parent2c5b2c649ef59be1695132d02377312cac523497 (diff)
Add the enc_sha2 module which hashes passwords with HMAC-SHA-2.
Using HMAC instead of changing the IV is a lot safer.
Diffstat (limited to 'data')
-rw-r--r--data/anope.example.conf3
1 files changed, 2 insertions, 1 deletions
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.