Diff

mod_watchuntrusted/mod_watchuntrusted.lua @ 2810:9a3e51f348fe

mod_watchuntrusted send SHA256 by default
author Michel Le Bihan <michel@lebihan.pl>
date Sat, 28 Oct 2017 17:17:59 +0200
parent 2346:dd1f0173f538
child 2887:65082d91950e
line wrap: on
line diff
--- a/mod_watchuntrusted/mod_watchuntrusted.lua	Mon Oct 23 17:22:27 2017 +0200
+++ b/mod_watchuntrusted/mod_watchuntrusted.lua	Sat Oct 28 17:17:59 2017 +0200
@@ -5,7 +5,7 @@
 	module:get_option_set("s2s_secure_domains", {})._items, module:get_option_set("s2s_insecure_domains", {})._items;
 
 local untrusted_fail_watchers = module:get_option_set("untrusted_fail_watchers", module:get_option("admins", {})) / jid_prep;
-local untrusted_fail_notification = module:get_option("untrusted_fail_notification", "Establishing a secure connection from $from_host to $to_host failed. Certificate hash: $sha1. $errors");
+local untrusted_fail_notification = module:get_option("untrusted_fail_notification", "Establishing a secure connection from $from_host to $to_host failed. Certificate hash: $sha256. $errors");
 
 local st = require "util.stanza";