commit d63b5ef4fbca4191fe79ba77cb6ffb311e7755ed Author: juga0 juga@riseup.net Date: Mon Jun 11 10:35:19 2018 +0000
Add docstring for ed25519, from where the key comes --- sbws/lib/relaylist.py | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/sbws/lib/relaylist.py b/sbws/lib/relaylist.py index c0ca9ad..5d584ea 100644 --- a/sbws/lib/relaylist.py +++ b/sbws/lib/relaylist.py @@ -79,6 +79,11 @@ class Relay:
@property def ed25519_master_key(self): + """Obtain ed25519 master key of the relay in server descriptors. + + :returns: str, the ed25519 master key base 64 encoded without + trailing '='s. + """ return self._from_desc('ed25519_master_key').rstrip('=')
tor-commits@lists.torproject.org