Commit Graph

620 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
Martin Milata 8fd12f4373 fix(tests): run test_softlock_instability on emulator only
4 years ago
Rafael Korbas b311bd4d4a Add displaying of TTL to cardano transaction, align url validation with Ledger
4 years ago
Rafael Korbas b261f789f3 Add support for stakepool registration to Cardano
4 years ago
Pavol Rusnak 225cd15732 fix(python): drop references to beta-wallet.trezor.io
4 years ago
Pavol Rusnak 50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
4 years ago
matejcik 5005a61eaf fix(python): update trezorctl multisig feature to new API
4 years ago
matejcik f11a634671 docs(python): update changelog
4 years ago
matejcik 38b7c75176 feat(python): drop Python 3.5 compatibility (fixes #810)
4 years ago
matejcik a36ccd7e6f feat!(python): drop Mapping protocol support from MessageType
4 years ago
matejcik 8c460dcbf3 feat(python): improve error message when prev_txes are not provided
4 years ago
matejcik 2327cab436 feat(python): update build_tx.py to new API
4 years ago
matejcik 3d6d1a56ac feat(python): implement API compatibility with trezorlib 0.12
4 years ago
Andrew Kozlik 9e5d5bd5f9 feat: Add support for experimental field flag in protobuf.
4 years ago
Andrew Kozlik b636e959f5 chore(python): Support TXORIGINPUT and TXORIGOUTPUT in trezorlib.
4 years ago
Andrew Kozlik ad6a0bc2a2 chore(common): Add new request types TXORIGINPUT and TXORIGOUTPUT.
4 years ago
Andrew Kozlik 443e0c101e chore(common): Add orig_hash and orig_index fields to TxInput and TxOutput.
4 years ago
Martin Milata 0376670404 feat(common): expose 'unstable' option in generated code
4 years ago
Martin Milata 3b138b4f98 feat(python): add experimental_features setting
4 years ago
Martin Milata 314cd260eb feat(common): add experimental_features setting
4 years ago
Pavol Rusnak 4fdb62c2e2 chore(python): replace pipenv with poetry
4 years ago
Martin Milata b2c4bbdaa2 feat(common): add auto_lock_delay and display_rotation to Features
4 years ago
matejcik e4785d47e0 style: apply black 20.8b1
4 years ago
matejcik 6dda240f5c test(python): add flake8-requirements
4 years ago
matejcik feb24e4282 ci(python): disable Python 3.5 in CI for now (see #810)
4 years ago
matejcik 0eed360037 chore: make tx type names shorter
4 years ago
matejcik 01b66a5858 fix(python): always fill TransactionType.lock_time
4 years ago
matejcik 9ee7eee1eb chore!(python): bump trezorlib version because of breaking API change
4 years ago
matejcik 08d896f2f9 chore(tests): update to kwargs usage and new btc.sign_tx API
4 years ago
matejcik b41021a5fb chore(python): fix kwargs usage
4 years ago
matejcik 5ddf1dfafb feat!(python): modify btc.sign_tx api to accept kwargs
4 years ago
matejcik ef4022fbf5 auto: regenerate protobuf classes
4 years ago
matejcik 90ee5f3d38 feat!: implement protobuf required fields and default values
4 years ago
Martin Milata 76a1760764 python: support SafetyChecks.PromptTemporarily
4 years ago
Martin Milata 7d37b2c90f common: add PromptTemporarily to SafetyChecks enum
4 years ago
Martin Milata 9f066e877d common: add SafetyCheckLevel to Features
4 years ago
Martin Milata 975f9b335e
build-docker: fix fingerprint calculation for model T production builds (#1261)
4 years ago
mcudev c63c727df0 [python] build_tx tool: fix amount inaccuracy by parsing with Decimal
4 years ago
Andrew Kozlik 5d745d5d04 common/protob: Add commitment_data to TxInputType.
4 years ago
matejcik ffe3b5487d python: ignore failures of EndSession call, so that end_session() does not raise
4 years ago
matejcik e0583dd5cb all: use a specific error code for "invalid session"
4 years ago
matejcik e96a9e8d39 python/trezorctl: make use of EndSession
4 years ago
matejcik 4f92d2b14d python: call EndSession when requested
4 years ago
matejcik 4200692930 python: release 0.12.2
4 years ago
matejcik 17736e8fba python/trezorctl: fix output of 'btc get-address' help text
4 years ago
matejcik d19f00b26c python/trezorctl: fix minor bugs in 'set homescreen'
4 years ago
matejcik 993d3b6e3f python: update changelog
4 years ago
matejcik fb1deb6156 python/trezorctl: improve 'set homescreen' command
4 years ago
matejcik a14634c389 python: make PIL optional in the toif module, add size check
4 years ago
matejcik eddaeb1280 python: add Pillow as an optional requirement (fixes #1224)
4 years ago
matejcik 032a65e1cf python: export toif as public module
4 years ago
Martin Milata 43b7ccefc7 python/trezorctl: remove --skip-vendor-header from firmware-update
4 years ago
Martin Milata 29861e076b python: fix cli --file handling
4 years ago
Ferdinando M. Ametrano b3d483dd6b
python: silenced unused variables (#1202)
4 years ago
Martin Milata 1fc6c80b5d
build-docker.sh: print fw fingerprints after build (#1209)
4 years ago
Martin Milata 6319fcfe4a python: fix trezorctl lisk sign-message address parsing
4 years ago
Andrew Kozlik 9da715e025 python: Fix UnboundLocalError in trezorctl btc get-address.
4 years ago
Pavol Rusnak 5536fbb98a python: use stdlib blake2s on python 3.6+
4 years ago
matejcik 4029fc1e1c python: remove superfluous .keep file
4 years ago
matejcik 5cd867fa92 python: update dist target
4 years ago
matejcik 35c3af87dd python: rename unsafe_prompts to safety_checks
4 years ago
matejcik 769ccf52c6 python: fix behavior of client.ping() when device is locked
4 years ago
matejcik 3dd3d96957 python: update changelog
4 years ago
matejcik efcaf7bda6 python/btc: improve missing signature detection
4 years ago
matejcik 037bef3a38 python: fix logging of protobuf repeated enums
4 years ago
matejcik c244503e1f python/trezorctl: add aliases for firmware-update
4 years ago
matejcik d5fe57012d python: bump version before release
4 years ago
matejcik 2678e64a99 python/trezorctl: improve file-based arguments
4 years ago
matejcik e585d35f34 python: clarify session and feature management API
4 years ago
matejcik 95f33a77c7 python/trezorctl: support multisig addresses in get-address
4 years ago
Andrew Kozlik 62d66a713c python: Add cancel_authorization() to trezorlib.
4 years ago
Andrew Kozlik 5c1f197602 common/protob: Add CancelAuthorization message.
4 years ago
Andrew Kozlik 85cf79169c python: Support preauthorized operations in trezorlib.
4 years ago
Andrew Kozlik 84c1324290 python: Add authorize_coinjoin() to trezorlib.
4 years ago
Andrew Kozlik 2c30dd62fc common: Add DoPreauthorized message.
4 years ago
Andrew Kozlik bbab13f6e7 common/protob: Add AuthorizeCoinJoin message.
4 years ago
gabrielkerekes a5d3b63912 Refactor trezorlib transaction key checking
4 years ago
gabrielkerekes f2ee450410 Include metadata in transaction signing
4 years ago
gabrielkerekes c29d297a77 Set default values to client functions parameters
4 years ago
gabrielkerekes 93b9f35678 Update trezorlib
4 years ago
gabrielkerekes e92baf5b02 Update protobuf
4 years ago
gabrielkerekes b5f3511c1c Add support for script addresses in tx outputs
4 years ago
matejcik 741fca0156 tests: watch_layout must be explicit (fixes #1142)
4 years ago
Pavol Rusnak cec87bba50
core: remove mono bold font variant (not used anywhere)
4 years ago
Gabriel Kerekeš d2c1624602 Cardano shelley update 2/3 (#1112)
4 years ago
gabrielkerekes e1615e60ec Update Cardano to support Shelley era 1/3
4 years ago
matejcik fdcb64ac24 all: rename protobuf `unsafe_prompts` to `safety_checks`
4 years ago
matejcik 8f8e793155 core, python: add changelogs
4 years ago
matejcik 1109250dcf core: add option to allow unsafe prompts
4 years ago
matejcik c964ff702d python: disallow setting auto-lock without PIN
4 years ago
matejcik fb03a174c1 python: remove linkify-changelog reference as it now lives in root
4 years ago
matejcik a19a9a318a all: improve changelog formatting
4 years ago
Andrew Kozlik a973c3bc6e python: Add get_ownership_id() and get_ownership_proof() to trezorlib.
4 years ago
Andrew Kozlik 533de50588 common/protob: Add GetOwnershipId message.
4 years ago
Andrew Kozlik 6c523d09e0 tests/sign_tx: Don't expect signatures to be returned for external inputs.
4 years ago
Andrew Kozlik 956ea9a94f common: Add ownership_proof field to TxInputType.
4 years ago
Andrew Kozlik c723c78529 common/protob: Add GetOwnershipProof message.
4 years ago
Andrew Kozlik cc655575c8 common: Add witness field to TxInputType.
4 years ago
Tomas Susanka 14a8da9c28 common: remove underscore from 'overwintered' field
4 years ago
Tomas Susanka ca3dd2bfb9 common: skip deprecated fields during generation; deprecate overwintered field in Zcash
4 years ago
matejcik 312d6ea822 python: fix padding in first chunk (fixes #1082)
4 years ago
Tomas Susanka e534ae3ad7 legacy, core: rename Features.pin_cached to unlocked and unify
4 years ago
matejcik 6f53ca0ac6 core: rework wait_layout()
4 years ago
matejcik 5d823ff5ea core: use ButtonRequestType.PinEntry for PIN entry
4 years ago
matejcik bbfce4e303 common: introduce ButtonRequestType.PinEntry
4 years ago
matejcik fc6c99c6f9 tests: disable PIN detection, all PIN uses must be explicit
4 years ago
matejcik b68cc5abda python/debuglink: implement use_pin_sequence support for trezor-core
4 years ago
matejcik 62ced317cd python/debuglink: proto -> messages
4 years ago
matejcik ee32806bb2 python/debuglink: add debuglink message logging
4 years ago
matejcik 6069173252 python/debuglink: clean out debuglink methods
4 years ago
matejcik 0600d87c8c common: rename ClearSession to LockDevice, introduce EndSession
4 years ago
matejcik 83d3acb0a6 python: fix dead code in protobuf pretty-printing
4 years ago
Tomas Susanka 9dfc08ca61 core/bitcoin: drop decred_script_version
4 years ago
matejcik 29db769185 tests: update test vectors to use correct paths
4 years ago
matejcik aeaa402b75 python: fix PASSPHRASE_TEST_PATH
4 years ago
Tomas Susanka 15e33b42c0 python: style
4 years ago
Serge e900173b9c python/trezorctl: del an outdated mesage
4 years ago
Serge 4e25c396d2 python/trezorctl: display embedded v2 image fingerprint (fixes #977)
4 years ago
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
4 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