# HG changeset patch # User Michel Le Bihan # Date 1509203879 -7200 # Node ID 9a3e51f348fe2ad546484335d6a7c50abc0b8bbe # Parent 6d3935226ffbc70001890c9e01c37024c61b0311 mod_watchuntrusted send SHA256 by default diff -r 6d3935226ffb -r 9a3e51f348fe mod_watchuntrusted/mod_watchuntrusted.lua --- 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";