1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-13 19:18:56 +00:00
Commit Graph

7499 Commits

Author SHA1 Message Date
Szymon Lesisz
cfc0a7ecd1 common/defs: update support.json (#249) 2019-06-14 15:10:10 +02:00
Tomas Susanka
906013a6d7 ui/mnemonic: small refactor in input's edit 2019-06-13 21:18:23 +02:00
Tomas Susanka
40d55dfe8b ui: remove dead code in mnemonic.py 2019-06-13 17:58:15 +02:00
Jan Pochyla
5bc6bc4635 core: fix request_passphrase notification screen 2019-06-12 16:08:59 +02:00
Jan Pochyla
416226648c core: rotate touch coordinates by default 2019-06-12 15:30:05 +02:00
Roman Zeyde
a4c0645622 core: return exception details in debug mode (#238) 2019-06-11 17:07:18 +02:00
Pavol Rusnak
ebc22e5ccb
ci/legacy: don't build bootloader/demo in bitcoinonly+debug targets 2019-06-11 17:01:13 +02:00
Pavol Rusnak
c1f5432904
Merge pull request #239 from trezor/andrewkozlik/hmac_drbg
Add HMAC DRBG and use it to generate random delays
2019-06-11 16:59:50 +02:00
Roman Zeyde
40bf2c5d2e core: ensure pubkeyhash/scripthash have the correct length (#220) 2019-06-11 14:34:58 +02:00
Andrew Kozlik
e6ee13e798 legacy/common: Temporarily use TRNG to generate random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
6e884203c3 legacy: Add hmac_drbg to bootloader build. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
ad5d9168c8 legacy: Move wait_random() to common.c and use HMAC DRBG to generate delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
013929de0b crypto/hmac_drbg: Fix buffer overflow. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
c2bdd1cf32 core/common: Change delay_random() to wait_random(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
531c610a17 storage: Use wait_random() from common.h. Fix build for tests. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
d95756ccf3 crypto/hmac_drbg: Fix style. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
f677a0f0db core: Use PRNG when generating random delays. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
1d9e125fd4 crypto/rfc6979: Use the new HMAC DRBG implementation in rfc6979.c. Remove code duplication between rfc6979.c and ecdsa.c. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
b915092a44 crypto/hmac_drbg: Add nonce parameter to hmac_drbg_init(). 2019-06-11 11:41:40 +02:00
Andrew Kozlik
7c44340c40 crypto: Add HMAC deterministic random bit generator and unit tests. 2019-06-11 11:41:40 +02:00
Andrew Kozlik
0e277dfcb0 core/slip39: Fixed a bug when generating shares with group_threshold = 1. 2019-06-11 11:26:29 +02:00
Pavol Rusnak
0b96b48a8c
core/tools: rename toif_convert to toif_convert.py 2019-06-09 19:17:53 +02:00
Pavol Rusnak
b89134bf3f
core/tools: fix style in toif_convert 2019-06-09 19:04:10 +02:00
Pavol Rusnak
9cb9653c27
core: refactor png2toi/toi2png tools into one toif_convert usable as a library
unify filename extensions
2019-06-09 18:07:07 +02:00
Ashot Khachatryan
b7d1404803 common/defs: add Bitcore backends to CRW (#234) 2019-06-08 23:01:39 +02:00
Pavol Rusnak
53a4116685
add SECURITY.md 2019-06-06 19:50:57 +02:00
Tomas Susanka
677562d571
Merge pull request #216 from trezor/tsusanka/iss212-monere-tests
ci: download monero tests binary in docker
2019-06-06 10:57:24 +02:00
matejcik
835d5df175
core: reset i2c bus when detected busy
(cherry picked from commit bf79384845)
2019-06-05 14:18:24 +02:00
Pavol Rusnak
e6bb2697c8
core: update ChangeLog 2019-06-05 14:17:38 +02:00
Ashot Khachatryan
6ff644c304 common/defs: new prefixes for CROWN (#222) 2019-06-05 13:42:26 +02:00
Tomas Susanka
adbc724d98 submodules: remove secp256k1-zkp's branch name because it will rotate
see https://github.com/ElementsProject/secp256k1-zkp/issues/68
2019-06-04 08:21:42 +02:00
Tomas Susanka
83a5ae3def ci: download monero tests binary in docker
closes #212
2019-06-03 19:44:41 +02:00
Roman Zeyde
0219c9cef8 common/defs: add Elements regtest support (#213) 2019-06-02 19:39:20 +02:00
Pavol Rusnak
1ee5068128
core/cbor: fix string conversion to work with bytearrays 2019-06-01 11:49:27 +02:00
Andrew Kozlik
31506d81e9
core/cbor: move CBOR from cardano to common
- add support for text strings and boolean values
- add support negative integers and decoding maps
- fix decoding of short strings
- encode maps canonically
- add unit tests for decoding
- sort maps lexicographically by encoded key
2019-06-01 11:38:52 +02:00
Pavol Rusnak
751715dc15
common/defs: add to support.json, regenerate 2019-06-01 08:57:06 +02:00
Scotty0448
a2f16ebb87
common/defs: update sign message headers for RITO and RVN 2019-06-01 08:52:01 +02:00
Roman Zeyde
b538eb3375
core/secp256k1_zkp: refactor API into a Context class
In order to prevent frequent memory allocations, the user can create a single
Context object and re-use it between subsequent cryptographic operations.
2019-05-31 17:29:49 +02:00
matejcik
91b23f3ea2 git subrepo push common
subrepo:
  subdir:   "common"
  merged:   "31a0073c"
upstream:
  origin:   "git+ssh://git@github.com/trezor/trezor-common"
  branch:   "master"
  commit:   "31a0073c"
git-subrepo:
  version:  "0.4.0"
  origin:   "https://github.com/ingydotnet/git-subrepo.git"
  commit:   "5d6aba9"
2019-05-31 16:10:21 +02:00
Tomas Susanka
6a27328801
xmr: get_address - pagination, integrated address (#201)
xmr: get_address - pagination, integrated address
2019-05-31 15:06:46 +02:00
Tomas Susanka
7d845d9090 Revert "submodules: temporary set ElementsProject/secp256k1-zkp submodule a fork due to missing reference"
This reverts commit 088760fa1e.
2019-05-31 14:47:12 +02:00
Tomas Susanka
412efcd35e tests: remove progress bar from curl
It makes CI logs nicer.
2019-05-31 14:44:45 +02:00
Tomas Susanka
088760fa1e submodules: temporary set ElementsProject/secp256k1-zkp submodule a fork due to missing reference
See https://github.com/ElementsProject/secp256k1-zkp/issues/68
2019-05-31 14:13:25 +02:00
Milan Rossa
779ff86214
core: redesign multiprofile support, add profile verbosity 2019-05-31 13:32:49 +02:00
Dusan Klinec
16317f1814
xmr: get_address - pagination, integrated address
- pagination added to show_address
- integrated address supported
- QR code fixed (prefix with monero: as GUI does)
2019-05-31 13:18:11 +02:00
Sean McGary
a7fe56bd57 common/defs: add ASK (#200) 2019-05-31 11:24:35 +02:00
Scotty0448
a2370e0384 common/defs: add Ritocoin blockbook host (#198) 2019-05-30 17:29:01 +02:00
matejcik
21e485709b python/build: drop vendor subdirectory 2019-05-29 18:59:19 +02:00
matejcik
6060a56d2c python/changelog: update changelog, tag release 2019-05-29 18:52:52 +02:00
matejcik
e6f440e11c python: add or update licence headers 2019-05-29 18:48:15 +02:00