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

2821 Commits

Author SHA1 Message Date
Andrew Kozlik
c23ad89ee1 storage: Fix bug in U2F counter upgrade. 2019-02-27 18:27:09 +01:00
Tomas Susanka
a96c39a9d1 mocks: generate 2019-02-27 11:30:58 +01:00
Pavol Rusnak
bac8d9d531
changelog: update 2019-02-25 12:28:06 +01:00
Pavol Rusnak
2311465fdd
firmware: update embedded bootloader 2019-02-24 17:22:10 +01:00
Andrew Kozlik
edae40e22c
pin: do not allow the user to enter an empty PIN
An empty PIN is used to signify PIN removal and T1 does not allow entering an empty PIN neither via web-wallet nor via trezorctl.
2019-02-23 17:50:39 +01:00
Andrew Kozlik
e60914e30f
pin: avoid changing PIN unnecessarily 2019-02-23 17:50:28 +01:00
Andrew Kozlik
456a2c68d6
pin: change show_pin_timeout() to display arbitrary message
Don't pre-check old PIN when removing PIN protection.
2019-02-23 17:50:20 +01:00
Pavol Rusnak
3d82cca381
trezorhal: refactor erasing sectors 2019-02-22 17:22:46 +01:00
Pavol Rusnak
cbe8320d96
vendor: update trezor-storage 2019-02-22 16:22:40 +01:00
Pavol Rusnak
62c0e91dd0
firmware: bundle new bootloader 2.0.3 2019-02-21 21:44:11 +01:00
Pavol Rusnak
5d645ef61b
bootloader: refactor mpu settings 2019-02-21 19:39:50 +01:00
Pavol Rusnak
3055633d84
vendor: update trezor-crypto and trezor-storage 2019-02-21 17:03:44 +01:00
Pavol Rusnak
828ba7b5b0
bootloader: enable MPU, introduce delays to USB stack 2019-02-21 16:53:17 +01:00
Pavol Rusnak
5560a35af7
tools: fix keyctl-proxy 2019-02-21 16:53:01 +01:00
Andrew Kozlik
5ecd77681f vendor: Update trezor-storage. 2019-02-21 15:35:04 +01:00
Jan Pochyla
f5ee6cef98 boot: fade into the "verifying PIN" dialog 2019-02-21 14:06:20 +01:00
Jan Pochyla
86bec3b0ae seed: use sync backlight sliding 2019-02-21 13:22:57 +01:00
Tomas Susanka
f11373c0ee xmr: set 8 null bytes using multiplication 2019-02-21 09:11:54 +01:00
Tomas Susanka
6124c21915 style 2019-02-20 14:38:36 +01:00
Tomas Susanka
2b048ce25c xmr: typos in comments 2019-02-20 14:00:43 +01:00
Tomas Susanka
765d88c2b7
Merge pull request #478 from ph4r05/pr/hf10
xmr: hardfork 10 upgrade
2019-02-20 13:51:02 +01:00
Pavol Rusnak
3a467e756c
embed/trezorhal: move lowlevel.{c,h} from boardloader to trezorhal 2019-02-19 18:30:45 +01:00
Dusan Klinec
bba8bf38eb
xmr: hf10 upgrades
- Deterministic output commitment masks, based on amount_key
- Bulletproof v2 serialization, EcdhInfo serialized as 8 B amount, XOR encrypted by a specific key derived from amount key
- Signing - pseudo_out recomputation on inputs, sign step
- Dummy encrypted payment ID (if applicable) for better transaction uniformity
2019-02-19 14:36:27 +01:00
Pavol Rusnak
ce834d4074
docs: update otp table 2019-02-19 14:00:44 +01:00
Pavol Rusnak
85a482acf2
firmware/bl_check: remove unused macro 2019-02-19 13:58:36 +01:00
Pavol Rusnak
b24c062a3d
firmware: bundle latest bootloader, replace it when needed 2019-02-19 13:21:34 +01:00
Pavol Rusnak
1bc69fa2d6
src/apps/management/recovery_device: ask for PIN in dry_run 2019-02-18 20:05:26 +01:00
Pavol Rusnak
b1a382c75b
vendor: update trezor-storage 2019-02-18 19:43:44 +01:00
Pavol Rusnak
0751c667c3
src/apps/management/recovery_device: constant time mnemonic checking in dry run 2019-02-18 18:44:27 +01:00
Pavol Rusnak
6233cc0720
firmware: fix last commit - lock randomness block after set 2019-02-18 17:43:01 +01:00
Pavol Rusnak
ee3e313230
firmware: use OTP block 3 for storing randomness 2019-02-18 17:28:40 +01:00
Dusan Klinec
72631db462
pb built, templates built 2019-02-18 17:19:05 +01:00
Dusan Klinec
8f077ac30e
xmr: trezor-common version bump 2019-02-18 17:19:04 +01:00
Tomas Susanka
7e3673ad26 common: remove coins.by_address_type because there are conflicts
Unfortunetly, there are coins with the same `address type` field. For
example ZClassic Coin uses the same one as Zcash.
2019-02-18 17:00:17 +01:00
Jan Pochyla
4709af146b ui: fix content invalidation in HoldToConfirmDialog 2019-02-18 11:33:12 +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
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
Andrew Kozlik
6afd9b1d09
tests: Do not require storage to be unlocked prior to calling storage_change_pin(). The function checks the old PIN anyway. 2019-02-15 12:41:55 +01:00
andrew
52c7f0eb93
config: Use efficient implementation of U2F counter from trezor-storage. 2019-02-15 12:41:55 +01:00
andrew
8b78e6710a
common.c: Add error_shutdown().
Upon fatal error display 'Contact TREZOR support'.
2019-02-15 12:41:43 +01:00
andrew
36f354714d
modtrezorconfig: Chenge ui_wait_callback() to return secbool. 2019-02-15 12:39:18 +01:00
andrew
c106e81a05
Update trezor-storage. 2019-02-15 12:39:18 +01:00
andrew
55e030dbae
Add config.lock(). 2019-02-15 12:39:18 +01:00
Pavol Rusnak
8832c6e63b
embed/trezorhal: rename flash functions
flash_erase_sector -> flash_erase
flash_lock -> flash_lock_write
flash_unlock -> flash_unlock_write
2019-02-15 12:39:18 +01:00
Pavol Rusnak
b754ee8cf6
embed/trezorhal: collect HW entropy before MPU kicks in 2019-02-15 12:39:18 +01:00
Pavol Rusnak
c0317e1aff
embed/trezorhal: add more checks to flash write functions 2019-02-15 12:39:18 +01:00