fp_from_ik: change fp repr to lowercase with no colon
This allows the user to be able to do what they want with the string. They can then insert colons, or split up in groups of chars or.. Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
957b555d93
commit
6c61d0f237
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def _load_device_id(data_dir: str) -> int:
|
|||
|
||||
def fp_from_ik(identity_key: bytes) -> str:
|
||||
"""Convert identityKey to a string representation (fingerprint)"""
|
||||
return ":".join("{:02X}".format(octet) for octet in identity_key)
|
||||
return "".join("{:02x}".format(octet) for octet in identity_key)
|
||||
|
||||
|
||||
def _parse_bundle(backend: Backend, bundle: Bundle) -> ExtendedPublicBundle:
|
||||
|
|
Loading…
Reference in a new issue