Jan Pochyla
|
4709af146b
|
ui: fix content invalidation in HoldToConfirmDialog
|
2019-02-18 11:33:12 +01:00 |
|
Dusan Klinec
|
e7e80cdeb7
|
xmr: hf10 upgrades
|
2019-02-18 02:45:04 +01:00 |
|
Pavol Rusnak
|
402e7c4ec6
|
firmware: fix undefined symbol in emulator
|
2019-02-18 00:54:56 +01:00 |
|
Pavol Rusnak
|
07d2994d0c
|
vendor: add ignore=untracked to QR code generator submodule
The submodule does not contain .gitignore and we produce .d and .o
files in their directory :-/
|
2019-02-17 19:16:35 +01:00 |
|
Pavol Rusnak
|
4f28093d2e
|
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator
|
2019-02-16 17:36:08 +01:00 |
|
Pavol Rusnak
|
79e9ae28b7
|
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator
|
2019-02-16 17:21:35 +01:00 |
|
Pavol Rusnak
|
4211ce389f
|
bignum: check values of decimals and exponent in bn_format
|
2019-02-16 16:49:12 +01:00 |
|
Saleem Rashid
|
2ac59892b7
|
nem: refactor serialization code
|
2019-02-16 16:49:12 +01:00 |
|
Pavol Rusnak
|
e3caf14c43
|
memzero: add newlib support
|
2019-02-16 16:14:12 +01:00 |
|
Andrew Kozlik
|
b2a0d55fd6
|
memzero: automate the selection of the implementation (#196)
|
2019-02-16 16:03:46 +01:00 |
|
Pavol Rusnak
|
ad51a5451c
|
hasher: use param_size in call to blake2b_InitPersonal
|
2019-02-16 15:04:34 +01:00 |
|
Pavol Rusnak
|
92382d3f2c
|
Merge branch 'trezor-storage-integration'
|
2019-02-15 15:52:01 +01:00 |
|
Pavol Rusnak
|
67c0f8b8a1
|
storage: use fixed hw_entropy in unprivileged mode
|
2019-02-15 15:13:07 +01:00 |
|
Pavol Rusnak
|
9a9c537afd
|
vendor: update trezor-storage
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
5230a0f846
|
config: Do not lock storage after completing loadDevice().
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
b4c0b59c89
|
msg: GetFeatures should always return passphrase_protection, needs_backup, unfinished_backup and no_backup, even if the value is not available in storage.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
d5e18a489a
|
Update trezor-storage.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
55bc3c7430
|
config: Check metadata magic before upgrading storage from version 10. Bump config version.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
0b79d0e596
|
config: Store cleartext PIN for DEBUG_LINK.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
6b66c7540c
|
config: Remove unused functions config_hasMnemonic() and config_hasNode(). Since mnemonic and node are protected entries, these functions would always return false when storage is locked. We now instead use the INITIALIZED flag which is public.
|
2019-02-15 15:13:07 +01:00 |
|
Andrew Kozlik
|
45193ffc1d
|
config: Use secbool instead of bool at least internally.
|
2019-02-15 15:13:06 +01:00 |
|
Andrew Kozlik
|
dc848be167
|
config: Cache auto-lock delay.
|
2019-02-15 15:13:06 +01:00 |
|
Andrew Kozlik
|
0e48a1a39a
|
Fix spaces/tabs so that a single convention is used in each file.
|
2019-02-15 15:13:06 +01:00 |
|
Andrew Kozlik
|
8502ee61a3
|
Upon fatal error display 'Contact TREZOR support' instead of 'Unplug your device'.
|
2019-02-15 15:13:06 +01:00 |
|
andrew
|
2f9010824d
|
config: Erase HW_ENTROPY_DATA when no longer needed.
|
2019-02-15 15:13:06 +01:00 |
|
andrew
|
faa0664b62
|
config: Use efficient implementation of U2F counter from trezor-storage.
|
2019-02-15 15:13:06 +01:00 |
|
andrew
|
3c05a2da12
|
Fix rebase.
|
2019-02-15 15:13:06 +01:00 |
|
andrew
|
05f3b74b65
|
Fix rebase.
|
2019-02-15 15:13:06 +01:00 |
|
andrew
|
ae48b528a9
|
config: Rename session_isPinCached() to session_isUnlocked(). Change GetFeatures to always return pin_cached=false if PIN is not set, in order to maintain the same behavior as before.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
66ffa4c7dc
|
config: Add hardware entropy to storage_init().
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
c592a09459
|
protect.c: Display 'Verifying PIN' instead of 'Wrong PIN entered' in the PIN_UI_WAIT_CALLBACK.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
7b0f5e031d
|
config: Change config_get*() functions to return status of the get operation.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
5d4fb55561
|
Improve __fatal_error() layout.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
03e9ea4f5c
|
Support interruption of the PIN wait dialog by Cancel and Initialize messages.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
e49e84ea5a
|
Reorder storage keys in config.c to correspond with trezor-core and add KEY_INITIALIZED. Add CHECK_PIN to fsm_msgApplyFlags() and to other fsm_msg functions in order to unlock storage. Improve error handling in reset.c and recovery.c.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
247337c63d
|
Do not lock after wipe. Fix protectPinUiCallback() to correctly display '0 seconds' when wait is 0.
|
2019-02-15 15:13:05 +01:00 |
|
andrew
|
d433401311
|
Update trezor-storage.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
a7fcf9b036
|
Fix key constant in config_setLanguage(). Update trezor-storage.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
679174ea7a
|
Fix separated backup. Fix forgotten config_getMnemonic() in DEBUG_LINK build.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
681137c2ef
|
Unlock for testing.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
b8932205ce
|
Update trezor-storage.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
d970597ddd
|
Fix emulator memory access.
|
2019-02-15 15:13:04 +01:00 |
|
andrew
|
4f32cb5083
|
firmware: integrate trezor-storage
|
2019-02-15 15:12:53 +01:00 |
|
Pavol Rusnak
|
5137f4ec00
|
firmware: bump version to 1.8.0
|
2019-02-15 14:25:49 +01:00 |
|
Pavol Rusnak
|
5688a9e47e
|
gitignore: add *.d
|
2019-02-15 14:11:29 +01:00 |
|
Pavol Rusnak
|
6d817a813d
|
Merge branch 'trezor-storage-integration'
|
2019-02-15 13:56:55 +01:00 |
|
Andrew Kozlik
|
69efeac015
|
tests: Limit the APP values in test_trezor.config to 1, ..., 63
to account for the fact that the top two bits are being used
as permissions flags.
|
2019-02-15 12:43:54 +01:00 |
|
Andrew Kozlik
|
bc46892ba0
|
vendor: update trezor-storage
|
2019-02-15 12:43:54 +01:00 |
|
Andrew Kozlik
|
06ef27a718
|
config: Erase HW_ENTROPY_DATA when no longer needed. This assumes that config.init() is called only once in production. For the emulator tests config.init() can be called repeatedly, since HW_ENTROPY_DATA is null-initialized to begin with.
|
2019-02-15 12:43:54 +01:00 |
|
Andrew Kozlik
|
fd6eb333a6
|
src/apps/common/storage: allow U2F counter to be written even when storage is locked
|
2019-02-15 12:43:38 +01:00 |
|