1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 22:18:13 +00:00

Revert "test_msg_signidentity: ed25519 pubkey starts with 1 not 0"

This reverts commit 30b13dba58.
This commit is contained in:
Pavol Rusnak 2017-05-03 17:27:02 +02:00
parent 4cba191997
commit 5860207e68
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

View File

@ -83,7 +83,7 @@ class TestMsgSignidentity(common.TrezorTest):
identity = proto_types.IdentityType(proto='ssh', user='satoshi', host='bitcoin.org', port='', path='', index=47) identity = proto_types.IdentityType(proto='ssh', user='satoshi', host='bitcoin.org', port='', path='', index=47)
sig = self.client.sign_identity(identity, hidden, visual, ecdsa_curve_name='ed25519') sig = self.client.sign_identity(identity, hidden, visual, ecdsa_curve_name='ed25519')
self.assertEqual(sig.address, '') self.assertEqual(sig.address, '')
self.assertEqual(binascii.hexlify(sig.public_key), b'010fac2a491e0f5b871dc48288a4cae551bac5cb0ed19df0764d6e721ec5fade18') self.assertEqual(binascii.hexlify(sig.public_key), b'000fac2a491e0f5b871dc48288a4cae551bac5cb0ed19df0764d6e721ec5fade18')
self.assertEqual(binascii.hexlify(sig.signature), b'00f05e5085e666429de397c70a081932654369619c0bd2a6579ea6c1ef2af112ef79998d6c862a16b932d44b1ac1b83c8cbcd0fbda228274fde9e0d0ca6e9cb709') self.assertEqual(binascii.hexlify(sig.signature), b'00f05e5085e666429de397c70a081932654369619c0bd2a6579ea6c1ef2af112ef79998d6c862a16b932d44b1ac1b83c8cbcd0fbda228274fde9e0d0ca6e9cb709')