Commit Graph

763 Commits (0f2ec166090c20cf2ff63959706b6fe72aa40cfc)

Author SHA1 Message Date
Pavol Rusnak 747f2aa772
firmware: refactor expiry into tx_init
6 years ago
Pavol Rusnak a685462ee5
firmware: refactor last change in protect.c
6 years ago
Pavol Rusnak df0bad4f09
firmware: introduce protectAbortedByCancel
6 years ago
Pavol Rusnak 49d9fe4d13
firmware: rename decred_expiry to expiry
6 years ago
Tomas Susanka 4b7e4a9557 stellar: comment typo
6 years ago
Pavol Rusnak 64cfcf8053
vendor: update trezor-common; add version_group_id flag (for zcash overwintered tx)
6 years ago
Pavol Rusnak 613bde0aeb
crypto: cashaddr for verify message
6 years ago
Pavol Rusnak e2275a8b83
firmware: use new coin definitions from trezor-common
6 years ago
Pavol Rusnak 0ae5e91fcb
nem: check length in layoutNEMTransferPayload
6 years ago
Pavol Rusnak 1f470cf1f1
ethereum: use original ethereum message digest
6 years ago
Pavol Rusnak bccba48f41
protob: drop CoinType completely
6 years ago
Pavol Rusnak a83c64fbdb
protob: don't return coins in Features message
6 years ago
Pavol Rusnak ae82735b6b
protob: remove Stellar{SignMessage,MessageSignature,VerifyMessage}
6 years ago
Pavol Rusnak 59c8b66ba4
protob: update trezor-common
6 years ago
Pavol Rusnak 370c58929c
fsm: use passphrase protection instead of passphrase encryption
6 years ago
Pavol Rusnak 233f2f1cfd
fsm: don't show progress bar in GetAddress unless multisig is used
6 years ago
Pavol Rusnak 1bb068d18f
Revert "fsm: don't show progress bar in GetAddress"
6 years ago
Pavol Rusnak f302b04f31
fsm: don't show progress bar in GetAddress
6 years ago
Tomas Susanka b9db28beb2 stellar: typo in comment removed
6 years ago
Pavol Rusnak 29664c4218
firmware: refactor Stellar Sign Message
6 years ago
Jochen Hoenicke cb9eefdce6 Recovery: Don't ask for confirmation on dry run. (#347)
6 years ago
Saleem Rashid 21d147ac47 nem_mosaics: Add symlink to trezor-common
6 years ago
Saleem Rashid 7e407b467e Revert "nem: mosaics are generated from nem_mosaics.json in trezor-common"
6 years ago
Saleem Rashid 975c8c61ed Revert "firmware: reintroduce dep into Makefile"
6 years ago
Pavol Rusnak aa6405e23c
firmware: reintroduce dep into Makefile
6 years ago
Pavol Rusnak fb3e468ea2
fsm: split fsm_msg functions into various topic include files
6 years ago
Tomas Susanka c4beba839b nem: mosaics are generated from nem_mosaics.json in trezor-common
6 years ago
Peter van Mourik 78ece6631f Wanchain support (#313)
6 years ago
Pavol Rusnak a1cde6e0ce
vendor: update trezor-common (disable Lisk messages for now)
6 years ago
ZuluCrypto 8e8749dc68 Add support for Stellar
6 years ago
Pavol Rusnak 2c56c4de1b
firmware: use -Os except for crypto/nanopb parts
6 years ago
Pavol Rusnak 783f1c0323
storage: refactor default/minimum lock storage, change default values
7 years ago
mcudev e907cb87bc check_bootloader: depend on MEMORY_PROTECT
7 years ago
mcudev 56ff88a08f update bootloader padding/alignment and integrate build process for bootloader and firmware
7 years ago
Saleem Rashid 63a549aefb coin_info: Prepend space to coin_shortcut
7 years ago
Pavol Rusnak 27702ea26a
fix build after cashaddr merge
7 years ago
Jochen Hoenicke 059555039c
cashaddr: Don't show coin prefix on the display.
7 years ago
Jochen Hoenicke 1e91f92271
Increased address size to 130.
7 years ago
Jochen Hoenicke cb6022ce04
Added support for cashaddr.
7 years ago
Jochen Hoenicke e1ad1512d0 Avoid division by zero.
7 years ago
Jochen Hoenicke f216328987 Fix initialisation of word_pincode
7 years ago
Pavol Rusnak 9c9b4bf5cb
messages: code cleanup after emulator change
7 years ago
matejcik 8851863f81
emulator: open a second socket for debuglink, same as T2
7 years ago
Pavol Rusnak 5633207a43
bump bootloader version to 1.5.0, firmware version to 1.7.0
7 years ago
Tomas Susanka 7b1b9d3069 nem: IV is not copied
7 years ago
Pavol Rusnak 399706ae22
storage: implement unfinished_backup flag
7 years ago
Pavol Rusnak 27443a06c8
protob: add limit for DebugLinkDecision.input
7 years ago
Pavol Rusnak 3a908d7c7d
fsm: update storage after ApplyFlags
7 years ago
Roman Zeyde 159df8d24f
fsm: allow auto-lock delay configuration
7 years ago
Roman Zeyde 987b686f63
storage: allow auto-lock delay configuration
7 years ago
Saleem Rashid 8bdf338f32 coins-gen: Remove obsolete script
7 years ago
Saleem Rashid 95e5f15bde vendor: Update trezor-crypto
7 years ago
Saleem Rashid 0df9404054 signing: Check decred_script_version for txinput
7 years ago
Saleem Rashid f0875285b2 transaction: Fix Decred multisig
7 years ago
Saleem Rashid e7703a16fe crypto: Remove hardcoded instances of secp256k1
7 years ago
Saleem Rashid 77e76542bc signing: Compute tx_weight for Decred
7 years ago
Saleem Rashid d63e294c0b signing: Document Decred signing
7 years ago
Saleem Rashid 057ec1227d signing: Add Decred support
7 years ago
Saleem Rashid 3f51bc3628 signing: Use SignTx in signing_init
7 years ago
Saleem Rashid 9849321883 coins: Add Decred support
7 years ago
Saleem Rashid b3f1d79821 coin_info: Refactor coins-gen.py
7 years ago
Saleem Rashid 69356e5f56 messages_map: Fix Flake8 warnings
7 years ago
Saleem Rashid 88230e33c4 nem_mosaics: Fix Flake8 warnings
7 years ago
Saleem Rashid 7092951a40 Makefile: Add GENERATE_CODE function
7 years ago
Tomas Susanka 519c117e30 nem: SignTx instead of ConfirmOutput in mosaic creation
7 years ago
Jochen Hoenicke ed7a8bfa6c
Fixes for emulator
7 years ago
Jochen Hoenicke 25e824aaa3
Supervisor Calls
7 years ago
Jochen Hoenicke 068f013bc6 Force size fields in storage to be 32 bit
7 years ago
Jochen Hoenicke 0127c1a374 Add function storage_getPinWait
7 years ago
Jochen Hoenicke c09590b54d Cleaner flash handling using FLASH_PTR
7 years ago
Jochen Hoenicke 2587e49843 Disable fastflash.
7 years ago
Jochen Hoenicke 4ebbe8c274 Fix compilation problems
7 years ago
Jochen Hoenicke a7158f39a5 fix out-of-bounds read (for debug_link)
7 years ago
Jochen Hoenicke c4e1c5953e Fix shift overflow
7 years ago
Pavol Rusnak ceced152a8
docs: update changelogs
7 years ago
Pavol Rusnak 95dd254094
util: use shutdown from trezor-core instead of system_halt
7 years ago
Pavol Rusnak 9588e8f273
update bootloader to 1.4.0 via firmware, run unsigned firmware in unprivileged mode
7 years ago
Jochen Hoenicke d6f41dba9e
messages: fix size of msg_tiny and add static_assert
7 years ago
Pavol Rusnak 559a700fb0
fsm: add for button before Recovery device
7 years ago
Pavol Rusnak 5ae04c17c5
firmware: set version to 1.6.1
7 years ago
Pavol Rusnak b20336e82d
Revert WinUSB feature
7 years ago
Roman Zeyde e444dadbb2 storage: next firmware version would be 1.7.0
7 years ago
Pavol Rusnak 2a4a298d58
firmware: refactor fsm_getDerivedNode to include fingerprint
7 years ago
Jochen Hoenicke d5e49556c5 Indicate own dest address in send dialog
7 years ago
Pavol Rusnak e460c4fe17
session: rework get_state
7 years ago
Pavol Rusnak 7834eaba26
protect: passphrase is optional
7 years ago
Pavol Rusnak 7fa8ae136f
firmware: implement behaviour of state (still missing in PassphraseAck)
7 years ago
Pavol Rusnak d7de064bde
bump version to 1.7.0; update firmware changelog
7 years ago
Pavol Rusnak ab76828e16
update usb descriptors
7 years ago
Karel Bilek cb067bd14c
Switch from HID to WebUSB
7 years ago
Jochen Hoenicke c574c0a497
Updated confirmOutput dialog
7 years ago
Jochen Hoenicke 63c6f95400
Fit 21 characters per line
7 years ago
Jochen Hoenicke b9b36e0768
Remove duplicated code
7 years ago
Jochen Hoenicke 83a69a0334
Added fixed-width font and multi-font support
7 years ago
Pavol Rusnak fc7189f801
use Failure_PinMismatch where it makes sense (ChangePin, ResetDevice, RecoveryDevice)
7 years ago
Pavol Rusnak 909f158c84
vendor: update trezor-common
7 years ago
Saleem Rashid e019ab5557 fsm: Abort layoutAddress on Initialize or Cancel
7 years ago
Jochen Hoenicke 1bc1bb1e77 Less paranoid change outputs.
7 years ago
Saleem Rashid e3a0b6e7b4 setup: Switch to unprivileged execution
7 years ago
Saleem Rashid 1f8f08d48a setup: Enable MPU
7 years ago
Wampum 2391beb6f4 expand description of multisig label (#294)
7 years ago
Pavol Rusnak bd660655ee
introduce and use memzero instead of explicit_bzero
7 years ago
Pavol Rusnak 4a2d68acb9
use explicit_bzero where possible; update trezor-crypto
7 years ago
Pavol Rusnak cd763b979b
layout: fix last commit
7 years ago
Pavol Rusnak f70772fb58
rework ConfirmOutput layout (fixes #289)
7 years ago
Pavol Rusnak c4e3596803
update trezor-crypto, adapt firmware to to changes
7 years ago
Pavol Rusnak 7e382fb790
update to python3
7 years ago
Pavol Rusnak 94fcc8c9a4
add bip84 (native segwit)
7 years ago
Saleem Rashid 6a2b92c49e storage: Fix for Clang
7 years ago
Saleem Rashid 58d2079b56 transaction: Fix uninitialized read in compile_output
7 years ago
Saleem Rashid fd57b89902 Makefile: Use $PYTHON
7 years ago
Saleem Rashid bab8db9191 vendor: Update Nanopb to 0.3.9
7 years ago
Saleem Rashid 045ef22d98 storage: Do not use Nanopb
7 years ago
Saleem Rashid b92a0d24b0 fsm: Include file and line in fsm_sendFailure for DEBUG_LINK
7 years ago
Saleem Rashid ba5b44d0c5 emulator: Initial commit
7 years ago
Saleem Rashid 36eac04e61 protob: Increase Features.coins max_count
7 years ago
Pavol Rusnak 9732825e24
move ethereum_tokens-gen.py to trezor-common
7 years ago
Saleem Rashid 83a34ff925
util: Add MIN and MAX macros
7 years ago
Saleem Rashid 9401d2805a protob: Increase NEM payload max_size
7 years ago
Saleem Rashid f17a0a85e0 fsm: Add NEMDecryptMessage
7 years ago
Jochen Hoenicke 810443f197 Fix NULL pointer access
7 years ago
Jochen Hoenicke ded41c484c storage: Padding to multiple of 4 bytes
7 years ago
Saleem Rashid cfc5fda603 storage: Compact old_storage_size logic
7 years ago
Saleem Rashid a304b76d34 storage: Clean up old_storage_size
7 years ago
Jochen Hoenicke 5812f9865d
Fix size of version 9 storage
7 years ago
Pavol Rusnak 2c63d51580
u2f: avoid using hdnode_private_ckd_cached in order not to constantly invalidate cache
7 years ago
Pavol Rusnak 106642bd44
fix last commit
7 years ago
Jochen Hoenicke 73edc7cb74 Added U2F root key to storage.
7 years ago
Jochen Hoenicke 88563ebaa5 Fix compile problem, fix clearing single byte
7 years ago
Pavol Rusnak f22c849767 storage: rework storage_commit into storage_update
7 years ago
Pavol Rusnak 70843c9059 storage: introduce storageRam and storageRom
7 years ago
Pavol Rusnak 57bbcc754a storage: make storage accessible only via functions
7 years ago
Pavol Rusnak 41901a8056 firmware: rework protectChangePin
7 years ago
Pavol Rusnak 36f3b7fe09 firmware: mark usb buffer variables confidential
7 years ago
Pavol Rusnak 14d15dab99
fsm: refactor path checking code into path_mismatch function
7 years ago
Saleem Rashid 7cd9945905 fsm: Use coin->curve_name
7 years ago
Saleem Rashid 6e25e0b363 coins: Use curve_info instead of HasherType
7 years ago
Saleem Rashid 268e7de109 Update trezor-crypto
7 years ago
Saleem Rashid dc781725c6 hasher: Move to trezor-crypto
7 years ago
Saleem Rashid 0e60ba54b7 crypto: Use Hasher for message signing
7 years ago
Saleem Rashid a1e911aa4c transaction: Do not hardcode HASHER_SHA2
7 years ago
Saleem Rashid 54b0869535 signing: Use Hasher instead of SHA256_CTX
7 years ago
Saleem Rashid dd7b21a6ca hasher: Initial commit
7 years ago
Pavol Rusnak bc7c66aa76
add Features.model field (set to "1")
7 years ago
Pavol Rusnak f44635a9ca
vendor: update trezor-common
7 years ago
Tomas Susanka a82bbbb30d layout: encode -> encrypt typo
7 years ago
Tomas Susanka cfe8a98c68 signing segwit change output typo
7 years ago
Pavol Rusnak 723cf295a7
device label -> device name
7 years ago
Pavol Rusnak 4770df8912
update version to 1.6.0
7 years ago
Pavol Rusnak 3386b16a1c
GetAddress: detect mismatched coin and path, show warning
7 years ago