1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
Commit Graph

41 Commits

Author SHA1 Message Date
amadejpapez
85ba7c12ba style(all): use f-strings for formatting
[no changelog]
2021-10-13 11:53:17 +02:00
Ondřej Vejpustek
8ee17f69b3 refactor(core): move wait_random and rdi into separate file 2021-05-21 13:42:53 +02:00
Andrew Kozlik
4c2e4bcb65 fix(storage): Check for overflow in counter increment. 2021-03-26 10:54:56 +01:00
Andrew Kozlik
2836bfc64c fix(core): Improve error handling and range checking in modtrezorconfig. 2021-03-26 10:54:56 +01:00
Andrew Kozlik
8f5f5daaab test(storage): Update tests to comply with new storage version and interface. 2021-03-25 14:24:41 +01:00
Andrew Kozlik
c68e91c12a feat(storage): Support PIN and wipe code of unlimited length. 2021-03-25 14:24:41 +01:00
Pavol Rusnak
179645e3ad core: unify usage of TREZOR_MODEL 2020-06-06 21:06:15 +02:00
Tomas Susanka
41966c60db legacy: initialized field in Features is true only if mnemonic is stored 2020-06-05 11:07:01 +02:00
Andrew Kozlik
bfd834d1de storage: Add storage_ensure_not_wipe_code(). 2020-03-19 15:04:33 +01:00
Andrew Kozlik
77bb6deb66 storage: Check for invalid PIN. 2020-03-17 11:53:48 +01:00
Tomas Susanka
a28f29708f ci: add junit for a nice tests overview 2020-01-03 12:44:12 +00:00
Tomas Susanka
49cf2423f5 storage: move unlocked statement straight after key generation 2019-12-09 08:11:19 +00:00
Tomas Susanka
2aa49fda96 storage/tests: test non-existing key 2019-12-09 08:11:19 +00:00
Tomas Susanka
252d069a66 storage: unlock storage after wipe 2019-12-09 08:11:19 +00:00
Tomas Susanka
1b88840f53 docs: move docs to root 2019-12-06 12:24:20 +00:00
Andrew Kozlik
de96e675e5 fixup! storage: Implement storage_change_wipe_code(). 2019-12-02 16:06:36 +01:00
Andrew Kozlik
579244b068 storage: When wiping, erase the active sector first. 2019-12-02 16:05:27 +01:00
Andrew Kozlik
d0d3ad2912 fixup! storage: Change secequal32() to use length in bytes instead of length in words. 2019-12-02 14:29:04 +01:00
Andrew Kozlik
a08b66ee6c storage: gitignore hypothesis and libtrezor-storage.so. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
a3b608d8dd storage, core: Reveal the wipe code status after the device is unlocked. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
b874539e2c storage: Change secequal32() to use length in bytes instead of length in words. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
1deebf1065 storage: Add STORAGE_UPGRADED_KEY to protect against fake storage upgrade attacks. 2019-11-25 12:32:20 +01:00
Andrew Kozlik
a9b98ab966 storage: Implement storage_change_wipe_code(). 2019-11-25 12:32:20 +01:00
Pavol Rusnak
d761a57689
storage: introduce FLAGS_APPID 2019-11-11 19:47:48 +01:00
Pavol Rusnak
1caae698ca
storage: make FLAG_PUBLIC and FLAGS_WRITE part of public API 2019-11-11 19:47:48 +01:00
Pavol Rusnak
76eefd026f
all: let's use -Wno-missing-braces because clang does not respect
initialization of structs with = {0};
2019-10-11 09:59:32 +02:00
Ondřej Vejpustek
97ba9f17d9
storage: explicitly initialize variables 2019-10-09 17:07:42 +02:00
Andrew Kozlik
4f01003637 storage: Add external salt parameter to unlock() and change_pin(). 2019-09-18 18:53:42 +02:00
matejcik
cb99a175ea storage: explicitly reseed in PRNG tests 2019-08-12 12:57:25 +02:00
Jan Pochyla
d53d6f82cb storage: fix incomatibility with new pytest 2019-07-09 14:47:24 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
Andrew Kozlik
531c610a17 storage: Use wait_random() from common.h. Fix build for tests. 2019-06-11 11:41:40 +02:00
Pavol Rusnak
f7053d96fe
all: remove extraneous whitespace 2019-05-26 22:20:14 +02:00
matejcik
9b168daa19 style: improve makefile output, format test files 2019-05-13 18:00:43 +02:00
Pavol Rusnak
25cfd505f4
storage: allright isort, you win 2019-05-04 22:47:05 +02:00
Pavol Rusnak
0ae10a1924
legacy+storage: fix style checks 2019-05-04 22:42:40 +02:00
Tomas Susanka
6657134bd8 storage: alter README to reflect monorepo 2019-04-25 16:50:56 +02:00
Tomas Susanka
18482a9c37 storage: style 2019-04-25 16:50:56 +02:00
Tomas Susanka
99329fb30d storage: add tests
from https://github.com/trezor/trezor-storage-test
2019-04-25 16:50:56 +02:00
Pavol Rusnak
8b06598474
core+legacy: rework code styling checks 2019-04-18 17:40:55 +02:00
matejcik
71f2c0ef25 MONOREPO MERGE trezor-storage 2019-04-15 19:15:05 +02:00