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

7384 Commits

Author SHA1 Message Date
Adrian Nagy
0c630831dc Merge remote-tracking branch 'core-local/voting' into voting 2019-04-16 11:10:52 +02:00
matejcik
04bde880c6 monorepo: add notes and creation tool 2019-04-15 19:16:04 +02:00
matejcik
fd2829a27b MONOREPO SUBREPO FILES 2019-04-15 19:15:14 +02:00
matejcik
28e74b5e0e MONOREPO RELINK SUBMODULES 2019-04-15 19:15:14 +02:00
matejcik
37fe33fb4d MONOREPO MERGE python-trezor 2019-04-15 19:15:12 +02:00
matejcik
71f2c0ef25 MONOREPO MERGE trezor-storage 2019-04-15 19:15:05 +02:00
matejcik
6aa05f8a6f MONOREPO MERGE trezor-mcu 2019-04-15 19:14:58 +02:00
matejcik
4e0d813269 MONOREPO MERGE trezor-crypto 2019-04-15 19:14:52 +02:00
matejcik
6cc1706e20 MONOREPO MERGE trezor-common 2019-04-15 19:14:45 +02:00
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
Andrew Kozlik
1003ed9083 slip39: Split decryption out from combine_mnemonics(). 2019-04-15 18:13:29 +02:00
Tim Ruffing
52d34955e7 embed/extmod/modtrezorcrypto: add secp256k1_zkp module
This includes the https://github.com/ElementsProject/secp256k1-zkp library
(which is a fork from sipa/secp256k1 used in Bitcoin Core) as a module. It
is currently not used in any app.

This commit the first step towards integrating Liquid (tracking issue #282).

Note that this creates a new 64 kiB read-only data section in .flash2 for
pre-computed tables (secp256k1_ecmult_static_context) which speed up
signature creation and related private key operations.

Co-authored-by: Roman Zeyde <me@romanzey.de>
Co-authored-by: Andrew Poelstra <apoelstra@wpsoftware.net>
Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
2019-04-15 17:24:55 +02:00
Andrew Kozlik
04dcfea901 slip39: Update MAX_SHARE_COUNT to 16 in accordance with the changes related to adding group_count. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
eedc6057ac slip39: Remove test_invalid_rs1024_checksum(), because it's already included in test vectors. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
f06416eeff slip39: cstyle and documentation. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
cd08c6937b slip39: Remove ShamirMnemonic class. Use binary search to lookup words in wordlist. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
d0527997ee slip39: Add more tests. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
5a9db01d4b slip39: Fix style. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
f5b3ade799 slip39: Add support for group count in the mnemonics. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
db03e2e000 slip39: Fix mnemonic padding check in MicroPython. 2019-04-15 17:24:22 +02:00
Andrew Kozlik
e9a02ebc76 slip39: Add Shamir secret sharing using Daan Sprenkels C implementation for interpolation. 2019-04-15 17:24:22 +02:00
matejcik
2813522b05 tools: refresh mem_* debug tools, blackify 2019-04-15 16:15:28 +02:00
matejcik
832c47a278 client: improve passphrase state handling 2019-04-15 14:38:27 +02:00
Eric Shin
893fd219d4 Add Metadium (META) Support (#313)
* add configuration of metadium netwrok

* add Metadium(META) Icon
2019-04-15 13:44:57 +02:00
Enrique
a63a4e5112 defs: fix Polis xpub and xprv (#312) 2019-04-12 16:59:05 +02:00
Tomas Susanka
5321cb1890 vendor: update trezor-common 2019-04-12 13:49:03 +02:00
Tomas Susanka
3aef649850
Merge pull request #291 from ph4r05/xmr-versions
xmr: add version fields to check for protocol compatibility
2019-04-12 13:46:41 +02:00
Tomas Susanka
2fe02ae87e
Merge pull request #551 from ph4r05/pr/xmr-test-fix
tests: minor monero script test fix, quotes
2019-04-11 21:17:03 +02:00
Dusan Klinec
8530d05ebe
tests: minor monero script test fix, quotes 2019-04-11 16:46:18 +02:00
Tomas Susanka
c55b655325
Merge pull request #541 from ph4r05/pr/monero-bin-test
tests: monero binary test added
2019-04-11 13:45:32 +02:00
Vladyslav Burzakovskyy
817c84e96e utils: optimize __slots__ comparison
when comparing __slots__, do not create a new dict, but access attributes directly instead
2019-04-11 13:22:00 +02:00
Jan Pochyla
7533409765 pin: avoid overdraw 2019-04-11 12:32:42 +02:00
Dusan Klinec
1398e7a0cb
tests: monero binary test added 2019-04-11 11:35:40 +02:00
Jan Pochyla
bd812fecf9
homescreen: do not return from homescreen workflow 2019-04-10 20:23:18 +02:00
Tomas Susanka
c462918e3e
display: store rotation in storage
updates #162
2019-04-10 20:23:18 +02:00
Tomas Susanka
c2b7b8032a
vendor: update trezor-common; protobuf, templates build 2019-04-10 20:23:15 +02:00
Pavol Rusnak
8af1f36436
vendor: update trezor-common 2019-04-10 16:58:04 +02:00
Pavol Rusnak
2e4e89543f
style: fix style 2019-04-10 16:46:25 +02:00
Jan Pochyla
84c14042b6 ui: save screen after refresh, if env var is set 2019-04-10 16:34:31 +02:00
Jan Pochyla
22759ca95f unix: enable micropython uos extmod 2019-04-10 16:34:31 +02:00
Tomas Susanka
a36c100eb9 src/apps/webauthn: pad last packet with zeros (#544) 2019-04-10 16:30:54 +02:00
Ciny
2227fc60b8 src/apps/wallet: display custom locktime confirmation (#540) 2019-04-10 16:22:04 +02:00
Tomas Susanka
35ac4742bd
Merge pull request #542 from trezor/tsusanka/curve-check
paths: validate curve as well
2019-04-10 15:52:59 +02:00
Andrew Kozlik
d4cfc82fce
Merge pull request #536 from trezor/534
recovery: Verify the return value of config.has_pin() in dry run recovery. Improve UI messages. Remove code duplication in modtrezorconfig.c.
2019-04-10 15:24:53 +02:00
Tomas Susanka
b84d0e8452 paths: disallow special ed25519 curves 2019-04-09 16:32:52 +02:00
Tomas Susanka
8aa60e6cfd paths: validate curve as well 2019-04-09 16:18:34 +02:00
matejcik
da95537e34 omni: add space before symbol 2019-04-09 14:26:55 +02:00
matejcik
fa7095add9 omni: parse data as big-endian 2019-04-09 14:25:38 +02:00
Tomas Susanka
ac318cc65b
Merge pull request #543 from MrMebelMan/run_tests_update
Update run_tests.sh: show totals, allow interrupts, add colors
2019-04-09 14:21:27 +02:00
Pavol Rusnak
90bd68f55a
Merge pull request #310 from trezor/szymonlesisz/fix_connect_support
remove incompatible coins from connect
2019-04-09 13:51:04 +02:00