matejcik
c964ff702d
python: disallow setting auto-lock without PIN
2020-07-10 14:05:52 +02:00
Tomas Susanka
15e33b42c0
python: style
2020-05-05 07:05:53 +00:00
Serge
e900173b9c
python/trezorctl: del an outdated mesage
2020-05-05 06:46:49 +02:00
Serge
4e25c396d2
python/trezorctl: display embedded v2 image fingerprint ( fixes #977 )
2020-05-05 06:46:49 +02:00
matejcik
f52c087cb6
python/trezorctl: implement common client and exception handling ( fixes #226 )
2020-03-26 11:30:06 +01:00
matejcik
af05e0927f
python/trezorctl: nicer output for list-devices
2020-03-26 11:30:06 +01:00
matejcik
b801f1a9cf
python/trezorctl: help user find the right firmware version ( fixes #823 )
2020-03-26 11:30:06 +01:00
matejcik
2112da7ab5
python/trezorctl: send raw bytes to device ( fixes #116 )
2020-03-26 11:30:06 +01:00
matejcik
325dae890e
python: completely drop trezorlib.coins and trezorlib.tx_api
2020-03-26 11:30:06 +01:00
Andrew Kozlik
2f905a1157
core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
2020-03-12 15:45:26 +01:00
matejcik
1cc1382153
python/trezorctl: improve get-session
2020-02-12 17:18:50 +01:00
Tomas Susanka
2c0504ad1c
Merge pull request #803 from trezor/passphrase
...
Passphrase Redesign
2020-02-11 16:01:59 +01:00
matejcik
05a1d6f771
core/debug: add "show arbitrary screen" capability, for easier prototyping
2020-02-11 11:53:34 +01:00
matejcik
4b0d8d5f6d
python/trezorctl: tweak error message in get-session
2020-02-10 16:22:48 +01:00
matejcik
d4343ad8b7
python/trezorctl: add get-session
2020-02-10 16:14:21 +01:00
matejcik
7513a65f9a
python: move passphrase-on-host logic to UI class
2020-02-07 11:41:01 +00:00
Tomas Susanka
d5763d9cab
all: implement code review comments
2020-02-07 11:41:01 +00:00
Tomas Susanka
1ae5813cab
legacy: bump version to 1.9.0
2020-02-07 11:41:00 +00:00
Tomas Susanka
a3f3d4fcdb
remove ping.passphrase/pin
2020-02-07 11:41:00 +00:00
Tomas Susanka
cd09f9ce94
all: modify passphrase source to always on device
2020-02-07 11:40:59 +00:00
Tomas Susanka
90d5cdfd5b
all: rework passphrase
...
The `on_device` field is being moved to PassphraseAck, State messages
are removed. Features newly contain `session_id`.
2020-02-07 11:40:58 +00:00
matejcik
05131c328d
python: trezorctl should not print empty line if result is None
2020-01-23 15:50:28 +01:00
matejcik
c151fdeefd
python: add wait-for-emulator command
2020-01-23 15:50:28 +01:00
matejcik
b26a430b85
python/firmware: shorten names for vendor header fields
2020-01-20 17:32:58 +01:00
matejcik
941087179f
python/firmware: clarify firmware image types
2020-01-20 17:32:58 +01:00
robert
afc897d693
trezorctl: add u2f-counter to recover
2019-12-29 12:25:54 +01:00
Pavol Rusnak
bb8d809a6d
common: change language field to IETF BCP 47 language tag
2019-12-08 11:27:10 +01:00
Andrew Kozlik
83fab3c220
trezorctl: Add set wipe-code command.
2019-11-25 12:32:20 +01:00
matejcik
b6d46e93e1
python: auto-generate OPTIONS.rst
2019-11-18 11:50:07 +01:00
matejcik
65bb8cdf4e
python/trezorctl: only accept json for sign-tx, document the format
2019-11-18 11:50:07 +01:00
matejcik
bd9bf4e2bc
python: rename webauthn and u2f to fido
2019-11-18 11:50:07 +01:00
matejcik
8e4de5e929
python/trezorctl: split trezorctl into separate modules
...
Instead of all commands (like `load-device`, `change-pin`,
`tezos-sign-tx`, `ethereum-verify-message`...) living in trezorctl.py,
each functional group is now defined in a separate file.
With that, better structuring of the trezorctl command becomes
available:
- instead of `trezorctl set-label`, use `trezorctl set label`
- instead of `trezorctl change-pin`, use `trezorctl set pin`
- instead of `trezorctl enable-passphrase`, use `trezorctl set
passphrase enabled`
For common commands, such as `sign-tx`, it is possible to use the
currency name or shortcut:
- `trezorctl btc sign-tx`
- `trezorctl ethereum sign-tx`
- `trezorctl xtz sign-tx`
- `trezorctl doge sign-tx`
etc.
Some aliases have been retained for better compatibility. For others,
refer to `trezorctl --help` and `trezorctl <command> --help`.
2019-11-18 11:50:07 +01:00
matejcik
fd8aed6105
all: drop XPRV feature of LoadDevice
2019-11-13 16:48:35 +01:00
Tomas Susanka
90edad55fc
python and tests: typos
2019-11-13 13:28:07 +00:00
Tomas Susanka
ef9900ee52
python: get u2f counter
2019-11-13 10:55:52 +00:00
Andrew Kozlik
6cc44b133c
tests/webauthn: Account for the increased limit on the number of resident credentials.
2019-11-01 16:14:16 +01:00
matejcik
4338e17757
python/trezorctl: dump raw protobuf bytes with -vv ( fixes #117 )
2019-09-26 15:41:42 +02:00
Pavol Rusnak
e05c6f8983
trezorctl: load-device -s will set label to SLIP-0014 if unset via -l
2019-09-23 14:38:50 +02:00
Pavol Rusnak
68513a0b39
Merge pull request #538 from trezor/andrewkozlik/fido2-signcount
...
Disable FIDO2 signature counter for some relying parties
2019-09-19 17:00:51 +02:00
matejcik
8b4db0f074
trezorctl: use capabilities to detect Shamir backup ( fixes #445 )
2019-09-19 16:46:07 +02:00
Tomas Susanka
cefb1cf4fd
core: refactor slip39
2019-09-19 16:38:29 +02:00
Andrew Kozlik
315a30b42b
core/webauthn: Disable FIDO2 signature counter for some relying parties
2019-09-19 16:16:58 +02:00
Andrew Kozlik
f867b43251
trezorctl: Add sd-protect command.
2019-09-18 18:53:42 +02:00
Andrew Kozlik
0677a8e570
Merge pull request #522 from trezor/andrewkozlik/fido2-mgmt
...
FIDO2 resident credential management
2019-09-17 20:35:53 +02:00
Pavol Rusnak
ae6d02edf5
python: typo in trezorctl
2019-09-17 18:35:04 +02:00
Andrew Kozlik
3e2ae5e469
trezorctl: Implement credential management command.
2019-09-17 18:32:31 +02:00
matejcik
d1f36f42c0
trezorctl: properly check firmware_present ( fixes #224 )
2019-09-17 16:05:30 +02:00
Pavol Rusnak
8cd9ea49de
python: introduce --bitcoin-only option to trezorctl firmware-update
2019-09-07 19:12:37 +02:00
matejcik
3e90c7fe20
python/trezorctl: add warning when initializing a T1 with Shamir
...
fixes #445
2019-08-27 17:01:25 +02:00
Pavol Rusnak
2e59a1f445
python: add --beta switch to trezorctl firmware_update command
2019-08-16 18:43:43 +02:00
matejcik
67b879ac07
python: restructure package
...
This deserves some explanation.
* tests were moved to separate python/tests subdir
* trezorlib was moved to python/src, so that it does not exist on
PYTHONPATH by default
(see https://blog.ionelmc.ro/2014/05/25/python-packaging/ for details)
* everything was updated to understand the new structure
* trezorctl was changed from a top-level executable script to a module
`trezorlib.cli.trezorctl` and is installed via the entry_points
mechanism.
This should make it work normally on Windows!
The package should be installable as normal through pip and pipenv, no
changes are needed on that side.
The source package from pypi will include unit tests. (Device tests were
completely moved out). Wheel will exclude them, because users don't need
them.
That shrinks the .whl from 520 kB to 270 - nice!
python: reorganize remaining unit tests
2019-08-12 12:57:25 +02:00