mirror of https://github.com/Mikaela/Limnoria.git
Add supported server fingerprint algorithms to the help of supybot.networks.*.ssl.serverFingerprints. Closes GH-1221.
This commit is contained in:
parent
51c354bcfb
commit
9cd2170a14
|
@ -325,10 +325,11 @@ def registerNetwork(name, password='', ssl=True, sasl_username='',
|
||||||
_("""Determines whether the bot will attempt to connect with SSL
|
_("""Determines whether the bot will attempt to connect with SSL
|
||||||
sockets to %s.""") % name))
|
sockets to %s.""") % name))
|
||||||
registerGlobalValue(network.ssl, 'serverFingerprints',
|
registerGlobalValue(network.ssl, 'serverFingerprints',
|
||||||
registry.SpaceSeparatedSetOfStrings([], _("""Space-separated list
|
registry.SpaceSeparatedSetOfStrings([], format(_("""Space-separated list
|
||||||
of fingerprints of trusted certificates for this network.
|
of fingerprints of trusted certificates for this network.
|
||||||
|
Supported hash algorithms are: %L.
|
||||||
If non-empty, Certification Authority signatures will not be used to
|
If non-empty, Certification Authority signatures will not be used to
|
||||||
verify certificates.""")))
|
verify certificates."""), utils.net.FINGERPRINT_ALGORITHMS)))
|
||||||
registerGlobalValue(network.ssl, 'authorityCertificate',
|
registerGlobalValue(network.ssl, 'authorityCertificate',
|
||||||
registry.String('', _("""A certificate that is trusted to verify
|
registry.String('', _("""A certificate that is trusted to verify
|
||||||
certificates of this network (aka. Certificate Authority).""")))
|
certificates of this network (aka. Certificate Authority).""")))
|
||||||
|
|
Loading…
Reference in New Issue