apps.wallet: fix sign_identity for ed25519 curves

pull/25/head
Pavol Rusnak 7 years ago
parent f345de1a4f
commit b7c043df66
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -103,6 +103,8 @@ async def layout_sign_identity(session_id, msg):
else:
address = None
pubkey = node.public_key()
if pubkey[0] == 0x01:
pubkey = b'\x00' + pubkey[1:]
seckey = node.private_key()
if msg.identity.proto == 'gpg':

Loading…
Cancel
Save