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:
commit
92a379a327
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:
|
def fp_from_ik(identity_key: bytes) -> str:
|
||||||
"""Convert identityKey to a string representation (fingerprint)"""
|
"""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:
|
def _parse_bundle(backend: Backend, bundle: Bundle) -> ExtendedPublicBundle:
|
||||||
|
|
Loading…
Reference in a new issue