1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-23 07:58:09 +00:00
Commit Graph

7243 Commits

Author SHA1 Message Date
Pavol Rusnak
44bb5864d4
fix whitespace 2019-02-19 18:01:10 +01:00
matejcik
11f399230f trezorctl: support signing JSON-encoded transaction data in sign-tx 2019-02-19 17:52:36 +01:00
Pavol Rusnak
a00c7f9720
mpu: rename mpu_config to mpu_config_firmware 2019-02-19 17:52:29 +01:00
matejcik
832053e85d protobuf: improve to_dict function 2019-02-19 17:14:12 +01:00
Pavol Rusnak
7e82f27553
protect: make waiting UI more sexy 2019-02-19 15:32:18 +01:00
Pavol Rusnak
d715873ee6
callback: change ratio to 80% waiting, 20% deriving KEK 2019-02-19 15:31:07 +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
17f6c33c3f trezorlib/tx_api: use tx-specific endpoint for blockbook 2019-02-19 12:57:59 +00:00
Pavol Rusnak
b24c062a3d
firmware: bundle latest bootloader, replace it when needed 2019-02-19 13:21:34 +01:00
Tomas Susanka
1105ba2039 Revert "style"
This reverts commit e52ec86846.
2019-02-18 20:43:08 +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
d95112ba05
firmware/protect: show progressbar in verifying pin dialog
+ update trezor-storage
2019-02-18 19:58:47 +01:00
Pavol Rusnak
b1a382c75b
vendor: update trezor-storage 2019-02-18 19:43:44 +01:00
Pavol Rusnak
d7e7d8ef27
show ui_callback always (before and after) 2019-02-18 19:29:25 +01:00
Pavol Rusnak
38e92407c7
show progress in derive_kek 2019-02-18 19:21:09 +01:00
Andrew Kozlik
c58c265d9c config: Check mnemonic by comparing hashes instead of the actual mnemonics, to mitigate side-channel attacks. 2019-02-18 18:45:26 +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
827df268a6
firmware: fix unused argument in collect_hw_entropy 2019-02-18 18:24:40 +01:00
Pavol Rusnak
540be49897
firmware: use OTP block 3 for storing randomness 2019-02-18 17:57:19 +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
Tomas Susanka
e52ec86846 style 2019-02-18 17:27:10 +01:00
Tomas Susanka
1eb364c26c vendor: trezor-common update 2019-02-18 17:22:46 +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
Tomas Susanka
cb238cb1f1
Merge pull request #280 from ph4r05/xmr-hf10
xmr: Hardfork 10 upgrades
2019-02-18 13:43:50 +01:00
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