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

2884 Commits

Author SHA1 Message Date
grdddj
07fb451048 feat(core): not allowing to send empty PIN in T2B1
[no changelog]
2023-10-02 16:33:51 +02:00
Martin Milata
3021df8f65 chore(core): bump version to 2.6.3
[skip_ci]
2023-09-29 20:20:19 +02:00
Martin Milata
040f6c2c8e Merge branch 'master' into release/23.09 2023-09-29 16:42:23 +02:00
matejcik
bd1d0822b3 feat(core): spinner for authenticate_device
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
f6c659357a refactor(core): rely on layout code to fill in homescreen default label
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
193a53f22b feat(core/rust): use MODEL_FULL_NAME from build system
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
d913181079 docs(core): add docstrings to modtrezorutils constants
[no changelog]
2023-09-29 16:27:27 +02:00
matejcik
c892d4b0ba refactor(core): inject full model name from build script
so that we don't have to do awkward string operations when we need it

[no changelog]
2023-09-29 16:27:27 +02:00
grdddj
b07f4d938a fix(core): make the marquee take always 2 seconds to animate from end to end
[no changelog]
2023-09-29 14:19:38 +02:00
matejcik
ff4197c50a chore(core): generate changelog, bump bootloader version after release 2023-09-29 11:47:40 +02:00
Andrew Kozlik
b3d0fb68ff feat(core): Improve Optiga transport error handling. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
7d92e70cc3 feat(core): Hide repetitions in Optiga logging. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
dee559f4f9 feat(core): Integrate Optiga into PIN verification. 2023-09-27 17:17:09 +02:00
Andrew Kozlik
6ca1182d85 refactor(core): Add "META" to metadate-related Optiga constants.
[no changelog]
2023-09-27 17:17:09 +02:00
grdddj
046ff15275 feat(core): show the preview of default homescreen image
[no changelog]
2023-09-27 14:14:42 +02:00
matejcik
fbd5c466f0 chore(core): embed QA bootloader 2.1.3 2023-09-27 13:20:02 +02:00
matejcik
bb5b91b920 Merge branch 'master' into release/23.09 2023-09-27 12:58:22 +02:00
tychovrahe
5d017e928d fix(core): reset optiga during initialization
[no changelog]
2023-09-27 12:14:32 +02:00
tychovrahe
510281590f fix(core): add delays to optiga i2c communications
[no changelog]
2023-09-27 12:14:32 +02:00
Ondrej Mikle
36e4a444bb feat(core/bootloader): make bootloader more robust against glitches
[no changelog]
2023-09-27 12:14:13 +02:00
tychovrahe
a6d0842663 fix(core/bootloader): fix erroneous shutdown when rejecting firmware upload 2023-09-27 12:14:13 +02:00
grdddj
144ff52b7a feat(core): show account number in receive/public key details for altcoins
[no changelog]
2023-09-26 11:50:21 +02:00
grdddj
a3f137d488 feat(core): forcing the letter to always change after selection in T2B1 recovery
[no changelog]
2023-09-26 09:28:11 +02:00
grdddj
65c9380ab7 feat(core): triggering delete action in ChoicePage after 1 second even without release
[no changelog]
2023-09-26 08:07:32 +02:00
grdddj
e06335d877 feat(core/rust): differentiate between short and long button press
With the help of this, making long DELETE press delete all the
inputted characters in PIN or passphrase entries.

[no changelog]
2023-09-21 11:30:02 +02:00
tychovrahe
29c16c212d fix(core): fix T2B1 "restarting in" label capitalization
[no changelog]
2023-09-20 21:36:07 +02:00
grdddj
0c4540ae0a feat(core): show new homescreen preview for T2B1
[no changelog]
2023-09-20 13:58:05 +02:00
Andrew Kozlik
1f7c78a4ed test(core): Update emulator device certificate.
[no changelog]
2023-09-19 21:41:42 +02:00
tychovrahe
c1e3ac5b3c fix(core): fix passphrase entry in btconly fw
[no changelog]
2023-09-19 16:33:57 +02:00
grdddj
42a6a5ac9b chore(core): adjust the chunkification logic to account for really mono font
Also improving the positioning of prev/next page arrows when paginating.

