1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-25 00:48:19 +00:00
Commit Graph

638 Commits

Author SHA1 Message Date
matejcik
afe41d5fcf python: clear state with clear_session (fixes #525) 2019-09-26 15:50:41 +02: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
matejcik
4eb98c254a tests: only allow input_flow in a with-block 2019-09-20 15:47:34 +02:00
Pavol Rusnak
8da121ff5c
core+python: regenerate coins 2019-09-19 20:17:35 +02:00
Pavol Rusnak
df7094eb01
common/defs: regenerate support 2019-09-19 18:07:18 +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
Pavol Rusnak
5628d1254d
python: regenerate coins.json 2019-09-19 15:45:57 +02:00
Andrew Kozlik
f867b43251 trezorctl: Add sd-protect command. 2019-09-18 18:53:42 +02:00
Andrew Kozlik
06fc676cc9 common/messages: Add SdProtect message. 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
Andrew Kozlik
091053507d common/messages: Add credential management message. 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
Tomas Susanka
9e42a73650 build: make gen 2019-09-02 08:25:58 +02:00
TheCreator
64034c6d7d common: enable UNO (#472) 2019-09-01 09:47:58 +02:00
matejcik
68e6a0077b style: fix import order in trezorlib/misc.py 2019-08-29 15:19:02 +02:00
matejcik
5b8f542436 python: do not accept bytes for str protobuf fields
fixes #283

also adds typing information to misc.py
2019-08-29 15:07:50 +02:00
matejcik
ab74f55a95 python: improve ethereum_sign_tx 2019-08-29 15:07:50 +02:00
matejcik
3209e82018 python: refresh features after ClearSession
ClearSession will clear pin and password caches, which would otherwise
not be reflected in Features
2019-08-29 15:07:50 +02:00
Pavol Rusnak
1a71c7a3e8
common: rename Features.features to Features.capabilities 2019-08-28 15:02:30 +02:00
Pavol Rusnak
dde4c12796
common: add Feature.ShamirGroups to features 2019-08-28 09:25:11 +02:00
Pavol Rusnak
93f18b09bd
core+python: regenerate Features 2019-08-27 17:30:49 +02:00
matejcik
3e90c7fe20 python/trezorctl: add warning when initializing a T1 with Shamir
fixes #445
2019-08-27 17:01:25 +02:00
matejcik
9ce2fceabe python: make gen_check fail if coins.json are outdated 2019-08-23 12:48:23 +02:00
matejcik
8e5aac9016
python: bump version to 0.11.5 (unreleased), add changelog 2019-08-22 18:15:37 +02:00
matejcik
132c827833
python: implement decoding of protobuf packed repeated fields
also add typing
fixes #426
2019-08-22 18:15:33 +02:00
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum 2019-08-20 14:38:31 +02:00
Pavol Rusnak
2e59a1f445
python: add --beta switch to trezorctl firmware_update command 2019-08-16 18:43:43 +02:00
matejcik
9814f886ce gen: regenerate coins.json 2019-08-12 12:57:25 +02:00
matejcik
6d407c84d7 python: use stdlib blake2s on python 3.6+ 2019-08-12 12:57:25 +02:00
matejcik
aa19f9d737 python: show enum number in debug outputs 2019-08-12 12:57:25 +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