1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 12:38:43 +00:00
Commit Graph

9044 Commits

Author SHA1 Message Date
matejcik
4bddeefea0 core: unify mpconfigports for emulator and board
Changes in firmware/mpconfigport.h are minimal:

 * $VFS_FAT is dropped because it is irrelevant without $VFS
 * $REVERSE_SPECIAL_METHODS is added, to push down on code size
 * $THREAD is disabled unconditionally

unix/mpconfigport.h is reordered and modified to match
firmware/mpconfigport.h as much as possible, while selectively enabling
some needed features.

Notably, $USE_READLINE is enabled unconditionally
2020-04-14 10:17:37 +02:00
matejcik
d0f709b8cc core: fix and use MAKEMODULEDEFS instead of explicit registration 2020-04-14 10:17:37 +02:00
matejcik
a6976355c3 core: remove readline from built firmware 2020-04-14 10:17:37 +02:00
Pavol Rusnak
6c0a960794
git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "bff7fdfe4"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "bff7fdfe4"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-04-14 08:52:56 +02:00
Pavol Rusnak
99e15bf597
git subrepo pull common
subrepo:
  subdir:   "common"
  merged:   "54a14197b"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "5eb9901c1"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "5d6aba9"
2020-04-14 08:52:12 +02:00
Dusan Klinec
25b6e9058f xmr: proto - add fields for protocol optimization 2020-04-13 22:19:56 +02:00
Tomas Susanka
6901cb7cdf ci: simplify regular expressions for release and tags 2020-04-10 11:23:07 +02:00
Tomas Susanka
2b031990f8 ci: run hardware tests nightly and for releases 2020-04-10 11:23:07 +02:00
Tomas Susanka
66190762ce pipenv: add serial 2020-04-10 11:23:07 +02:00
Marek Mahut
4264e87319 ci: add hardware tests for T1
This enables to run device tests against an actual device connected to
our CI. It uses https://github.com/mmahut/tpmb to enter bootloader and
then it uploads a debug firmware to the device. The debug mode is the
used to "click" the buttons but we might improve this and actually use
the hardware buttons instead.
2020-04-10 11:23:07 +02:00
Andrew Kozlik
bc4e8eaa16 core/webauth: Update readme with Ed25519 algorithm and certificates. 2020-04-09 21:05:28 +02:00
matejcik
fc987cbfb2 common: update ethereum icon names to match documentation 2020-04-09 15:22:18 +02:00
matejcik
ae7522165e common: rename auxilium chain to 'auxi' to avoid bad Windows name (fixes #870) 2020-04-09 15:06:29 +02:00
matejcik
c65b14cb2f python: add information about incompatible changes to CHANGELOG 2020-04-09 12:49:29 +02:00
Pavol Rusnak
197218338a
Merge pull request #936 from trezor/rework-serialize-deserialize
crypto: rework serialize/deserialize API
2020-04-09 09:53:23 +02:00
Pavol Rusnak
ef56cd0349
nix: remove scons from shell.nix as it is installed via pipenv 2020-04-08 14:11:01 +02:00
Pavol Rusnak
80a07ca4af
vendor: update fido2-tests 2020-04-08 14:11:01 +02:00
Pavol Rusnak
cf474a81ae
pipenv: change fido2 version to >= 0.8.0, run pipenv update 2020-04-08 09:22:40 +00:00
matejcik
eec0615444 core: drop sys.pyi from mocks (fixes #934)
A change introduced in mypy 0.770 disallows overriding some system
modules, including `sys`.

We only need the override for `sys.print_exception`, and the simplest
solution is to make mypy ignore that particular call.
2020-04-08 11:19:26 +02:00
Tomas Susanka
17392f94b8 ci: set artifacts' name using the job name and commit hash 2020-04-07 10:42:45 +02:00
Andrew Kozlik
c57bc62a05 core/tools: Add attestation certificate generator for FIDO2. 2020-04-06 18:29:05 +02:00
Andrew Kozlik
fca92d7344 core/webauthn: Update attestation certificate to comply with WebAuthn requirements. 2020-04-06 18:29:05 +02:00
Pavol Rusnak
ff706eb70b
crypto: split hdnode_deserialize into hdnode_deserialize_{public,private} 2020-04-06 16:28:02 +00:00
Pavol Rusnak
a7806d08d7
core/crypto: remove unused bip32.deserialize function 2020-04-06 18:04:24 +02:00
Pavol Rusnak
1695228d80
core/crypto: remove unused serialize_private function 2020-04-06 15:49:36 +00:00
Pavol Rusnak
f07ff17fad
core/crypto: add missing field to Blake2b constructor 2020-04-06 12:28:36 +00:00
Jonathan Cross
f756bec0fe Adding @jonathancross to AUTHORS 2020-04-06 10:11:08 +02:00
Andrew Kozlik
0b9d66ca2e vendor: Update fido2-tests submodule. 2020-04-06 09:53:42 +02:00
Andrew Kozlik
e38ced8c05 tests/u2f-hid: Disable strict timing checks in HIDTest and increase receive timeout to avoid failures in CI when emulator is slow to respond. 2020-04-06 09:53:42 +02:00
Andrew Kozlik
25a39ea729 core/webauthn: Fix handling of interleaving frames to comply with the U2F HID specification. 2020-04-06 09:53:42 +02:00
y-chan
e6d884b145
common: Fix maintainer email for vipstar/bitzeny (#891)
* fix my email address

* fix my email address
2020-04-02 11:13:59 +02:00
jagdeep sidhu
e58c5f63d5
common/defs: update SYS (#928) 2020-04-02 00:22:47 +02:00
matejcik
f48cb4eff4 python: update changelog, release 0.12.0 2020-04-01 12:13:16 +02:00
Tomas Susanka
ab5ba2b106 common: style 2020-03-31 07:22:17 +00:00
Tomas Susanka
0b7a8449f8 core: style 2020-03-30 16:04:05 +00:00
Tomas Susanka
bf20537f41 core: add option to omit cancel button in HoldToConfirm; add it to reset 2020-03-30 16:00:12 +00:00
Pavol Rusnak
9d116598d0
common/tools: add segwit sanity checks 2020-03-29 14:34:30 +00:00
matejcik
e2199f6099 python: update changelog, regenerate OPTIONS.rst 2020-03-26 11:30:06 +01:00
matejcik
1b50877545 tests: streamline TrezorFailure exception usage 2020-03-26 11:30:06 +01:00
matejcik
a40f1e00ed python: add period at end of sentence 2020-03-26 11:30:06 +01:00
matejcik
2402853b9c python: simplify outdated firmware warning (full message is still used in the exception) 2020-03-26 11:30:06 +01:00
matejcik
f52c087cb6 python/trezorctl: implement common client and exception handling (fixes #226) 2020-03-26 11:30:06 +01:00
matejcik
b440ca1ec5 python: drop deprecated name CallException 2020-03-26 11:30:06 +01:00
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