From 9cd2170a14b1e09894b4479243255c99bcd93ce8 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Thu, 17 Mar 2016 19:18:41 +0100 Subject: [PATCH] Add supported server fingerprint algorithms to the help of supybot.networks.*.ssl.serverFingerprints. Closes GH-1221. --- src/conf.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/conf.py b/src/conf.py index 190a6d2bb..1a3adac78 100644 --- a/src/conf.py +++ b/src/conf.py @@ -325,10 +325,11 @@ def registerNetwork(name, password='', ssl=True, sasl_username='', _("""Determines whether the bot will attempt to connect with SSL sockets to %s.""") % name)) registerGlobalValue(network.ssl, 'serverFingerprints', - registry.SpaceSeparatedSetOfStrings([], _("""Space-separated list + registry.SpaceSeparatedSetOfStrings([], format(_("""Space-separated list of fingerprints of trusted certificates for this network. + Supported hash algorithms are: %L. If non-empty, Certification Authority signatures will not be used to - verify certificates."""))) + verify certificates."""), utils.net.FINGERPRINT_ALGORITHMS))) registerGlobalValue(network.ssl, 'authorityCertificate', registry.String('', _("""A certificate that is trusted to verify certificates of this network (aka. Certificate Authority).""")))