From ca45019918bc4c54f1ace899a9acf397c8f4d92f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 20 Oct 2015 18:12:39 +0200 Subject: [PATCH] add slip-13 paths to the test --- tests/test_msg_signidentity.py | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/tests/test_msg_signidentity.py b/tests/test_msg_signidentity.py index 10fafbabe..ff7ac5307 100644 --- a/tests/test_msg_signidentity.py +++ b/tests/test_msg_signidentity.py @@ -1,10 +1,27 @@ import unittest import common import binascii +import hashlib +import struct from trezorlib.client import CallException import trezorlib.types_pb2 as proto_types +def check_path(identity): + m = hashlib.sha256() + m.update(struct.pack("