Commit Graph

371 Commits (5cac99fdf460b7a8ae52fce7312b4ade91630016)

Author SHA1 Message Date
Jochen Hoenicke 32fb7e96cc Ethereum EIP-155 replay protection
8 years ago
Jochen Hoenicke 5b40f6d90b Updated trezor-common
8 years ago
Jochen Hoenicke f36cf5c10c Handle edge cases for ethereum txs.
8 years ago
Pavol Rusnak 505df38a84
fix when oled triangle is shown
8 years ago
Roman Zeyde 466155270b layout: split "First Last <first@last.com>" GPG user ID for readability
8 years ago
Jochen Hoenicke 1cceec0ae2 Check that U2F key only uses hardened derivation (#139)
8 years ago
Pavol Rusnak ab006262e8
mytrezor.com -> trezor.io/start
8 years ago
Pavol Rusnak 1e297c68fa
cosmetic changes to matrix recovery
8 years ago
Pavol Rusnak b1723fef5b
change binary name of nanopb generator (to follow upstream name)
8 years ago
Jochen Hoenicke 8e84a6716c Merge master into segwit
8 years ago
Jochen Hoenicke e9eaad2fcf
Segwit: Show multisig segwit address
8 years ago
Jochen Hoenicke f9a203431e
Display SegWit address on Trezor
8 years ago
Jochen Hoenicke e67f13ef4b
Multi-byte address prefixes for segwit
8 years ago
Pavol Rusnak 32f3c54cc4
fix whitespace
8 years ago
Jochen Hoenicke 52da2fc5e7
Segwit: Fix problems introduced by rebase
8 years ago
Roman Zeyde 9eb87245ba usb: exclude hid_report_descriptor_debug from non-debug build (#135)
8 years ago
Pavol Rusnak 1763a5b647
use new hdnode_private_ckd_cached API
8 years ago
Saleem Rashid 5f203d0a0c debug: Improve debugging API (#134)
8 years ago
Saleem Rashid 5c00b24307 trezor: Fix screen timeout (#131)
8 years ago
Saleem Rashid b4eaf7dbaf timer: Fix non-critical integer overflow (#129)
8 years ago
Pavol Rusnak 15fcda21ce
update protobuf
8 years ago
Jochen Hoenicke acfdb714ff
New Matrix-based recovery
8 years ago
Pavol Rusnak 14aa486fa6
partially revert 4ce4cc5605 for smoother merge
8 years ago
Pavol Rusnak c4d144a82e
extract CHECK_PARAM
8 years ago
Pavol Rusnak a122615663
extract CHECK_PIN and CHECK_PIN_UNCACHED
8 years ago
Pavol Rusnak 0ef70164a5
extract CHECK_INITIALIZED and CHECK_NOT_INITIALIZED macros
8 years ago
Pavol Rusnak 27a4e41707
refactor forgotten disabled coinByName usage
8 years ago
Saleem Rashid 0ec32a6146 timer: Replace screen timeout with SysTick
8 years ago
Saleem Rashid 25b9bfd97b timer: Use Cortex-M3 SysTick timers
8 years ago
Pavol Rusnak 3cede26fbc
add yubico u2f demo to u2f known apps
8 years ago
Pavol Rusnak f45454b5ce
u2f: add fastmail to known providers
8 years ago
Jochen Hoenicke 9287dd7e04
Poll USB during BIP39 derivation.
8 years ago
Pavol Rusnak 4ce4cc5605
halt the device when encountered an invalid mnemonic (skip if device loaded or recovered without enforced wordlist)
8 years ago
Pavol Rusnak 810d478f4c
check return values of ecdsa_sign calls
8 years ago
Jochen Hoenicke 2950588271
Fix segwit multisig.
8 years ago
Jochen Hoenicke 895da908e0
Simplified InputScriptType
8 years ago
Jochen Hoenicke 388750f2d1
Support for P2SH compatible segwit
8 years ago
Jochen Hoenicke b7b9891cb4
Signing for Segnet Transaction works
8 years ago
Jochen Hoenicke e5000fb196
segwit sign (completely untested)
8 years ago
Jochen Hoenicke 5c60be9854
hashes for segwit signature
8 years ago
Jochen Hoenicke 1bd4b99f95
Allow SegWit addresses
8 years ago
Pavol Rusnak 71890e4edf
implement u2f_counter in LoadDevice, Recoverydevice and ResetDevice messages
8 years ago
Pavol Rusnak 4471c6e0e6
show different dialog when U2F client uses bogus appid
8 years ago
Pavol Rusnak ae37ea8a9a
bump version, add changelog
8 years ago
Pavol Rusnak 592f3c9afe
lock screen after 10 minutes of inactivity
8 years ago
Pavol Rusnak f8ad9fc742
fix Verify (by introducing coinExtractAddressType)
8 years ago
Saleem Rashid 0b51d060d8
allow ClearSession purely via confirm button
8 years ago
Pavol Rusnak ea35b4bfe7
update trezor-crypto
8 years ago
Roman Zeyde 0bb7f16b78 crypto: allow Ed25519 signing larger digests (#124)
8 years ago
Pavol Rusnak e9f0706c2e
fix prevtx hashing when input count is 0
8 years ago
Pavol Rusnak 2daab8cf02
add coins-gen.py script and generate coins.c using that script
8 years ago
Pavol Rusnak c288a0e328
implement TXEXTRADATA transaction RequestType
8 years ago
Roman Zeyde 68a1bcc908 Add specific layout for GPG signature (#122)
8 years ago
Pavol Rusnak 771a0c014b
update protobuf
8 years ago
Pavol Rusnak f0b93b44f5
multibyte addresses can be 40 chars long
8 years ago
Roman Zeyde b57c0ff430
Use trezor-crypto ECDH, adding Curve25519 support
8 years ago
Karel Bílek dfc543c955 Switching address types (#119)
8 years ago
Pavol Rusnak 7ddccdb7f4
Revert "simplify cryptoMessageVerify call"
8 years ago
Pavol Rusnak c0181b1aec
extract address related stuff into trezor-crypto
8 years ago
Pavol Rusnak e70900d49e
don't tie message verification with P2PKH addresses
8 years ago
Pavol Rusnak 3a42032c63
simplify cryptoMessageVerify call
8 years ago
Daira Hopwood 6bfe487f19
Update address prefixes for Zcash.
8 years ago
Daira Hopwood 69d99d202d
Add support for multi-byte address prefixes.
8 years ago
Jochen Hoenicke a0ade6343e Reworked rfc6979 signing. (#116)
8 years ago
Jochen Hoenicke d767e52055 Confirm to change U2F counter (#114)
8 years ago
bitcartel e0e190b3dc
Update coins.c for Zcash mainnet (#111)
8 years ago
Pavol Rusnak 8d7c1ec543 Merge pull request #110 from jhoenicke/master
8 years ago
Jochen Hoenicke 6d65551b82
More alignment fixes
8 years ago
Pavol Rusnak dec9484a17
update version
8 years ago
Pavol Rusnak d7c0fbc379
add const where possible (for message parsing)
8 years ago
Pavol Rusnak 0a55a9e415
update to nanopb 0.2.9.3
8 years ago
Pavol Rusnak fff16e813a
add link to protobuf definition in coins.c
8 years ago
Jochen Hoenicke bc55013942
Simplified one-byte encodings
8 years ago
Jochen Hoenicke 91dcead35e
Gas estimate screen, tweaked display of value
8 years ago
Jochen Hoenicke a37a2e3612
Confirm data, streamlining code
8 years ago
Jochen Hoenicke 05a73593f6
No special case encoding for '\x0', cleanups
8 years ago
Jochen Hoenicke 22d0e7a053 Incorporated changes for updated master
8 years ago
Pavol Rusnak efd443abe8 implement ethereum signing check
8 years ago
Pavol Rusnak 4e0a69b6ea refactor ethereum methods, show progress properly
8 years ago
Pavol Rusnak 1558d77ea0 split rlp_encode_length into rlp_encode_length and rlp_encode_list_length
8 years ago
Pavol Rusnak 3db323c599 fix printing of ethereum value and address
8 years ago
Pavol Rusnak 3d1ab24d92 simplify ethereum code, EthereumSignTx.data_length is the total length now
8 years ago
Pavol Rusnak 48008ddd8e implement layoutEthereumConfirmTx
8 years ago
Pavol Rusnak 7d9a56e678 fix curly braces in if statements
8 years ago
Nick Johnson 4a195ebd86 Don't include 0x in address display, so everything fits
8 years ago
Alex Beregszaszi 7432805b6a Fix special RLP case for length=1 firstbyte=0
8 years ago
Alex Beregszaszi 079d282541 Simplify send_request_chunk()
8 years ago
Alex Beregszaszi 78b1370de9 More input sanity checks in EthereumSignTx
8 years ago
Alex Beregszaszi a617200c9c Add confirmation dialog to EthereumSignTx
8 years ago
Alex Beregszaszi e0a1743003 Add sanity checks for data fields in EthereumSignTx
8 years ago
Alex Beregszaszi ab49a7cb45 Calculate data length based on the initial chunk and the supplied length
8 years ago
Alex Beregszaszi e0395b13eb Fix RLP length calculation
8 years ago
Alex Beregszaszi 2b6c991179 Split out send_signature and support short requests
8 years ago
Alex Beregszaszi 1d2f9b6ecd Initial signing implementation for Ethereum
8 years ago
Alex Beregszaszi a9449520b8 Ethereum signing skeleton
8 years ago
Alex Beregszaszi 9c7e41f15b Reorder fsm.c for logical grouping of signing methods
8 years ago
Nick Johnson a031b79e24 Add sha3.o to OBJS
8 years ago
Nick Johnson 352d296f77 Return the correct MessageType from EthereumGetAddress
8 years ago
Alex Beregszaszi 3c2d9111e2 Implement EthereumGetAddress
8 years ago
Alex Beregszaszi bf465357ee Include placeholder handlers for the Ethereum protocol
8 years ago