From fad0a4a0e888b8025b0ae4e456085e28415b0453 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 24 Apr 2025 12:46:58 +0100 Subject: Add support for hashing operator passwords in the config. Closes #327. --- data/anope.example.conf | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'data') diff --git a/data/anope.example.conf b/data/anope.example.conf index 4e81cd3c3..e8e587b97 100644 --- a/data/anope.example.conf +++ b/data/anope.example.conf @@ -875,6 +875,16 @@ opertype /* An optional password. If defined, the user must login using "/OPERSERV LOGIN" first */ #password = "secret" + /* + * The algorithm which the above password is hashed with. If this is not set then services will + * assume the above password is not hashed. + * + * You will need to have the appropriate encryption module (e.g. enc_bcrypt) loaded in order + * for this to work. + * + */ + #password_hash = "bcrypt" + /* An optional SSL fingerprint. If defined, it's required to be able to use this opertype. */ #certfp = "ed3383b3f7d74e89433ddaa4a6e5b2d7" -- cgit