Commit Graph

658 Commits (ecac1d79f24c3db3a3822c80ae98d6d71455e63a)
 

Author SHA1 Message Date
Jan Pochyla 24d8a04131 signtx: minor refactoring
8 years ago
Jan Pochyla 31e3aaa23b signtx: add UI instructions, SigningError type
8 years ago
Jan Pochyla 8109d8363c signtx: remove BufferWriter
8 years ago
Pavol Rusnak 05e035d56a
apps.fido_u2f: add fastmail to known providers
8 years ago
Pavol Rusnak 105b9c8167
tools: simplify coins-gen.py
8 years ago
Pavol Rusnak 3015045df6
apps.common.coins: update to return CoinType, not dict (also modify generator)
8 years ago
Jan Pochyla 25ab4dd2ea signtx: clean up test
8 years ago
Jan Pochyla d7bc138262 signtx: remove forgotten import
8 years ago
Pavol Rusnak b0fa0466dc
trezor.crypto.curve: implement verify_recover function for ecdsa
8 years ago
Pavol Rusnak c8eb2bf17b
trezor.crypto: prepend recid to ecdsa signatures
8 years ago
Pavol Rusnak a31dba225e
test: add test for trezor.config.wipe
8 years ago
Pavol Rusnak 2dc9d6ac4e
sign: inline write_tx_header, write_tx_middle and write_tx_footer functions
8 years ago
Pavol Rusnak 32e699efdb
trezor.crypto.der: convert -> encode
8 years ago
Pavol Rusnak b3bc71c481
tests: extract micropython binary to variable in run_tests.sh
8 years ago
Jan Pochyla d2c71b3a58 signtx: add first test, make it all work
8 years ago
Jan Pochyla b20e62ffa8 update submodule trezor-crypto
8 years ago
Pavol Rusnak 4cd2d1eb13
readme: small changes
8 years ago
Pavol Rusnak 2d0675341b
trezor.crypto: use 64-byte ecdsa signatures (for now)
8 years ago
Pavol Rusnak 9fb6e328a0
trezor.crypto: add der module
8 years ago
Pavol Rusnak 8d1109986c
trezor.crypto: curve.nist256p1 and curve.secp256k1 now sign/verify 256-bit digests, not arbitrary length messages
8 years ago
Jan Pochyla 1bb20c2521 signtx: serialize tx meta
8 years ago
Pavol Rusnak 0012883984
trezor.ui.display: fix orientation/backlight calls when NOUI=1 is used
8 years ago
Pavol Rusnak 161bb90e03
tests: add tests for trezor.msg and trezor.ui.display
8 years ago
Pavol Rusnak 33b5436dcc
tests: move to /tests to avoid freezing
8 years ago
Pavol Rusnak c95ed063db
trezor.crypto.hashlib: remove HashIO (lives as HashWriter somewhere else)
8 years ago
Jan Pochyla f9827666f8 modtrezorcrypto: fix last commit
8 years ago
Pavol Rusnak 8092be211c
trezor.messages: regenerate messages
8 years ago
Pavol Rusnak c49c4ea29e
apps.common.coins: make coins definitions more readable + adapt generator
8 years ago
Pavol Rusnak ca45689808
trezor.crypto: update trezor-crypto submodule
8 years ago
Jan Pochyla 44a3b7f9f1 signtx: fixes, refactoring
8 years ago
Jan Pochyla adc3dde19e modtrezorcrypto: add HDNode.clone()
8 years ago
Pavol Rusnak 6891c3c463
trezor.config: add wipe method
8 years ago
Pavol Rusnak 998fb9fce6
tests: added check_coverage script
8 years ago
Pavol Rusnak 955bd44684
rename unit tests to match module names
8 years ago
Pavol Rusnak 8b0d7be52a
trezor.crypto: add keccak option to Sha3_*.digest()
8 years ago
Pavol Rusnak 192fc5f1ef
trezor.crypto: add sha1, regenerate mocks
8 years ago
Jan Pochyla 3b742aa5dc signtx: WIP
8 years ago
Jan Pochyla 6a98aff8bb WIP: signing pseudocode
8 years ago
Jan Pochyla 783fddf749 messages: do not use const()
8 years ago
Pavol Rusnak 392538d7d2
vendor: update micropython
8 years ago
Pavol Rusnak 34ba0ccd72
trezor.crypto: add key option for blake2s, add unit tests for blake2s
8 years ago
Pavol Rusnak e9c328919c
trezor.crypto: add blake2s hash, update submodules
8 years ago
Pavol Rusnak 56eb351816
trezor.crypto: add hashlib.HashIO
8 years ago
Pavol Rusnak 54a045e9de
apps.common: add pseudocode for signing
8 years ago
Jan Pochyla b3c03496e4 streams: minor API change
8 years ago
Jan Pochyla 83043f7aef wire: update to latest changes in protobuf
8 years ago
Jan Pochyla a16e02a3d8 messages: regenerate
8 years ago
Jan Pochyla 20b612f8c1 pb2py: use new protobuf message format
8 years ago
Jan Pochyla 36784bf0f5 protobuf: refactoring, remove default values and required fields
8 years ago
Pavol Rusnak df5e770dec
trezor.crypto: refactor base58; allow custom digest function
8 years ago