Commit Graph

620 Commits (f607cb25019f0bc18bae281ce294a52810fc5ec5)

Author SHA1 Message Date
matejcik 2ab8972cf2 build(python): drop changelog target from makefile
3 years ago
matejcik e7c40c9560 feat(python/trezorctl): trezorctl device reboot-to-bootloader
3 years ago
matejcik 347d11e6ea chore(python): allow click 8.x for trezorlib
3 years ago
grdddj 13b8a6e54d fix(python/trezorctl): firmware download does not require connected trezor
3 years ago
matejcik f8bb90366a fix(tests): auto-swipe by using only ButtonRequest.pages
3 years ago
matejcik 1e1963f1ee fix(core): do not send ButtonRequest on every paging event
3 years ago
grdddj 6bbc9a78f3 feat(python/trezorctl): improving and refactoring firmware CLI commands
3 years ago
matejcik d047c98cb2 feat(python/debuglink): auto-page on pageable screens
3 years ago
matejcik 4f0aca7bb5 feat(python): pass whole ButtonRequest to button_request UI handler
3 years ago
matejcik ea2a9375ac feat(python/debuglink): streamline expected responses handling [no changelog]
3 years ago
matejcik 1012ee8497 feat(core): send ButtonRequests for paging events
3 years ago
gabrielkerekes a92b5fc333 fix(core/cardano): forbid tx outputs with both address and address parameters
3 years ago
matejcik a58823cc0c refactor(python): rework trezorlib protobuf codec
3 years ago
matejcik aaa3ce6117 fix(core/bitcoin): fix CoinJoin authorization with new cache
3 years ago
matejcik ae0da5e245 feat(python): give the emulator a little more time to respond to ping
3 years ago
Martin Milata b2b0ecf0f7 docs(python): use towncrier for generating CHANGELOG.md
3 years ago
Martin Milata f58c1634c6 docs(core): use towncrier for generating CHANGELOG.md
3 years ago
gabrielkerekes bf3e64ff20 fix(common): add isort:skip_file to files generated by pb2py
3 years ago
gabrielkerekes a3d0016a2f refactor(trezorlib/cardano): rename create_* functions
3 years ago
gabrielkerekes 2313293477 feat(core/cardano): add support for catalyst voting registration
3 years ago
gabrielkerekes 2c503b16f5 fix(common): fix one value enums in pb2py
3 years ago
Pavol Rusnak 65cefbc879
docs: remove wallet.trezor.io references
3 years ago
Martin Milata 0278998f72 style(common): mypy: disable implicit Optional for function arguments
3 years ago
Rafael Korbas a9b8b0e119 feat(core/cardano): chunked serialization of signed transaction
3 years ago
mcudev 23abf7aff0 python/trezorctl: make bitcoin regtest a supported coin for trezorctl btc get-descriptor
3 years ago
Andrew Kozlik 885b6f7214 feat(python): Support 50 digit PIN and wipe code in trezorctl.
3 years ago
matejcik cb7152542d feat: drop DebugLinkShowText functionality
3 years ago
JoeGruff e3ea32a986 multi: Add decred staking.
3 years ago
Roman Zeyde b2877afa7f feat(common): add public_key to ECDHSessionKey
3 years ago
Pavol Rusnak 4b0f41d41e
fix(common): change msg_id of RebootToBootloader from 804 to 87
3 years ago
Ondrej Mikle 77e99078c3
chore(trezorlib): add generated message files
3 years ago
Ondrej Mikle 1579c62332
chore(legacy): reboot to bootloader protobuf generated messages
3 years ago
Pavol Rusnak 10edcb0d3a
doc(python): change wording from beta wallet to beta channel
3 years ago
Martin Milata 192d0dcf87 feat(core): hold homescreen to lock
3 years ago
Martin Milata db2db8e6f3 feat(common): add hold_ms to DebugLinkDecision
3 years ago
Pavol Rusnak f780cbdb17
feat(python): add possibility to enter PIN via letters (#1496)
3 years ago
matejcik 14037d0c31 chore: regenerate protobuf classes
3 years ago
Pavol Rusnak 48d1a7a880
fix(python): append checksum to descriptors (#1445)
3 years ago
Pavol Rusnak 81ae1d0ec0
fix(python): remove extraneous empty line from descriptors output
3 years ago
Rafael Korbas e4c406822c Add multiasset sending and min validity to Cardano transactions
3 years ago
Rafael Korbas 44c7d23741 Cardano: map account paths to account numbers
3 years ago
Pavol Rusnak 345ef52949 feat(proto): add amount_unit to AuthorizeCoinJoin and SignTx
3 years ago
Pavol Rusnak 6689b9c22f common/protob: add GetAddress.ignore_xpub_magic field
3 years ago
Pavol Rusnak 1e6259a476
docs: update changelogs
3 years ago
Pavol Rusnak 88889472eb feat(python): add btc get-descriptor command
3 years ago
Pavol Rusnak edb1243f64 feat(proto): add descriptors related fields to GetPublicKey/PublicKey
3 years ago
matejcik 5feb76f603 fix(python): do not log "resumed session" if there is no id
4 years ago
matejcik 4d4d0e7216 fix(python): do not call EndSession in bootloader mode (fixes #1379)
4 years ago
Pavol Rusnak 1187e4ddaf style(common): use new syntax for typing in autogenerated protobuf enums
4 years ago
Pavol Rusnak cd829a99de style(python/src): use new syntax for typing
4 years ago
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