Commit d63b5ef4 authored by juga's avatar juga Committed by Matt Traudt
Browse files

Add docstring for ed25519, from where the key comes

parent c4ed6837
......@@ -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('=')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment