grdddj
d4fbd4a95d
feat(core): adjust coverage-report for local usage
...
It is now possible to run the coverage tests without moving any files
manually and the script can be called multiple times without failing.
Also improves reporting of errors.
[no changelog]
2023-03-09 16:50:32 +01:00
tychovrahe
9748a56a55
chore(core): automatic generation of CMakeLists
...
[no changelog]
2023-02-02 11:32:37 +01:00
Pavol Rusnak
cd5425884f
chore(core): remove keyctl-proxy + remove Pyro4 from Python deps
...
[no changelog]
2023-01-25 10:54:32 +01:00
matejcik
8921a124c3
fix(core/headertool): always rehash when inserting signature ( fixes #2616 )
...
[no changelog]
2022-12-16 13:24:18 +01:00
Martin Milata
5b3db7eca1
refactor(core/rust/ui): homescreen layouts
...
[no changelog]
2022-12-13 17:15:15 +01:00
grdddj
61277bd80a
feat(core/ui): implement webauthn layouts for UI2
...
[no changelog]
2022-11-24 13:03:34 +01:00
grdddj
579ee06b6f
feat(tools): add tool for frozen_mpy bytecode analysis
2022-11-10 14:08:28 +01:00
grdddj
b95cb34e0c
feat(tools): add ignore file for upysize tool
2022-11-10 14:08:28 +01:00
matejcik
0577847352
refactor(core/tools): update headertool
...
[no changelog]
2022-11-01 14:56:00 +01:00
matejcik
6905f9c486
refactor(core): remove remote signing functionality from headertool
...
[no changelog]
2022-11-01 14:56:00 +01:00
Martin Milata
50259b1084
chore(core): remove OTF files of TT Hoves fonts
...
The fonts are commercially licensed unlike the rest of this repository.
They have been moved to a private repository.
[no changelog]
2022-10-22 01:39:53 +02:00
Martin Milata
18352acce8
feat(core/rust/ui): replace TT Hoves Medium with DemiBold style
...
[no changelog]
2022-10-22 01:39:53 +02:00
matejcik
7a09c21bf5
chore(core): fix import in key generator
2022-10-11 12:11:53 +02:00
tychovrahe
f7b9bb4ef8
feat(core/rust): use dma2d to improve rendering performance, implement text over image and icon over icon functions
2022-09-29 21:50:10 +02:00
tychovrahe
223d1b20fb
refactor(core): change fonts organization
2022-09-29 21:50:10 +02:00
Martin Milata
3b629a1ea4
refactor(core/rust/ui): layouts for SLIP-39 backups
...
[no changelog]
2022-09-07 16:46:47 +02:00
matejcik
0c1eb0c30d
feat(core/tools): support @overloads in generated mocks
...
[no changelog]
2022-05-16 12:37:24 +02:00
tychovrahe
8a092bde21
feat(core): add smaller loader for model R
2022-05-10 16:49:23 +02:00
Martin Milata
38f4ab0983
feat(core/rust/ui): return Layout results as singleton objects
...
[no changelog]
2022-04-04 13:32:07 +02:00
Martin Milata
b46901bc8b
feat(core): add TT Hoves fonts, introduce medium variant
...
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
[no changelog]
2022-02-10 14:57:42 +01:00
grdddj
5d76144ef5
chore(common): always use resolve() when accessing parent of the Path
...
[no changelog]
2022-02-07 14:05:27 +01:00
matejcik
1bfaec10e9
build(core): rewrite build_mocks with pathlib, add symlinks to ../mocks
2022-01-07 21:41:17 +01:00
amadejpapez
85ba7c12ba
style(all): use f-strings for formatting
...
[no changelog]
2021-10-13 11:53:17 +02:00
Jan Pochyla
2703d714c2
feat(core): add Rust UI components, layouts, text rendering
...
[no changelog]
2021-10-07 15:01:55 +02:00
Martin Milata
582e1318c4
feat(core/emulator): support protobuf messages in memory dumps
...
[no changelog]
2021-07-22 13:31:11 +02:00
Pavol Rusnak
9a9b0eb052
fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
...
part 2
somehow I did miss 3 more occurences
2021-07-18 23:11:09 +02:00
Pavol Rusnak
ff21ea3d5c
fix(core): rename fw_or_type to image_type in keyctl-proxy to avoid confusion
2021-07-16 14:23:43 +02:00
Pavol Rusnak
cd9c4e478d
docs(core): fix typo in keyctl-proxy help
2021-07-16 14:23:43 +02:00
Pavol Rusnak
0a951b8a77
fix(core): don't use format strings in keyctl-proxy
2021-07-16 14:23:43 +02:00
matejcik
b41d4c71f0
feat(core/emulator): JSON memory map dump
...
use `trezor.utils.mem_dump("somefile.json")` in a key place, then
`analyze.py src/somefile.json` to look at what is going on
2021-07-14 13:50:24 +02:00
matejcik
aa4227fa84
ci: update coverage exclusion list
2021-06-08 09:55:19 +02:00
matejcik
266955ba65
refactor: rework pb2py generator
...
This also includes the capability to build Rust protobuf blobs.
2021-06-08 09:55:19 +02:00
matejcik
1c32cbcc1c
ci(core): exclude more things from coverage report
2021-05-06 13:14:21 +02:00
Andrew Kozlik
a8c500bffd
feat(core): Ensure that WebAuthn runs on port 21326 by default for both production and debug emulator.
2021-03-09 16:13:21 +01:00
Martin Milata
c42850f997
chore(core): show total allocations in memperf report
2021-02-18 13:07:19 +01:00
Pavol Rusnak
50fdd183c2
ci: enable editorconfig checks, fix whitespace issues
2020-11-11 14:43:50 +01:00
Martin Milata
62a80e1332
feat(core): tools/alloc.py: generate html
2020-11-02 14:14:00 +01:00
matejcik
93efe3ab63
feat(core): add alloc data analysis tool
...
Modified by mmilata, was:
add alloc data from test suite run, and an analysis tool
2020-11-02 14:14:00 +01:00
matejcik
35035dabcb
ci: omit generated protobuf classes from coverage report
2020-09-23 16:00:10 +02:00
Martin Milata
f3fd98a7ba
core: remove 1px of space on the left of each glyph
...
For PixelOperator (T1) fonts only.
2020-09-01 19:57:46 +02:00
Ondřej Vejpustek
09667a676e
core/tools: update hid-bridge readme
2020-09-01 14:18:57 +02:00
matejcik
032a65e1cf
python: export toif as public module
2020-08-25 11:30:33 +02:00
Martin Milata
71c5bc4e3b
ci: fail if coverage falls under threshold
2020-08-18 21:08:46 +02:00
Pavol Rusnak
a6451dad46
core/fonts: update headers
2020-07-28 10:56:41 +02:00
Pavol Rusnak
47e7550423
core/extmod: add font_pixeloperator{,mono}, use this font for T1
2020-07-28 09:40:30 +02:00
Pavol Rusnak
cec87bba50
core: remove mono bold font variant (not used anywhere)
2020-07-27 23:22:34 +02:00
Pavol Rusnak
df03534955
core: print inverted question mark for nonprintable characters
2020-07-27 16:29:11 +02:00
matejcik
c3a61998cb
core: generate resdata by Mako, use if/elif trick to save RAM
2020-07-24 14:09:31 +02:00
Andrew Kozlik
d1690f4317
core/tools: fix pixel-perfect mode for centered text in dialog-designer
2020-06-09 13:31:42 +02:00
Pavol Rusnak
2815b62838
core/tools: implement "pixel-perfect" mode for dialog-designer tool
2020-06-05 14:11:59 +00:00
Pavol Rusnak
5ed64a0736
core/tools: refactor dialog-designer tool
2020-06-04 21:39:47 +02:00
Pavol Rusnak
d9d5511858
core/tools: add quick'n'dirty dialog-designer tool
2020-06-04 19:56:42 +02:00
matejcik
a623799a11
core: remove f-strings from headertool (python 3.5 compatibility)
2020-05-04 11:29:03 +02:00
Andrew Kozlik
c57bc62a05
core/tools: Add attestation certificate generator for FIDO2.
2020-04-06 18:29:05 +02:00
matejcik
d28e33ef02
core/headertool: support generating vendor headers with explicit size
2020-02-05 12:23:34 +01:00
Pavol Rusnak
4b1159b94d
tools/keyctl-proxy: blue is not readable on my display :)
2020-01-22 16:06:38 +00:00
matejcik
8a5242ed0f
core/tools: make keyctl remote signing more resilient
2020-01-20 17:33:50 +01:00
matejcik
611b734d21
add Pyro4 to pipenv, and make headertool work without it
2020-01-20 17:33:50 +01:00
matejcik
3f85db1b62
core/tools: retain client handle, only ask for passphrase once
2020-01-20 17:33:00 +01:00
matejcik
ccacada37c
core/tools: cleanly shut down keyctl-proxy after signing
2020-01-20 17:32:59 +01:00
matejcik
e9c68d7397
core/tools: pass fw instance properly in keyctl-proxy
2020-01-20 17:32:59 +01:00
matejcik
388843f772
core/tools: make keyctl-proxy output nicer
2020-01-20 17:32:59 +01:00
matejcik
7c56a1296f
core/tools: add help texts to headertool
2020-01-20 17:32:59 +01:00
matejcik
1b04d1caa7
core/tools: drop tools obsoleted by headertool
2020-01-20 17:32:59 +01:00
matejcik
9341f0d584
core: improve building of vendor headers
2020-01-20 17:32:59 +01:00
matejcik
c03ac3f8dd
core/tools: update keyctl-proxy to work with headertool
2020-01-20 17:32:59 +01:00
matejcik
5b48505b88
core/tools: fold keyctl-coordinator into headertool
2020-01-20 17:32:59 +01:00
matejcik
cc29b22f91
core/tools: introduce headertool
2020-01-20 17:32:58 +01:00
matejcik
fe4ef336aa
core/keyctl: get rid of serpent conversions
2020-01-20 17:32:58 +01:00
matejcik
15bd35824b
python/cosi: improve API
...
cosi.verify was renamed to verify_combined, because it is pretty much
ed25519.verify, and the new name implies what it does in terms of the
CoSi scheme: verify a signature with already-combined public keys.
cosi.verify_m_of_n signature was simplified by not requiring the `n`
parameter, which is not important for verification. The updated function
was renamed to cosi.verify, because this is the standard CoSi
verification operation: given signature, digest, required number of
signatures, sigmask, and a list of public keys, verify that enough
signatures are indicated and that they sign the digest.
2020-01-20 17:32:58 +01:00
matejcik
8cced84bc4
core: fix build-icons
2019-12-09 16:31:46 +01:00
matejcik
61e4f79c90
core: use common implementation for toif_convert
2019-12-09 16:31:46 +01:00
matejcik
a46fd6f508
core: auto-generate FIDO icons
2019-12-09 16:31:46 +01:00
Andrew Kozlik
55f69becff
core/tools: Clarify hid-bridge README.
2019-08-09 12:46:41 +02:00
Jan Pochyla
3af75c0b8b
core/typing: improve extmod types
2019-07-09 12:51:48 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible
2019-06-17 20:28:29 +02:00
Pavol Rusnak
0b96b48a8c
core/tools: rename toif_convert to toif_convert.py
2019-06-09 19:17:53 +02:00
Pavol Rusnak
b89134bf3f
core/tools: fix style in toif_convert
2019-06-09 19:04:10 +02:00
Pavol Rusnak
9cb9653c27
core: refactor png2toi/toi2png tools into one toif_convert usable as a library
...
unify filename extensions
2019-06-09 18:07:07 +02:00
matejcik
482b4569f5
build: fix and auto-generate mock files
...
Squashed commit of the following:
commit 84d3486f59bda063f06521c8b695ea4b07781ec6
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:17:15 2019 +0200
mocks: complete
commit d538133a6d0fb4af06c7c81f80b8675869fb5908
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:12:26 2019 +0200
mocks part 3
commit 9f0b868d41dafaf487df6fc844db7f3368eabe1b
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:09:20 2019 +0200
mocks: update generated mocks
commit 5d80c18a7824ed16fc11cde4cdb8ebca7ed33400
Author: matejcik <ja@matejcik.cz>
Date: Thu May 16 15:49:40 2019 +0200
mocks wip 2
commit 4b576eb796136a61eb88cb0d281fa4e21eadada8
Author: matejcik <ja@matejcik.cz>
Date: Tue May 7 17:02:51 2019 +0200
WIP mocks part 1
commit cf3f0d4471ab74b478d2970b0bb178feae7c86a3
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 17:07:53 2019 +0200
core: add package to secp256k1_zkp for mocking
commit 8a12f26c8c0d99363c8df96012426abbbb3ff6cb
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 17:04:05 2019 +0200
core: blackify extmod docstring quotes
commit b6f239676dde8b60b001fcae4e5de80a71dbacf2
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 16:52:27 2019 +0200
core: make build_mocks directory agnostic
mocks: detect bad packages
mocks: revert noqa in favor of setup.cfg
mocks: fix broken comment formatting
2019-05-17 15:45:47 +02:00
matejcik
f8446c3e00
build: centralize pb2py usage
2019-05-17 15:12:32 +02:00
Roman Zeyde
8d47709eec
core/tools: fix typo ( #149 )
2019-05-11 14:18:09 +02:00
matejcik
2e578572dd
add EOS support
...
Squashed commit of the following:
commit 060563458fbc3b4a17f4d77ba5cd62d0c265c806
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 16:16:19 2019 +0200
skip t1 in eos test
commit f759089fef29501467b62bf1540715132a72c4cf
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 15:55:20 2019 +0200
make style
commit 3ecdd5f77b331d7a6e5a46a10c79d80f214f31bd
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu May 9 22:05:41 2019 +0300
Refinements in asset to to string conversion function according to code review and test cases for amounts less than 1
commit 72e44a35bada76abdd94ab866c2113a6d9d85191
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Wed May 8 00:27:45 2019 +0300
Moved to input_flow rest of the tests, cleanup and styling
commit 92f9acbabcbef44a6912b074a309393450f0c8de
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue May 7 21:47:12 2019 +0300
Fix for amounts less then 1
commit 8a0154f7432ab78e69a123202a97194d34c2a3cb
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:26:24 2019 +0300
removed unnecessary peace of code
commit b25c15de3eb1df863760e81ca69f09094349c26e
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:16:57 2019 +0300
Fixed validate path parameters
commit f0f6e7036a8b88d9c5c6b702a8d851e9a9bd3378
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:04:58 2019 +0300
Fixes
commit 0c64d3814300df86d452975b2bd46fea13f512d2
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:19:51 2019 +0300
Fixed styling
commit 41d1e77231e7da78fade9b2efa1b7d1980f0d3a8
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:13:58 2019 +0300
Changes to core, added CURVE to path validation
commit c045b4554ee8e058dbfe35f715b003d0d85ab1d4
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:07:37 2019 +0300
Changes according to review
commit 3f0e6cfd40e7d87dc3287bc3a0b2b9db5dea5377
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon Apr 29 21:37:16 2019 +0300
Added change to make expiration date timezone agnostic
commit efdf44c326cc3f3137c447e798db5439b57c91fa
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu Apr 18 00:14:30 2019 +0300
changes according to code review
commit 3b3723da8f8f536c7c370a14236ea81aac25080a
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:44:50 2019 +0300
Merged python to monorepo
commit da6b0c683c29388e15c889ecea6e7f7471961a19
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:13:42 2019 +0300
Merged core to monorepo
2019-05-10 16:23:18 +02:00
Roman Zeyde
30ae11f22e
core: allow running 'build_protobuf' from any directory ( #106 )
2019-04-24 21:38:51 +02:00
Pavol Rusnak
8b06598474
core+legacy: rework code styling checks
2019-04-18 17:40:55 +02:00
matejcik
e5670856a2
MONOREPO CREATE FROM trezor-core
2019-04-15 19:14:40 +02:00