From 9280d90abafb61a434c5278b145f34c787fa61f2 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 8 Jun 2026 09:09:19 +0100 Subject: [PATCH] Make it clear that the hmac-* algos can't be used in the config. --- src/tools/anope-mkpasswd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tools/anope-mkpasswd b/src/tools/anope-mkpasswd index fd0498bf7..deabb0285 100755 --- a/src/tools/anope-mkpasswd +++ b/src/tools/anope-mkpasswd @@ -120,5 +120,8 @@ if config: token = "{password_hash}" token_hash = "{algorithm}" """).lstrip()) +else: + print(f"The {algorithm} algorithm can not be used in an oper or a jsonrpc/xmlrpc token.") + print() print(f"Make sure you have the {module} module loaded!");