matejcik
7a85d93d94
python/debuglink: properly use session_counter for debuglink transport
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
9a330f3475
python: unify protobuf-encoding code paths
...
Protobuf encoding now happens in TrezorClient, and transports get encoded blobs
to (chunkify and) send. This is a better design because transports don't need
to know about protobuf.
It also lays groundwork for sending raw bytes feature (#116 )
This commit also removes all vestiges of ProtocolV2 which was never used and
will probably need to be redesigned from the ground up anyway. The code is
still ready for protocol flexibility.
2020-03-26 11:30:06 +01:00
matejcik
22b167a961
python: update tools/build_tx.py
2020-03-26 11:30:06 +01:00
matejcik
e5a909478e
tests: silence pytest 6.0 warning
2020-03-26 11:30:06 +01:00
matejcik
9d29952a15
python: move out deprecated ckd_public
2020-03-26 11:30:06 +01:00
matejcik
5dfb01c25d
python: drop old Electrum compatibility code
2020-03-26 11:30:06 +01:00
matejcik
687c32e267
python: regenerate OPTIONS.rst
2020-03-26 11:30:06 +01:00
matejcik
fabd504b77
python: drop unnecessary parts of setup.py
2020-03-26 11:30:06 +01:00
matejcik
6ccf22225c
python: drop coins.json ( fixes #752 )
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
matejcik
5a526888cf
python: move json_to_tx to btc.from_json, add test cases
2020-03-26 11:30:06 +01:00
matejcik
b3569a53e6
tests: update tx_cache usages
2020-03-26 11:30:06 +01:00
matejcik
d2dd78f979
python: drop TxApi and coin specializations in json_to_tx
2020-03-26 11:30:06 +01:00
matejcik
5cd7c72353
tests: rework tx cache
...
The cache will no longer add new txes transparently.
To add a transaction, see: ./tests/tx_cache.py --help
2020-03-26 11:30:06 +01:00
matejcik
208bac8653
common: drop capricoin blockbook servers
2020-03-26 11:30:06 +01:00
Tomas Susanka
38599e3364
docs: document when firmware wipes storage
2020-03-25 19:06:57 +01:00
Pavol Rusnak
336a417233
core/bootloader: distinguish between a vendor change and downgrade with wipe
2020-03-25 15:15:12 +01:00
Tomas Susanka
8ddf799cad
docs/tests: update UI tests reporting
2020-03-23 17:22:56 +00:00
Ondrej Mikle
634ed5aabc
core: commands for flashing via JLink ( #911 )
2020-03-23 10:40:06 +01:00
Tomas Susanka
025436db47
core/changelog: add FIDO2's Ed25519
2020-03-23 08:00:31 +00:00
Andrew Kozlik
b3cd760df0
core/webauthn: Disable CTAPHID_WINK function.
2020-03-20 15:07:06 +01:00
Andrew Kozlik
e5008eb332
core/webauthn: Remove indistinguishable credentials from the allow list.
2020-03-20 15:07:06 +01:00
Andrew Kozlik
cda9de8dd1
core/webauthn: Add maxCredentialCountInList and maxCredentialIdLength to authenticatorGetInfo response.
2020-03-20 15:07:06 +01:00
Andrew Kozlik
0af0e06d5b
core/webauthn: Truncate names in credential data to at most 100 bytes.
2020-03-20 15:07:06 +01:00
matejcik
ccffefd667
core/boot: do not catch OSError in boot wait
2020-03-20 14:03:28 +01:00
matejcik
f6f041e269
core/sdcard: also catch OSError in the formatting phase
2020-03-20 14:03:28 +01:00
matejcik
a978435819
tests: update SD card test
2020-03-20 14:03:28 +01:00
matejcik
3a71a5a05c
core/sdcard: show "Wrong SD card" when unlocking SD protect with unformatted card
2020-03-20 14:03:28 +01:00
matejcik
3789a3372b
core/sdcard: modify exception handling in fatfs
...
expose ff.c constants, raise them as arguments to FatFSError
introduce NotMounted and NoFilesystem as subclasses of FatFSError with
the appropriate error code set
2020-03-20 14:03:28 +01:00
Andrew Kozlik
8ee0026637
core: Allow PIN entry even when SD protect is enabled and the card is not present.
2020-03-19 15:04:33 +01:00
Andrew Kozlik
bfd834d1de
storage: Add storage_ensure_not_wipe_code().
2020-03-19 15:04:33 +01:00
Andrew Kozlik
e51ed5bf05
trezorlib: Regenerate coins.json.
2020-03-17 11:53:48 +01:00
Andrew Kozlik
b2dc5813fe
legacy, tests: Check for invalid PIN.
2020-03-17 11:53:48 +01:00
Andrew Kozlik
ac78d1e2f3
trezorctl: Validate PIN digits and length.
2020-03-17 11:53:48 +01:00
Andrew Kozlik
77bb6deb66
storage: Check for invalid PIN.
2020-03-17 11:53:48 +01:00
Izuho Fujiwara
6fdbde98fd
common: add ZNY to connect ( #907 )
2020-03-16 15:49:21 +01:00
Tomas Susanka
ad25096f90
tests: test reset device also with another strengths
2020-03-13 10:12:50 +00:00
Tomas Susanka
0f95eff4ff
Merge pull request #902 from ExodusMovement/master
...
Fix BackupDevice layout on 18-word seed wallets
2020-03-13 10:35:15 +01:00
Konnor Klashinsky
70a1f957ed
Fix BackupDevice layout on 18-word seed wallets
2020-03-13 13:41:04 +13:00
Andrew Kozlik
2f905a1157
core/webauthn: Add algorithm and curve to WebAuthnListResidentCredentials response.
2020-03-12 15:45:26 +01:00
Andrew Kozlik
f610787f8d
core/webauthn: Clean up bytes/bytearray typing around uctypes.
2020-03-12 15:45:26 +01:00
Andrew Kozlik
e378820f7f
core/webauthn: Implement support for Ed25519 signatures in FIDO2.
2020-03-12 15:45:26 +01:00
ChiragMaliwal
f359e36273
add .DS_Store to .gitignore ( #900 )
2020-03-11 20:22:56 +01:00
Pavol Rusnak
49fe64f84c
common/protob: update special fields usage in comments
2020-03-10 16:58:59 +00:00
matejcik
3869a05677
ci: add a generic timeout to GitLab pytest runs
2020-03-09 10:31:40 +01:00
matejcik
5b7d11e4ee
tests: remove explicit timeouts from test suite
2020-03-09 10:31:17 +01:00
Tomas Susanka
30a267c83d
ci: check if commit message contains fixup on travis
2020-03-06 18:45:46 +00:00