예제 #1
0
 def read_reset_entropy(self):
     obj = self._call(proto.DebugLinkGetState())
     return obj.reset_entropy
예제 #2
0
 def read_passphrase_protection(self):
     obj = self._call(proto.DebugLinkGetState())
     return obj.passphrase_protection
예제 #3
0
 def read_recovery_word(self):
     obj = self._call(proto.DebugLinkGetState())
     return (obj.recovery_fake_word, obj.recovery_word_pos)
예제 #4
0
 def read_node(self):
     obj = self._call(proto.DebugLinkGetState())
     return obj.node
예제 #5
0
 def read_mnemonic(self):
     obj = self._call(proto.DebugLinkGetState())
     return obj.mnemonic
예제 #6
0
 def read_layout(self):
     obj = self._call(proto.DebugLinkGetState())
     return obj.layout
예제 #7
0
    def read_pin(self):
        obj = self._call(proto.DebugLinkGetState())
        print "Read PIN:", obj.pin
        print "Read matrix:", obj.matrix

        return (obj.pin, obj.matrix)