[no changelog]
2023-09-19 11:48:58 +02:00
grdddj
ad5c1858c1 chore(core,font): change some glyphs in PixelOperatorMono8
This makes the font really "mono", as previously some characters were
wider than others (m, w, M or W), which did not look good when
relying on the mono properties.

[no changelog]
2023-09-19 11:48:58 +02:00
tychovrahe
c2b787c046 chore(core): skip signature check for make_upload commands
[no changelog]
2023-09-19 10:50:46 +02:00
tychovrahe
3c1236bf82 refactor(core): setup single-place layout selection
[no changelog]
2023-09-18 18:05:37 +02:00
Martin Milata
b9dbdc7057 chore(core): bump version to 2.6.2
[no changelog]
2023-09-18 16:27:07 +02:00
Martin Milata
364c1ce123 docs(core): changelog for 2.6.1 2023-09-15 20:08:41 +02:00
Martin Milata
07027a69e9 Merge branch 'master' into release/23.09 2023-09-15 14:33:20 +02:00
matejcik
21959996bd feat(core/bootloader_emu): allow explicit bootloader locking from command line 2023-09-15 14:08:02 +02:00
Andrew Kozlik
c48b606867 feat(core): Add bootloader_locked flag to Features message.
[no changelog]
2023-09-15 14:08:02 +02:00
tychovrahe
f881fab797 fix(core): disable access to secret in flash after boot
[no changelog]
2023-09-15 13:31:24 +02:00
Andrew Kozlik
686aa78aa7 feat(core): Use Optiga as a source of randomness. 2023-09-15 11:16:57 +02:00
grdddj
8a9354cd85 chore(core): separate confirm_output for T2B1 into two layouts so we can send a button request in between
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
64aad8d4d7 chore(all): add changelog entries for address chunkification 2023-09-15 09:50:21 +02:00
grdddj
bcb353a4a1 feat(core): support optional chunkification of addresses in receive and send flows 2023-09-15 09:50:21 +02:00
grdddj
da3cab22fd fix(tests): add chunkify argument to unittests
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
d48830eb58 chore(makefile): remove missing tests when recording local UI fixtures
[no changelog]
2023-09-15 09:50:21 +02:00
grdddj
618bf43743 feat(all): add optional chunkify parameter for all getAddress and signTx protobuf messages 2023-09-15 09:50:21 +02:00
Martin Milata
69b4f6d80f chore(common): set definition timestamp to the current signed definitions
[no changelog]
2023-09-14 19:25:13 +02:00
grdddj
76c6e9cd9d feat(all): implement support information for T2B1
WIP - change trezor{1,2} to their internal names, add support for model R

WIP - add EOS and NEM features Capability only for TT

WIP - not include EOS and NEM into TR

WIP - choose between device models when generating coininfo

WIP - regenerate coininfo.py

WIP - skip NEM, EOS, Dash, BGold and Decred device tests for TR

WIP - fix python support

WIP - fix unit tests

WIP - import bitcoin-like code only when needed

WIP - remove ignored coins for TR in fixtures.json

WIP - make all the external references to models UPPERCASE

WIP - do the model separation in mako script also for tokens and networks

WIP - hot-fixing non-supporting RELEASES_URL for new model names

WIP - support.py releases CLI command takes a list of -r key-value pairs DEVICE=VERSION

WIP - run `python support.py release`

WIP - use utils.MODEL_IS_T2B1 to ignore NEM and EOS

WIP - change all the docs and commands to have UPPERCASE model names

[no changelog]
2023-09-14 13:54:09 +02:00
grdddj
4b9d22066c chore(core/rust): change the position of up arrow icon
[no changelog]
2023-09-14 11:43:43 +02:00
matejcik
efab85a963 chore(core): include signed and QA bootloaders 2023-09-14 10:13:38 +02:00
grdddj
568c5f135b feat(core/rust): add ChoicePage animation and hold-to-move functionality
[no changelog]
2023-09-13 17:12:51 +02:00
grdddj
272fb4842a feat(core/rust): show last entered passphrase character for T2B1
[no changelog]
2023-09-13 17:12:51 +02:00
matejcik
afa6f84174 feat(core): custom exception types for Optiga 2023-09-13 15:45:48 +02:00
tychovrahe
024ea604ca fix(core): fix optiga warm reset start-up time
[no changelog]
2023-09-13 15:45:48 +02:00
Andrew Kozlik
6f139c9108 feat(core): Implement AuthenticateDevice message. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
db6630a5a3 feat(core): Support Optiga in Trezor firmware. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
8010cfb5b6 feat(core): Add utils.USE_OPTIGA. 2023-09-13 15:45:48 +02:00
Andrew Kozlik
2dc5857336 feat(common): Add AuthenticateDevice message.
[no changelog]
2023-09-13 15:45:48 +02:00
Martin Milata
b221f128ec feat(core): additional btc send/receive warnings 2023-09-12 18:08:41 +02:00
grdddj
70fa46a318 chore(core/rust): decrease top margin over homescreen label in T2B1
[no changelog]
2023-09-12 13:44:21 +02:00
grdddj
623e0ce468 chore(core/rust): improve vertical centering in some screens
[no changelog]
2023-09-12 11:06:38 +02:00
grdddj
d2f67d48fa chore(core/rust): transform if-elif into match
[no changelog]
2023-09-12 11:06:38 +02:00
Martin Milata
66616bbf67 build(core): fix test_emu_ui_record_multicore 2023-09-12 00:39:08 +02:00
Martin Milata
7e9f127aec feat(core): revise path warning on model T 2023-09-12 00:39:08 +02:00
Martin Milata
c1492159f0 fix(core): cardano: include chain code when displaying public key
[no changelog]
2023-09-12 00:39:08 +02:00
Martin Milata
58ffe95369 fix(core): display XPUBs in a similar way to addresses
[no changelog]
2023-09-12 00:39:08 +02:00
Ondrej Mikle
bf96c43d32 chore(core): cstyle reformat
DSVibram AR fix
2023-09-11 14:36:11 +02:00
Ondrej Mikle
ac64d2d2f1 fix(core): one forgotten ensure_compatible_settings 2023-09-11 14:36:11 +02:00
Ondrej Mikle
75a148e414 fix(core): clear memory when not going to use copy firmware header for bootloader 2023-09-11 14:36:11 +02:00
Ondrej Mikle
c0c544b7d8 fix(core): fix bootloader_ci startup, remove unused function from limited_util.s
Fix changelog messages
2023-09-11 14:36:11 +02:00
Ondrej Mikle
b69ef9d168 feat(core): Copy firmware image header to bootloader RAM to be able to skip directly to firmware install, jumping from firmware to bootloader
Change linking of util.s and limited version of util.s to avoid mistakes
with boardloader etc.
2023-09-11 14:36:11 +02:00
grdddj
84659dc904 feat(core/rust): show WRONG PIN header in PIN entry after bad previous PIN input
[no changelog]
2023-09-11 09:29:12 +02:00
Martin Milata
49ce5eb05f ci(core): build bootloader emulators
[no changelog]
2023-09-08 11:55:08 +02:00
matejcik
6e0937c1ce chore(core/bootloader): bump version after release 2023-09-07 11:32:48 +02:00
matejcik
965d3182a0 docs(core/bootloader): generate changelog for 2.1.2 2023-09-07 11:32:48 +02:00
matejcik
409ef8abcd chore(core/embed/boardloader): bump version after release 2023-09-06 11:28:34 +02:00
matejcik
636b964119 chore(core/embed/boardloader): generate changelog, set correct version 2023-09-06 11:28:34 +02:00
matejcik
34b1980893 docs(core/embed/boardloader): add missing changelog entry 2023-09-06 11:28:34 +02:00
matejcik
59d35c8652 chore(core/bootloader): bump version after release 2023-09-06 11:09:45 +02:00
grdddj
8956350aca feat(core): create new Ethereum send flow for TT
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
eed6e0b71c feat(core): create new Ethereum send flow for TR
[no changelog]
2023-09-04 13:50:30 +02:00
grdddj
492ff958a5 feat(core): improve sign message designs
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
09cd64123b feat(core): implement show_more dialogue for TR
[no changelog]
2023-09-01 13:30:29 +02:00
grdddj
45639eeacf chore(core): change error screens according to design
[no changelog]
2023-09-01 10:27:48 +02:00
matejcik
0532585105 docs(core/bootloader): generate changelog for 2.1.2 2023-08-30 15:54:03 +02:00
Ondrej Mikle
088e3b058e feat(core): change core builds to use GNU11 standard instead of GNU99
[no changelog]
2023-08-30 14:33:21 +02:00
tychovrahe
bd0b0b2d15 refactor(core): move model specific norcow config to model header
[no changelog]
2023-08-29 11:17:19 +02:00
tychovrahe
33fc64b629 refactor(core): remove universal DMA driver
[no changelog]
2023-08-29 11:17:03 +02:00
matejcik
04ea95777b chore(core/prodtest): enable Optiga locking 2023-08-29 10:59:34 +02:00
matejcik
f40feec4f9 chore(core): bump prodtest version 2023-08-29 10:59:34 +02:00
Andrew Kozlik
5898b16cd2 feat(core): Implement OPTIGA VerifySign command. 2023-08-29 10:59:34 +02:00
tychovrahe
5470304515 feat(core): Implement OPTIGA provisioning in prodtest.
[no changelog]
2023-08-29 10:59:34 +02:00
Andrew Kozlik
812e77cefd feat(core): Implement OPTIGA secure channel. 2023-08-29 10:59:34 +02:00
Andrew Kozlik
11e1795a89 refactor(core): optiga_execute_command()
- Remove presentation layer parameter.
- Use error-flushing command codes.
2023-08-29 10:59:34 +02:00
Andrew Kozlik
773f79251f feat(core): Implement comparison of OPTIGA metadata. 2023-08-29 10:59:34 +02:00
tychovrahe
ee34425062 feat(core): add install restricted screen on installation with locked bootloader
[no changelog]
2023-08-28 17:04:25 +02:00
grdddj
78d5abd9b1 chore(core): replace View full button text with Show all
[no changelog]
2023-08-28 12:09:58 +02:00
tychovrahe
6c97dfef78 feat(core): add vendor headers for devices with dev bootloader
[no changelog]
2023-08-25 18:54:34 +02:00
tychovrahe
6d9e4321fd feat(core): add install restricted screen on installation with locked bootloader
[no changelog]
2023-08-25 14:41:59 +02:00
grdddj
bb959892ac chore(core): improve the shamir info button handling, regenerate tests
[no changelog]
2023-08-23 11:03:09 +02:00
conduition
30ddabc15b fix(core): more info button on shamir recovery screen
chore(core): add changelog
2023-08-23 11:03:09 +02:00
tychovrahe
c9a657b074 feat(core): set final name for Safe 3
[no changelog]
2023-08-18 16:14:47 +02:00
matejcik
7cf3a655e5 docs(core/bootloader): add changelog entry 2023-08-18 16:13:58 +02:00
matejcik
c0fd783b06 feat(core/bootloader): always use empty logo
Now that the empty logo also shows model name, we do not need to draw
the full logo in bootloader at all.
2023-08-18 16:13:58 +02:00
matejcik
ae7a1c7d52 refactor(core): render full/empty logo same way as in TR 2023-08-18 16:13:58 +02:00
tychovrahe
5947f8a50d feat(core): add model name below empty logo on boot
[no changlog]
2023-08-18 16:13:58 +02:00
tychovrahe
90bdab6599 fix(core): fixed unwanted delays in T2B1
[no changelog]
2023-08-18 16:13:58 +02:00
matejcik
edc2add85e style(core): apply isort 5
[no changelog]
2023-08-16 13:29:51 +02:00
matejcik
6cd174d540 feat: toiftool 2023-08-16 12:47:14 +02:00
matejcik
49bee50132 chore(core): add production-signed vendor headers for T2B1 2023-08-16 10:49:36 +02:00
matejcik
c0de11fbeb fix(core): use stm32f4 implementation of secret.c for unix too
(fixes bootloader_emu build because there was an error in the unix dummy
impl)
2023-08-16 10:32:25 +02:00
Pavol Rusnak
92e29b6036 chore(common): remove MUE support
the coin is dead, domain not working, etc.
2023-08-16 10:31:50 +02:00
tychovrahe
17f13b4140 feat(core): design for T2B1 "unsafe, do not use" screen
[no changelog]
2023-08-15 22:08:11 +02:00
tychovrahe
5a86add884 refactor(core): differentiate models by internal name in python
[no changelog]
2023-08-15 22:08:11 +02:00
matejcik
a41a8c5f87 chore(core): regenerate vendor headers
[no changelog]
2023-08-15 09:37:38 +02:00
matejcik
df84d96244 feat(core): support checking generated vendor headers as part of make gen_check
[no changelog]
2023-08-15 09:37:38 +02:00
matejcik
ec06cc5c40 feat(core): change resolution of embedded prodtest images, bump versions
[no changelog]
2023-08-15 09:37:38 +02:00
tychovrahe
b369e3f4a7 feat(core): enable seamless build of bootloader using devkeys
[no changelog]
2023-08-15 09:37:38 +02:00
tychovrahe
e8281385f6 feat(core): implement secret handling in bootloader 2023-08-15 09:37:38 +02:00
grdddj
6f60462d12 fix(core/rust): do not increase margin of right choice items
[no changelog]
2023-08-09 13:57:09 +02:00
grdddj
9a4cb1887d fix(core): raise ActionCancelled when cancelling tutorial flow for TR
[no changelog]
2023-08-09 13:31:22 +02:00
grdddj
5bcfd5709f chore(core/rust): change fonts in confirm_properties for TT
Making the key font NORMAL and the value MONO in all cases

[no changelog]
2023-08-09 10:50:57 +02:00
grdddj
8d78dd8872 chore(core): change some UI text and TR's screens to match the Figma designs
[no changelog]
2023-08-07 15:30:38 +02:00
Andrew Kozlik
74759310bb feat(core): Integrate OPTIGA Trust M
[no changelog]
2023-08-02 00:35:43 +02:00
grdddj
d48bae4598 chore(core/rust): delete unused NotificationFrame
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
463f0df22a chore(core): modify design of recovery flow
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
a8d57bf2c4 chore(core/rust): add missing traces to components
[no changelog]
2023-07-28 09:41:04 +02:00
grdddj
668bddff17 feat(tools): add scripts for firmware.elf file analysis using binsize
[no changelog]
2023-07-27 13:34:29 +02:00
tychovrahe
238e3fd7c1 refactor(core): add abstraction over flash memory layout
[no changelog]
2023-07-25 10:25:20 +02:00
tychovrahe
fa71c8244c fix(core): fix MPU settings
[no changelog]
2023-07-21 12:28:13 +02:00
tychovrahe
ad1f2360bd fix(core): replace systick based wait in display SPI with loop as systick does not work in fault handlers
[no changelog]
2023-07-21 12:27:54 +02:00
Martin Milata
4a6420c5dd style(core): discovery.py
[no changelog]
2023-07-18 13:22:45 +02:00
grdddj
4227b5c0b9 chore(core/rust): change design of TT's disabled confirm button
[no changelog]
2023-07-18 13:01:25 +02:00
Martin Milata
f9a1592162 build(core): fix DISC1 boardloader build
[no changelog]
2023-07-18 12:01:42 +02:00
grdddj
db9f76df0d chore(style): apply pylint suggestion on site_scons python files
[no changelog]
2023-07-18 10:10:41 +02:00
grdddj
44ff6d42b3 chore(style): apply flake8 findings on site_scons python files
[no changelog]
2023-07-18 10:10:41 +02:00
grdddj
7df3219a7a chore(style): apply black and isort style lints for site_scons python files
[no changelog]
2023-07-18 10:10:41 +02:00
grdddj
91740ae4aa chore(core): change title of Shamir wallet creation
[no changelog]
2023-07-18 10:09:35 +02:00
grdddj
e31eb9570b chore(core/rust): change design of TR's middle button
Move the text one pixel lower so the arms touch it in its center.
Decreasing the overall height by 2 pixels.

[no changelog]
2023-07-18 09:25:01 +02:00
grdddj
ec9569a00e chore(core): regenerate trezorui2.pyi
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
8f7122cb84 fix(core): rename confirm_backup to prompt_backup to signify it does not raise on cancellation
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
52c69de138 chore(all): small design fixes
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
bc502287fc feat(core): new design of recovery dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
03f77c50e9 feat(core/rust): new design of wallet creation dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
672d6b7d13 feat(core): new design of PIN dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
10449759bf chore(core): new designs of passphrase dialogs
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
3f6a55cc3a refactor(core/rust): replace Label::new with alignment-specific constructor
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
c04cd19c6c chore(core/rust): decrease margin space between key and value paragraphs in confirm_properties
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
b5226b55c8 feat(core/rust): use loaders in coinjoin screens
[no changelog]
2023-07-17 15:30:00 +02:00
grdddj
a318706145 feat(core/rust): introduce small indeterminate loader
[no changelog]
2023-07-17 15:30:00 +02:00