Commit Graph

1190 Commits (91d9bd28c2b70ca0beeb3e5e46e562a49c417487)
 

Author SHA1 Message Date
Pavol Rusnak 91d9bd28c2
build: don't try to sign emulator build
6 years ago
Andrew Kozlik f05664fdf3
config: Avoid unlocking storage after wipe.
6 years ago
Andrew Kozlik b62ab43b95
config: Avoid wiping storage twice.
6 years ago
Andrew Kozlik db47ff4e51
config: Auto-unlock storage if no PIN is set. Update trezor-storage with improved ui_callback() reporting.
6 years ago
Andrew Kozlik 2482e11112
protect: check old PIN before requesting new PIN
6 years ago
Andrew Kozlik ae0395f0f4
protect: Update protectPinUiCallback() to show arbitrary message.
6 years ago
Pavol Rusnak 806f943116
bootloader: require only left button to start the bootloader
6 years ago
Pavol Rusnak 99c6777c7c
vendor: update trezor-storage
6 years ago
Andrew Kozlik a7a9eab445
config: Fix pointer arithmetic in config_upgrade_v10().
6 years ago
Pavol Rusnak 276cd4b44a
firmware: set NORCOW_HEADER_LEN to 0
6 years ago
Pavol Rusnak 08b462b2b9
vendor: update trezor-storage
6 years ago
Pavol Rusnak 80840b2321
firmware: change bootloader 1.8.0 hash in the whitelist
6 years ago
Pavol Rusnak 400ac96873
bootloader: refactor to save space
6 years ago
Pavol Rusnak 07231d936e
introduce new memory layout
6 years ago
Pavol Rusnak fe39d10211
vendor: update trezor-storage
6 years ago
Pavol Rusnak b26e90daf9
firmware: add bootloader 1.8.0 to whitelist
6 years ago
Pavol Rusnak d9841c29e4
vendor: update trezor-crypto
6 years ago
Pavol Rusnak 22f37e81a3
bootloader: enable MPU, introduce delays to USB stack
6 years ago
Pavol Rusnak 0f5c96926c
firmware/u2f: memzero the readbuffer
6 years ago
Pavol Rusnak 7492cf07fc
firmware: fix buffer size in address_n_str
6 years ago
Pavol Rusnak fd46339f5c
ethereum: clear local variables in layoutEthereumFee
6 years ago
Pavol Rusnak c7af39bf8d
use shutdown from startup.s
6 years ago
Pavol Rusnak 44bb5864d4
fix whitespace
6 years ago
Pavol Rusnak a00c7f9720
mpu: rename mpu_config to mpu_config_firmware
6 years ago
Pavol Rusnak 7e82f27553
protect: make waiting UI more sexy
6 years ago
Pavol Rusnak d95112ba05
firmware/protect: show progressbar in verifying pin dialog
6 years ago
Andrew Kozlik c58c265d9c config: Check mnemonic by comparing hashes instead of the actual mnemonics, to mitigate side-channel attacks.
6 years ago
Pavol Rusnak 827df268a6
firmware: fix unused argument in collect_hw_entropy
6 years ago
Pavol Rusnak 540be49897
firmware: use OTP block 3 for storing randomness
6 years ago
Pavol Rusnak 402e7c4ec6
firmware: fix undefined symbol in emulator
6 years ago
Pavol Rusnak 07d2994d0c
vendor: add ignore=untracked to QR code generator submodule
6 years ago
Pavol Rusnak 79e9ae28b7
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator
6 years ago
Pavol Rusnak 92382d3f2c
Merge branch 'trezor-storage-integration'
6 years ago
Pavol Rusnak 67c0f8b8a1
storage: use fixed hw_entropy in unprivileged mode
6 years ago
Pavol Rusnak 9a9c537afd
vendor: update trezor-storage
6 years ago
Andrew Kozlik 5230a0f846
config: Do not lock storage after completing loadDevice().
6 years ago
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.
6 years ago
Andrew Kozlik d5e18a489a
Update trezor-storage.
6 years ago
Andrew Kozlik 55bc3c7430
config: Check metadata magic before upgrading storage from version 10. Bump config version.
6 years ago
Andrew Kozlik 0b79d0e596
config: Store cleartext PIN for DEBUG_LINK.
6 years ago
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.
6 years ago
Andrew Kozlik 45193ffc1d
config: Use secbool instead of bool at least internally.
6 years ago
Andrew Kozlik dc848be167
config: Cache auto-lock delay.
6 years ago
Andrew Kozlik 0e48a1a39a
Fix spaces/tabs so that a single convention is used in each file.
6 years ago
Andrew Kozlik 8502ee61a3
Upon fatal error display 'Contact TREZOR support' instead of 'Unplug your device'.
6 years ago
andrew 2f9010824d
config: Erase HW_ENTROPY_DATA when no longer needed.
6 years ago
andrew faa0664b62
config: Use efficient implementation of U2F counter from trezor-storage.
6 years ago
andrew 3c05a2da12
Fix rebase.
6 years ago
andrew 05f3b74b65
Fix rebase.
6 years ago
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.
6 years ago