Commit Graph

453 Commits (andrewkozlik/storage-init-refactor)

Author SHA1 Message Date
matejcik 59f43514be python: convert chunks to bytes when reading from hid
4 years ago
matejcik 7ebbccdbba python/debuglink: support conditional expected_responses
4 years ago
matejcik 5885978c83 Merge branch 'release/2020-04'
4 years ago
Dusan Klinec 25b6e9058f xmr: proto - add fields for protocol optimization
4 years ago
matejcik c65b14cb2f python: add information about incompatible changes to CHANGELOG
4 years ago
Jonathan Cross f756bec0fe Adding @jonathancross to AUTHORS
4 years ago
matejcik f48cb4eff4 python: update changelog, release 0.12.0
4 years ago
matejcik e2199f6099 python: update changelog, regenerate OPTIONS.rst
4 years ago
matejcik 1b50877545 tests: streamline TrezorFailure exception usage
4 years ago
matejcik a40f1e00ed python: add period at end of sentence
4 years ago
matejcik 2402853b9c python: simplify outdated firmware warning (full message is still used in the exception)
4 years ago
matejcik f52c087cb6 python/trezorctl: implement common client and exception handling (fixes #226)
4 years ago
matejcik b440ca1ec5 python: drop deprecated name CallException
4 years ago
matejcik 7a85d93d94 python/debuglink: properly use session_counter for debuglink transport
4 years ago
matejcik af05e0927f python/trezorctl: nicer output for list-devices
4 years ago
matejcik b801f1a9cf python/trezorctl: help user find the right firmware version (fixes #823)
4 years ago
matejcik 2112da7ab5 python/trezorctl: send raw bytes to device (fixes #116)
4 years ago
matejcik 9a330f3475 python: unify protobuf-encoding code paths
4 years ago
matejcik 22b167a961 python: update tools/build_tx.py
4 years ago
matejcik 9d29952a15 python: move out deprecated ckd_public
4 years ago
matejcik 5dfb01c25d python: drop old Electrum compatibility code
4 years ago
matejcik 687c32e267 python: regenerate OPTIONS.rst
4 years ago
matejcik fabd504b77 python: drop unnecessary parts of setup.py
4 years ago
matejcik 6ccf22225c python: drop coins.json (fixes #752)
4 years ago
matejcik 325dae890e python: completely drop trezorlib.coins and trezorlib.tx_api
4 years ago
matejcik 5a526888cf python: move json_to_tx to btc.from_json, add test cases
4 years ago
matejcik d2dd78f979 python: drop TxApi and coin specializations in json_to_tx
4 years ago
matejcik 208bac8653 common: drop capricoin blockbook servers
4 years ago
matejcik ffdb299c61 all: drop Capricoin support [NO BACKPORT]
4 years ago
matejcik e2035b4972 all: drop Horizen and BIP-115 support [NO BACKPORT]
4 years ago
matejcik 27803ee8c1 all: drop overwintered field from transaction
4 years ago
Pavol Rusnak 817b922850 all: add extra_data and timestamp fields to coin specification
4 years ago
Andrew Kozlik e51ed5bf05 trezorlib: Regenerate coins.json.
4 years ago
Andrew Kozlik ac78d1e2f3 trezorctl: Validate PIN digits and length.
4 years ago
Andrew Kozlik 2f905a1157 core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
4 years ago
Michail Brynard c2635a4773 python: fix encoding errors in Stellar
4 years ago
matejcik b916072389 common: restore PassphraseAck.state
4 years ago
matejcik 5523c7bbef tests: add SD card format feature tests
4 years ago
matejcik ddee77ecb6 core: add SD clearing via debuglink
4 years ago
Tomas Susanka ff1bb67abc common: return the PasshraseType button request
4 years ago
matejcik e61b7d28e9 all: do not send state in PassphraseAck (not needed for compatibility)
4 years ago
matejcik 3959600760 python/protobuf: do not warn for unknown enum values (fixes #832)
4 years ago
matejcik cdb7a7eb68
Merge pull request #840 from trezor/matejcik/sys-exit
4 years ago
matejcik 0ec628ccd4 legacy: fix CALLBACK checker
4 years ago
matejcik 1cc1382153 python/trezorctl: improve get-session
4 years ago
matejcik 81a03edf61 python/debuglink: add docstrings, rename functions for clearer usage
4 years ago
matejcik 271da3fa39 python: add detailed logging to emulator runner
4 years ago
matejcik 7a253a6c0b python/debuglink: properly clean up at end of "with client"
4 years ago
matejcik 94b85efba1 python/debuglink: make pin sequences configurable
4 years ago
Tomas Susanka 2c0504ad1c
Merge pull request #803 from trezor/passphrase
4 years ago
matejcik 1ebaaa7e77 python/emulator: increase tolerances
4 years ago
matejcik a375460afc python/emulator: fix timeout parameter in emulator.wait()
4 years ago
matejcik 05a1d6f771 core/debug: add "show arbitrary screen" capability, for easier prototyping
4 years ago
matejcik c01d04f26e common/protob: drop a default field declaration
4 years ago
matejcik 4b0d8d5f6d python/trezorctl: tweak error message in get-session
4 years ago
matejcik 7f63cf28b0 python: only set session_id from Features on firmwares that send it
4 years ago
matejcik 6dace16033 python: update changelog
4 years ago
matejcik d4343ad8b7 python/trezorctl: add get-session
4 years ago
matejcik 8d93503c9c python: do not send deprecated state in PassphraseAck on T1
4 years ago
matejcik f7608f55ff python: implement backwards compatibility for pre-2.3.0 firmwares
4 years ago
matejcik 4c9689d7a7 common: return deprecated fields to protobuf, to allow cross-version compatible code
4 years ago
Tomas Susanka 56dc952495 common: fix PassphraseAck.on_device id
4 years ago
Pavol Rusnak 73ed2f3450
legacy: small nitpicks related to the new passphrase handling
4 years ago
matejcik ee07b32f52
python: fix debuglink usage of get_passphrase
4 years ago
matejcik 7513a65f9a
python: move passphrase-on-host logic to UI class
4 years ago
matejcik 23ad62e719
python: bump versions
4 years ago
Tomas Susanka dc53df772f
python: passphrase on host is the default for T1
4 years ago
Tomas Susanka d5763d9cab
all: implement code review comments
4 years ago
Tomas Susanka f3553f63f1
common: remove PassphraseRequest.on_device completely
4 years ago
Tomas Susanka c65b57affb
core, legacy: remove passphrase_cached
4 years ago
Tomas Susanka 1ae5813cab
legacy: bump version to 1.9.0
4 years ago
Tomas Susanka a3f3d4fcdb
remove ping.passphrase/pin
4 years ago
Tomas Susanka 466dc4732d
core/passphrase: add button requests
4 years ago
Tomas Susanka cd09f9ce94
all: modify passphrase source to always on device
4 years ago
Tomas Susanka eafd57c301
common, core: add passphrase entry capability
4 years ago
Tomas Susanka 90d5cdfd5b
all: rework passphrase
4 years ago
matejcik d28e33ef02 core/headertool: support generating vendor headers with explicit size
4 years ago
matejcik 0a052806c7 python: kill emulator if it doesn't become ready in time
4 years ago
matejcik 72537e3c3a python: exclude broken version of construct to fix CI build
4 years ago
Tomas Susanka d2f8a83057 docs: fix title and trezorlib readme link
4 years ago
matejcik f506bd4447 python: update README (fixes #788)
4 years ago
matejcik 37ea0773ea python: do not preload prev_txes, drop dependency on coins.json
4 years ago
matejcik 8dce2cf98c core: introduce emulator runner (fixes #466)
4 years ago
matejcik 05131c328d python: trezorctl should not print empty line if result is None
4 years ago
matejcik c151fdeefd python: add wait-for-emulator command
4 years ago
Pavol Rusnak a95405b693
python: don't use py3.6+ format strings yet
4 years ago
matejcik 4d7e3c8a23
python: use TREZOR_PATH in get_default_client
4 years ago
matejcik 1b04d1caa7
core/tools: drop tools obsoleted by headertool
4 years ago
matejcik 9341f0d584
core: improve building of vendor headers
4 years ago
matejcik cc29b22f91
core/tools: introduce headertool
4 years ago
matejcik b26a430b85
python/firmware: shorten names for vendor header fields
4 years ago
matejcik 3fc3231254
python/firmware: simplify calculate_code_hashes
4 years ago
matejcik 40477b836e
python/firmware: make header_digest function more intelligent
4 years ago
matejcik 18d4bd30a3
python/firmware: add production and development boardloader keys
4 years ago
matejcik 15bd35824b
python/cosi: improve API
4 years ago
matejcik 941087179f
python/firmware: clarify firmware image types
4 years ago
matejcik ab82382b1e
python/firmware: make header digest function public
4 years ago
matejcik 6cd976fdee
python/firmware: support bootloader headers
4 years ago
matejcik 7e6b39cd8e
python/firmware: mark reserved fields as private
4 years ago
matejcik fb2c57d3c9
python/firmware: improve handling of bootloader keys
4 years ago
Dušan Klinec af6a607b39 common/xmr: message changes optimizing runtime and memory (#786)
4 years ago
Tomas Susanka 51ef963738 tests: introduce UI tests for core
4 years ago
Jan Hrnko 95f8b68677 Drop pyargs
4 years ago
1000101 2e8df889dc python: allow nix build from directory (#781)
4 years ago
matejcik b7c0a93d18 python: bump version in setup.py
4 years ago
matejcik 0203ac206d python: mark for release v0.11.6
4 years ago
robert afc897d693 trezorctl: add u2f-counter to recover
4 years ago
matejcik cf80f9cc43 python: update changelog
4 years ago
matejcik 700c5e4f32 python: fix expand-words functionality in recovery (fixes #778)
4 years ago
Pavol Rusnak d6a3725955
common: remove coins with no trezor compatible wallets
5 years ago
Pavol Rusnak e5bdf0d51b
Merge pull request #742 from trezor/language
5 years ago
Szymon Lesisz 21b6ab3e98 common: update zcash consensus branch_id (Blossom fork) (#745)
5 years ago
Pavol Rusnak 7646b97dca
common: divisibility -> decimals
5 years ago
matejcik a46fd6f508 core: auto-generate FIDO icons
5 years ago
Pavol Rusnak bb8d809a6d
common: change language field to IETF BCP 47 language tag
5 years ago
Pavol Rusnak 3d50bb5ed8
common: add Peercoin, regenerate coins
5 years ago
Andrew Kozlik 1bc8226a50 common, core: Add wipe_code_protection to the Features message.
5 years ago
Andrew Kozlik 83fab3c220 trezorctl: Add set wipe-code command.
5 years ago
Andrew Kozlik 4381511930 common: Add ChangeWipeCode message.
5 years ago
matejcik 34913a328a all: disallow most RecoveryDevice fields in dry-run (fixes #666)
5 years ago
matejcik b6d46e93e1 python: auto-generate OPTIONS.rst
5 years ago
matejcik 65bb8cdf4e python/trezorctl: only accept json for sign-tx, document the format
5 years ago
matejcik 8f2b22a8f5 python: add more protobuf tests
5 years ago
matejcik bd9bf4e2bc python: rename webauthn and u2f to fido
5 years ago
matejcik 8e4de5e929 python/trezorctl: split trezorctl into separate modules
5 years ago
matejcik 862e582ec1 tests: make {needs,no}_backup flags available in test suite
5 years ago
matejcik d9c581b95b python: run flake8 as part of make style
5 years ago
matejcik fd8aed6105 all: drop XPRV feature of LoadDevice
5 years ago
Pavol Rusnak 16af7f1353 common: add {needs,no}_backup flags to LoadDevice, make it debug only
5 years ago
Tomas Susanka 90edad55fc python and tests: typos
5 years ago
Tomas Susanka ef9900ee52 python: get u2f counter
5 years ago
Tomas Susanka 2a20287882 common/protobuf: add message for retrieving an increased u2f counter
5 years ago
matejcik fc7b76c9e7 move changelog entry from core to python
5 years ago
EDmitry e286bd46f9 Field "sender" is renamed to "from" in eosio ABI for un/delegatebw
5 years ago
matejcik 3349f737df python/debuglink: prevent race with recovery homescreen eating debuglink decisions
5 years ago
Pavol Rusnak 0040b916d2
common/defs: remove inactive coins
5 years ago
Andrew Kozlik 6cc44b133c tests/webauthn: Account for the increased limit on the number of resident credentials.
5 years ago
apollo 18c926a34b common/defs: fix zcore signing (#669)
5 years ago
Pavol Rusnak 5fe2f7e59c common/protob: remove ButtonRequest.data field
5 years ago
Adrian Nagy 384275ac73
core/tezos: support the new protocol update (005-BABYLON)
5 years ago
matejcik 32074c7bff python/udp: make socket timeout configurable
5 years ago
matejcik c970ad437d tests: improve layout_lines API
5 years ago
matejcik 598e828844 python: ensure client session counter is never negative
5 years ago
matejcik a8fc569016 debug: add support for general layout waiting
5 years ago
matejcik 370b2c4c49 tests: add click-based recovery test
5 years ago
matejcik 06e10f948d protobuf: send x/y coordinates, allow waiting for layout change
5 years ago
Tomas Susanka 0511cc8b8c core: add final mypy fixes!
5 years ago
Tomas Susanka 8f34b4c5de
Merge pull request #628 from trezor/tsusanka/sdprotect-fix
5 years ago
Pavol Rusnak ddd9bee059
common/defs: regenerate coins
5 years ago
matejcik ccd1940ea8 tests: more assertions on sd_protect
5 years ago
Pavol Rusnak 178d58c763
common/defs: remove BTDX as it has no Trezor compatible wallet
5 years ago
Pavol Rusnak 4e5b60ec2b
common/defs: remove BITC per maintainer request
5 years ago
Pavol Rusnak 3ebc79f9b2
common/defs: remove MEC per maintainer request
5 years ago
Pavol Rusnak 9b7a2095b3
common/defs: update coins info
5 years ago
Pavol Rusnak 89794b89ae
python: regenerate coins.json
5 years ago
Tomas Susanka f0cd99c545 common/protob: add sd card/protection to Features
5 years ago
sidhujag de4c7bb855
common/defs: add SYS
5 years ago
Pavol Rusnak d17ced9305
common/defs: remove ZCL as per maintainer request
5 years ago
Pavol Rusnak d28bc3c3a6
common/defs: remove BSD - website does not exist, maintainer not reachable
5 years ago
Pavol Rusnak 3e20c51dbf
common/defs: remove MTNS - maintainer not reachable
5 years ago
apollo 74bcc05e2e common/defs: add ZCR (#611)
5 years ago
Andrew Kozlik 564b24191e debug: Add left and right swipe direction to DebugLinkDecision message and unify terminology around swipe direction.
5 years ago
Sirak Ghazaryan 8317774e06 common/defs: enable CRW (#600)
5 years ago
Tomas Susanka 1c676d7394 build: make gen
5 years ago
matejcik 4ec7e203d5 python: make style
5 years ago
matejcik 2e5bdca891 python: update changelog, mark for release
5 years ago
matejcik afe41d5fcf python: clear state with clear_session (fixes #525)
5 years ago
matejcik 4338e17757 python/trezorctl: dump raw protobuf bytes with -vv (fixes #117)
5 years ago
Pavol Rusnak e05c6f8983
trezorctl: load-device -s will set label to SLIP-0014 if unset via -l
5 years ago
matejcik 4eb98c254a tests: only allow input_flow in a with-block
5 years ago
Pavol Rusnak 8da121ff5c
core+python: regenerate coins
5 years ago
Pavol Rusnak df7094eb01
common/defs: regenerate support
5 years ago
Pavol Rusnak 68513a0b39
Merge pull request #538 from trezor/andrewkozlik/fido2-signcount
5 years ago
matejcik 8b4db0f074 trezorctl: use capabilities to detect Shamir backup (fixes #445)
5 years ago
Tomas Susanka cefb1cf4fd core: refactor slip39
5 years ago
Andrew Kozlik 315a30b42b core/webauthn: Disable FIDO2 signature counter for some relying parties
5 years ago
Pavol Rusnak 5628d1254d
python: regenerate coins.json
5 years ago
Andrew Kozlik f867b43251 trezorctl: Add sd-protect command.
5 years ago
Andrew Kozlik 06fc676cc9 common/messages: Add SdProtect message.
5 years ago
Andrew Kozlik 0677a8e570
Merge pull request #522 from trezor/andrewkozlik/fido2-mgmt
5 years ago
Pavol Rusnak ae6d02edf5
python: typo in trezorctl
5 years ago
Andrew Kozlik 3e2ae5e469 trezorctl: Implement credential management command.
5 years ago
Andrew Kozlik 091053507d common/messages: Add credential management message.
5 years ago
matejcik d1f36f42c0 trezorctl: properly check firmware_present (fixes #224)
5 years ago
Tomas Susanka 75c539ec55
all: replace /bin/bash with /usr/bin/env bash
5 years ago
matejcik 775a27f736 python: fix tox build failure under python 3.8
5 years ago
matejcik 885a21ab36 tests: add missing licence headers
5 years ago
Pavol Rusnak 8cd9ea49de
python: introduce --bitcoin-only option to trezorctl firmware-update
5 years ago
Tomas Susanka 9e42a73650 build: make gen
5 years ago
TheCreator 64034c6d7d common: enable UNO (#472)
5 years ago
matejcik 68e6a0077b style: fix import order in trezorlib/misc.py
5 years ago
matejcik 5b8f542436 python: do not accept bytes for str protobuf fields
5 years ago
matejcik ab74f55a95 python: improve ethereum_sign_tx
5 years ago
matejcik 3209e82018 python: refresh features after ClearSession
5 years ago
Pavol Rusnak 1a71c7a3e8
common: rename Features.features to Features.capabilities
5 years ago
Pavol Rusnak dde4c12796
common: add Feature.ShamirGroups to features
5 years ago
Pavol Rusnak 93f18b09bd
core+python: regenerate Features
5 years ago
matejcik 3e90c7fe20 python/trezorctl: add warning when initializing a T1 with Shamir
5 years ago
matejcik 9ce2fceabe python: make gen_check fail if coins.json are outdated
5 years ago
matejcik 8e5aac9016
python: bump version to 0.11.5 (unreleased), add changelog
5 years ago