Browse Source

Merge pull request #2940 from SomberNight/2fa_reset_json

fix json error when resetting 2fa
seed_v14
ThomasV 7 years ago
committed by GitHub
parent
commit
d940956cfe
  1. 2
      plugins/trustedcoin/trustedcoin.py

2
plugins/trustedcoin/trustedcoin.py

@ -563,7 +563,7 @@ class TrustedCoinPlugin(BasePlugin):
key = regenerate_key(pk)
compressed = is_compressed(pk)
sig = key.sign_message(message, compressed)
return base64.b64encode(sig)
return base64.b64encode(sig).decode()
signatures = [f(x) for x in [xprv1, xprv2]]
r = server.reset_auth(short_id, challenge, signatures)

Loading…
Cancel
Save