Changeset

2810:9a3e51f348fe

mod_watchuntrusted send SHA256 by default
author Michel Le Bihan <michel@lebihan.pl>
date Sat, 28 Oct 2017 17:17:59 +0200
parents 2809:6d3935226ffb
children 2811:39156d6f7268
files mod_watchuntrusted/mod_watchuntrusted.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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";