Merge branch 'change-fp-repr' into 'master'

fp_from_ik: change fp repr to lowercase with no colon

See merge request poezio/slixmpp-omemo!8
This commit is contained in:
Maxime Buquet 2021-07-12 11:09:42 +02:00
commit 92a379a327

View file

@ -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: