1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-18 12:28:09 +00:00
trezor-firmware/core
matejcik b1e4246b46 refactor(core/webauthn): make sure KEY_AGREEMENT_*KEY is generated once per power-up
This is what the spec recommends and it has been the case before
workflow-restarts, when `apps.webauthn.fido2` was imported exactly once
per lifetime.

With workflow-restarts, `fido2` is being imported repeatedly and the
keys regenerated. This does not seem to be a problem per the spec -- a
FIDO workflow will retain the same keys, and non-FIDO workflows can be
seen as unplugs/replugs as far as the FIDO functionality is concerned.

However, regenerating the keys is slow, which is a problem for the
hardware-based unit tests. We can avoid the slowness by returning to the
spec-mandated behavior and generating once per power-up.
2021-05-06 13:14:21 +02:00
..
.changelog.d feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
assets
embed refactor(core/usb): do not require serial number on instantiaton of USB 2021-05-06 13:14:21 +02:00
mocks refactor(core/usb): do not require serial number on instantiaton of USB 2021-05-06 13:14:21 +02:00
prof chore: gitignore memperf results 2020-12-11 11:37:56 +01:00
site_scons/site_tools/micropython core: remove qstr blacklist 2020-01-07 20:52:43 +01:00
src refactor(core/webauthn): make sure KEY_AGREEMENT_*KEY is generated once per power-up 2021-05-06 13:14:21 +02:00
tests fix(core/bitcoin): fix CoinJoin authorization with new cache 2021-05-06 13:14:21 +02:00
tools 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
vendor
.dockerignore MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
.gitignore
.pylintrc
.towncrier.template.md docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
asan_blacklist.txt core: asan config 2019-06-27 19:09:55 +02:00
AUTHORS
CHANGELOG.md docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
CHANGELOG.unreleased docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
COPYING
emu.py ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
emu.sh core: remove src1 2020-08-03 15:59:57 +02:00
Makefile feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
README.md ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
SConscript.boardloader core: introduce TREZOR_MODEL flag (#1233) 2020-08-28 14:50:38 +02:00
SConscript.bootloader fix(core): fix reflash build, remove qrcodegen where not used 2021-01-21 15:58:54 +01:00
SConscript.bootloader_ci fix(core): fix reflash build, remove qrcodegen where not used 2021-01-21 15:58:54 +01:00
SConscript.firmware feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
SConscript.prodtest core: introduce TREZOR_MODEL flag (#1233) 2020-08-28 14:50:38 +02:00
SConscript.reflash fix(core): fix reflash build, remove qrcodegen where not used 2021-01-21 15:58:54 +01:00
SConscript.unix feat(core): Add Rust bindings to MicroPython and trezorhal 2021-05-05 16:00:21 +02:00
SConstruct core/bootloader_ci: fix typos in the previous commit 2020-08-21 14:47:35 +02:00
towncrier.toml docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00

Trezor Core

Firmware currently running on Model T.

See docs/core for more info.