Commit Graph

643 Commits (cb9eefdce64d8298a6d0f3db31f1001fced523a5)

Author SHA1 Message Date
Jochen Hoenicke b5fa8a266a New CoinInfo separated from protobuf structures
7 years ago
Pavol Rusnak 18d8cb3c56
add project website (trezor.io) to license header
7 years ago
Jochen Hoenicke a24e8a0484 Remove magic constants
7 years ago
Jochen Hoenicke 4805f27e8c Fix checking change address
7 years ago
Jochen Hoenicke 5e98b0ffd6 Added U2F entry for Bitfinex (#237)
7 years ago
Pavol Rusnak fa02dec704
layout2: use macro for layoutSwipe
7 years ago
Saleem Rashid eebd53fd09 layout2: Disable oledSwipeLeft with DEBUG_LINK (#239)
7 years ago
Saleem Rashid d006ef6bf7 Makefile.include: Generate dependency files before build (#225)
7 years ago
Pavol Rusnak 5831e53854
layout2: refactor and fix layoutCosiCommitSign
7 years ago
Pavol Rusnak ca30449d07
build: add rebuild dep
7 years ago
Pavol Rusnak b56da1e4b4
layout: show path for CoSi commit/sign if following SLIP-0018
7 years ago
Saleem Rashid 296c120528 nem_mosaics: Refactor and use Python 2
7 years ago
Saleem Rashid 128742d113 nem2: Update copyright header for consistency
7 years ago
Saleem Rashid c87c16adc9 firmware: Generate nem_mosaics.[ch] at build time
7 years ago
Saleem Rashid a90acf8b62 nem_mosaics: Remove generated files
7 years ago
Saleem Rashid 12c541f872 nem2: Handle Importance Transfer transactions
7 years ago
Pavol Rusnak 83db3c098f
fsm: implement CoSi messages
7 years ago
Saleem Rashid 5b0c0b1bfd nem_mosaics: Add PacNEM
7 years ago
Saleem Rashid d0e89db9fa nem_mosaics: Add Breeze Token
7 years ago
Saleem Rashid 1d83eee3b3 nem2: Canonicalize mosaics in transfer transactions
7 years ago
Saleem Rashid 1f20625bbc nem2: Refactor for new bn_format
7 years ago
Saleem Rashid 2aeeb3f978 nem2: Handle Aggregate Modification transactions
7 years ago
Saleem Rashid a10e131ecd nem2: Handle Mosaic Supply Change transactions
7 years ago
Saleem Rashid 327736ca96 nem_mosaics: Whitelist networks
7 years ago
Saleem Rashid 17e33d5517 nem2: Handle Mosaic Definition Creation transactions
7 years ago
Saleem Rashid b0394622a3 nem2: Warn on unknown mosaics
7 years ago
Saleem Rashid 3a303087ae nem_mosaics: Add DIM TOKEN
7 years ago
Saleem Rashid 9f41ee39ba nem_mosaics: Add DIMCOIN
7 years ago
Saleem Rashid 8dbd6182fb nem_mosaics: Initial commit
7 years ago
Saleem Rashid 4a55dd89e6 nem2: Handle Provision Namespace transactions
7 years ago
Saleem Rashid b559e5fb6d fsm: Add NEM_CHECK_PARAM macros
7 years ago
Saleem Rashid 563723a55f nem2: Handle multisig transactions
7 years ago
Saleem Rashid 19033a459d fsm: Add NEMSignTx
7 years ago
Saleem Rashid 3057f78837 fsm: Add NEMGetAddress
7 years ago
Saleem Rashid c331d7e8f0 vendor: Update trezor-crypto
7 years ago
Saleem Rashid da1262cf4a vendor: Update trezor-common
7 years ago
Jason Zavaglia 8983a346d9 Have coins.h and coins.c generated at build time (#220)
7 years ago
Pavol Rusnak 4b8ac90d10
travis: fix build for old protobuf
7 years ago
Pavol Rusnak 8a6dd3c764
build: use python2 for messages_map.py
7 years ago
Pavol Rusnak 53f5d5c147
u2f: add gandi to known apps
7 years ago
Pavol Rusnak 1072369bc4
firmware: need extra cast for nanopb call in message.c
7 years ago
Pavol Rusnak 1f1c3bf35f
firmware/protob: remove generated stuff
7 years ago
Jason Zavaglia 5cc299facd Generate the protobuf files at build time (#219)
7 years ago
Pavol Rusnak 30367bfad1
reset: refactor code into layoutResetWord
7 years ago
Pavol Rusnak ef89fc4e89
ethereum: refactor hash_rlp_number
7 years ago
Jochen Hoenicke 5f9cd15b02 Support multi-byte chain-id. (#212)
7 years ago
Pavol Rusnak 07f6e495b7
fsm: fix race condition in GetAddress
7 years ago
Pavol Rusnak e4cc08775f
vendor: update trezor-common, enable Bitcoin segwit manually
7 years ago
Pavol Rusnak 3e9ebe6c10
changelog: add 1.5.2
7 years ago
Jochen Hoenicke 98e617d874
startup: use custom reset_handler
7 years ago
Pavol Rusnak a01ba51a2a
storage: copy only required bytes from old storage, bump storage version
7 years ago
Saleem Rashid 9c25e03d98 vendor: Update trezor-crypto
7 years ago
Saleem Rashid c121627a06 Travis CI: Test matrix of DEBUG_LINK and FASTFLASH
7 years ago
Saleem Rashid fa7e32fadf protob: Fix Features.coins max_count for DEBUG_LINK=1
7 years ago
Saleem Rashid 7e56a62e8b coins: Add _Static_assert for Features.coins max_count
7 years ago
Pavol Rusnak e69ef2e75a
coins: include testnet coins just in debug builds
7 years ago
Pavol Rusnak dd9f7cd926
fix typos in changelog
7 years ago
Pavol Rusnak 1d6329b1bf
changelog: make last release mandatory
7 years ago
Pavol Rusnak f0d2e7a371
storage: bump version
7 years ago
Pavol Rusnak ace1d84265
recovery: don't reset storage on typos during dry-run recovery
7 years ago
Pavol Rusnak a9a414df08
fix typo
7 years ago
Pavol Rusnak c2c3debd01
changelog: fix typos
7 years ago
Pavol Rusnak b1838d6867
ethereum: add more tokens
7 years ago
Jochen Hoenicke 33ed08ec32 Fix check for max try and add another check before
7 years ago
Pavol Rusnak 4ee52ab95f
changelog: add more entries
7 years ago
Pavol Rusnak 45ca9bd583
protect: change wording
7 years ago
Pavol Rusnak 82a06ce342
firmware: mark more strings with gettext
7 years ago
Pavol Rusnak c778d7b9c3
storage: wipe storage after 15 wrong pins
7 years ago
Pavol Rusnak fa2f5fb33f
update coins
7 years ago
Jochen Hoenicke 3440ead4c9
Fix multisig for BCC
7 years ago
Jochen Hoenicke 5f6948e66b
Remove progress update
7 years ago
Jochen Hoenicke 3c75d28c78 Check input bip32 path again on second pass.
7 years ago
Jochen Hoenicke 6b615ce405 No quadratic hashing for hardfork
7 years ago
Saleem Rashid 979a6ef266 signing: Skip TX_META with SIGHASH_FORKID
7 years ago
Saleem Rashid a34554b091 signing: Add SIGHASH_FORKID support
7 years ago
Saleem Rashid 841af54061 vendor: Update trezor-common
7 years ago
Pavol Rusnak 91c4cbdbd0
setup: move stack protector variable to setup.h
7 years ago
Pavol Rusnak 0760ff0468
setup: move stack smashing protection code to setup.c
7 years ago
Saleem Rashid e33e1ec0b1 fsm: Do not wipe msg_resp in DebugLinkGetState
7 years ago
Saleem Rashid 11d424cdef vendor: Update trezor-crypto
7 years ago
Saleem Rashid 38b6332db5 layout2: Extract BITCOIN_DIVISIBILITY constant
7 years ago
Pavol Rusnak c3bf0e4086
enable segwit for bitcoin \o/
7 years ago
Pavol Rusnak b5f9a5738f
segwit support for SignMessage, VerifyMessage
7 years ago
Pavol Rusnak d8ad44f60a
protob: add SignMessage.script_type
7 years ago
Pavol Rusnak 3d7d0f0734
use C99 for loop where possible
7 years ago
mruddy 1c55ec0fb3 fix hangs due to stale rng status (#195)
7 years ago
Jochen Hoenicke 9efc5bc93c Fixed array sizes again. (#194)
7 years ago
Pavol Rusnak cf04279774
implement Storage.flags and related stuff
7 years ago
Pavol Rusnak 1a72a49ee5
ethereum: update tokens
7 years ago
Pavol Rusnak 0781421762
ethereum: more tokens, use better wording for unknown token value
7 years ago
Pavol Rusnak da71f7c45d
fix layoutVerifyAddress behaviour for long addresses
7 years ago
Pavol Rusnak b0ac3a2af1
add EthereumSignMessage/EthereumVerifyMessage
7 years ago
Jochen Hoenicke c5e927fac2 Ethereum Sign/Verify Message
7 years ago
Pavol Rusnak ccb0cd82b6
firmware: add changelog, bump version to 1.5.1
7 years ago
Pavol Rusnak 5b66c0b956
refactor Address dialog (QR code on left button click), use checksum for Ethereum addresses
7 years ago
Pavol Rusnak f826b1fa46
ethereum: add new tokens
7 years ago
Pavol Rusnak 2ecc36cd89
ethereum: don't show unrecognized ERC-20 tokens as sending message
7 years ago
Pavol Rusnak ba2b2f24da
firmware: mark backup as done before giving away the mnemonic, not after
7 years ago
Saleem Rashid f23489050a util: Add load_vector_table
7 years ago
Pavol Rusnak 498d689f98
fix small issue with GetAddress for non-segwit coins
7 years ago
Pavol Rusnak 95db902d28
ethereum: update token list
7 years ago
Pavol Rusnak 4603b0c800
bootloader: subtle changes in bootloader.c and fastflash.c to make them more similar
7 years ago
Roman Zeyde d15dd7c944 recovery: zero new_mnemonic memory before returning to the user
7 years ago
Pavol Rusnak 2bf807878d
bootloader: add SelfTest
7 years ago
Pavol Rusnak 8fa3ce7e14
reset: distinguish between separated call and joined call, mark backup as done only when performed completely
7 years ago
Pavol Rusnak b65068c159
reset: add Features.needs_backup
7 years ago
Pavol Rusnak 97fa33de46
reset: show needs backup signed when storage is not backed up
7 years ago
Pavol Rusnak 9298e4d9e3
reset: make backup workflow independent of initialization
7 years ago
Pavol Rusnak 91a1b6c4bc
drop EstimateTxSize (and TxSize)
7 years ago
Pavol Rusnak 01b4825d53
ethereum: add new tokens
7 years ago
Pavol Rusnak 73708aa47e
refactor recovery.is_same_mnemonic function to storage_containsMnemonic
7 years ago
Saleem Rashid ed5e9c9347 firmware: Define FASTFLASH in all cases
7 years ago
Saleem Rashid 21eb49faff firmware: Start fastflash when left button held
7 years ago
Saleem Rashid 65bb167db6 firmware: Create ELF from fastflash/bootloader.bin
7 years ago
Saleem Rashid 1214a3f69b vendor: Update trezor-crypto
7 years ago
Pavol Rusnak 8253425293
recovery: change wording
7 years ago
Roman Zeyde db7915e946
Allow testing recovery with an initialized device
7 years ago
Pavol Rusnak 247cbd2ff1
regenerate protobuf, disable unused messages
7 years ago
Pavol Rusnak c6fd70b471
gettext: mark localizable strings as proof-of-concept
7 years ago
Pavol Rusnak 00f6312a81
rename failures, unify strings where possible
7 years ago
Saleem Rashid 77c4e7b167 vendor: Update trezor-crypto for GCC 7.1.1
7 years ago
Saleem Rashid 09917920ba transaction: Fix buffer overflow
7 years ago
Pavol Rusnak da17f2472b
ethereum: add more tokens from MEW
7 years ago
Pavol Rusnak 34c0b93d54
protob: update messages_map.py script
7 years ago
Saleem Rashid 8fa71c0837 protob: Add messages_map.py (#167)
7 years ago
Pavol Rusnak 6b74139b45
add 1.5.0 to changelog
7 years ago
Pavol Rusnak 317363f84c
enable mixing of segwit and non-segwit inputs
7 years ago
Pavol Rusnak 57a91c7160
update litecoin maxfee/kb
7 years ago
Pavol Rusnak d424829333
add chain_id to erc20 tokens
7 years ago
Pavol Rusnak 766a6c1189
add space before coin shortcut because of how new formatter works
7 years ago
Pavol Rusnak 652a40c3e6
use bn_format from trezor-crypto where possible
7 years ago
Pavol Rusnak ba9aae143e
ethereum: support for ERC-20 tokens
7 years ago
Pavol Rusnak 391e3940e5
refactor fee computation, but keep ceil logic
7 years ago
Pavol Rusnak c8dc17341c
bump bitcoin maxfee
7 years ago
Pavol Rusnak 24ac52079f
disable native segwit for now
7 years ago
Pavol Rusnak 49f44d296c
refactor signing_check_output
7 years ago
Pavol Rusnak 06304c2378
update coins
7 years ago
Pavol Rusnak f4e3d7ae1e
bump version to 1.5.0
7 years ago
Pavol Rusnak 6d0d2348cf
usb: whitespace cleanup
7 years ago
Pavol Rusnak f1db85948e
Merge branch 'segwit'
7 years ago
Pavol Rusnak 1ecbca8338
signing: add option to enable/disable mixing of segwit/non-segwit inputs
7 years ago
Pavol Rusnak 5faee8149f
update trezor-crypto
7 years ago
Pavol Rusnak 261b8d5e41
multisig: allow mismatched change addresses, show them as non-change
7 years ago
Pavol Rusnak 4343d0eaeb
show progressbar layout in GetAddress
7 years ago
Pavol Rusnak e31e55e505
simplify bip32 change logic
7 years ago
Pavol Rusnak b1995bb8d1
remove segwit warning, don't enable segwit on coins that don't have segwit=true in definition
7 years ago
Pavol Rusnak 4183b6cbbc
update logic for change addresses (address_n length 1 is allowed now)
7 years ago
Pavol Rusnak cb14b98213
ethereum: add new chain_ids
7 years ago
Pavol Rusnak 38970cbd68
transaction: fix compile_output for OP_RETURN
7 years ago
Pavol Rusnak 8e017526ab
Merge branch 'master' into segwit
7 years ago
Pavol Rusnak 13f03d3880
Revert "ethereum: add EthereumSignTx.prefix"
7 years ago
Pavol Rusnak aafd61ec8b
update trezor-common, add cointype.segwit bool
7 years ago
Pavol Rusnak 2866e6fe88
ethereum: add EthereumSignTx.prefix
7 years ago
Pavol Rusnak 258d3eaddd
GetPublicKey: use Bitcoin as default coin if not provided
7 years ago
Peter Banik d4cc4a48b8 Added altcoin support to GetPublicKey (#161)
7 years ago
Pavol Rusnak 300b09badc
Merge branch 'master' into segwit
7 years ago
Pavol Rusnak dcceec806d
fix call to protectButton while showing segwit warning
7 years ago
Jochen Hoenicke d70ac623a4 Small bugfixes in signing
7 years ago
Jochen Hoenicke 420471889d Refactored signing method.
7 years ago
Jochen Hoenicke 9d9377438c Fix missing returns after signing_abort
7 years ago
Jochen Hoenicke e5c9b361d3 Better error message for segwit without amount
7 years ago
Jochen Hoenicke 99fc6d31d1
[refactor] Use compute_address in msgGetAddress.
7 years ago
Jochen Hoenicke 7b1381766f
Change address support for segwit.
7 years ago
Pavol Rusnak d7d3d0490e
update trezor-crypto
7 years ago
Pavol Rusnak d03356fab1
raising the maxfee
7 years ago
mruddy c8c85424b6
fix usage of RNG before setup (#150/#151)
7 years ago
Pavol Rusnak 97a061244e
Merge branch 'master' into segwit
8 years ago
Pavol Rusnak 1943d840e3
add ChangeLog for bootloader, move firmware ChangeLog
8 years ago
Saleem Rashid bd167dcdf2 USB: Annotate USB interfaces with iInterface
8 years ago
Saleem Rashid 0c039b3e14 USB: Compile-time USB string checking
8 years ago
Pavol Rusnak 14399f100e
bump version
8 years ago
Pavol Rusnak 5c54edf54e
differentiate between ETH and ETC using chain_id
8 years ago
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