mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-03 03:50:58 +00:00
apps.wallet: fix sign_identity for ed25519 curves
This commit is contained in:
parent
f345de1a4f
commit
b7c043df66
@ -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…
Reference in New Issue
Block a user