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

2836 Commits

Author SHA1 Message Date
matejcik
e5670856a2 MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +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
Tomas Susanka
5321cb1890 vendor: update trezor-common 2019-04-12 13:49:03 +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
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
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
Vladyslav Burzakovskyy
7e5ab98303 tests/run_tests.sh: show the number of passed and failed tests
allow the user to stop running tests (CTRL+C)

colorize the output
2019-04-09 00:58:26 +02:00
Tomas Susanka
22dfe10c56 monero: drop secp256k1 curve 2019-04-05 11:58:10 +02:00
Andrew Kozlik
388fc2ae77 recovery: Verify the return value of config.has_pin() in dry run recovery. Improve UI messages. Remove code duplication in modtrezorconfig.c. 2019-04-04 16:25:02 +02:00
Tomas Susanka
396f5f1937
Merge pull request #532 from trezor/tsusanka/path-validation
Pass Keychain to path validation function to throw error before warning
2019-04-04 13:40:59 +02:00
Jan Pochyla
d1a01bebc5 seed: simplify Keychain.validate_path 2019-04-04 11:41:23 +02:00
Tomas Susanka
7cadefcdd0 common: pass Keychain to path validation function
closes #519
2019-04-03 10:36:15 +02:00
Jan Pochyla
e89699817f modtrezorui: Display.save skips identical screens (#530) 2019-04-02 15:26:34 +02:00
Tomas Susanka
64925350a2 monero: correct header in live refresh confirmation 2019-03-29 17:23:00 +01:00
Pavol Rusnak
0b7dbc12cb
format: start using clang-format with style=Google 2019-03-29 16:35:27 +01:00
Tomas Susanka
e53826e951
Merge pull request #503 from vacuumlabs/cardano-taint
cardano: taint pages to prevent blank screen
2019-03-29 16:21:35 +01:00
Tomas Susanka
5deeb7d6f5 mnemonic: do not use progress bar for U2F
fixes #523
2019-03-29 14:27:27 +01:00
Pavol Rusnak
fb8d6fe820
tools: add hid-bridge by Ondrej Vejpustek 2019-03-28 19:16:44 +01:00
Roman Zeyde
6a54839acb tests: allow running tests from any directory (#487) 2019-03-26 14:12:09 +01:00
Pavol Rusnak
c46be39d58
build: update cstyle/cstyle_check targets 2019-03-25 19:48:47 +01:00
Pavol Rusnak
4dcd3b5812
build: fix shebang and remove prodtest from build-docker 2019-03-25 19:14:44 +01:00
Pavol Rusnak
1a24824136
gitlab: fix last commit 2019-03-25 15:57:20 +01:00
Pavol Rusnak
478df1c2a9
gitlab: store artefacts of each build 2019-03-25 15:34:35 +01:00
Tomas Susanka
8f4795a7d7
Merge pull request #504 from trezor/tsusanka/numpad-improve
ui: add back button to NumPad
2019-03-20 12:57:21 +01:00
Tomas Susanka
9dee03a0d5 ui: add back button to NumPad 2019-03-19 16:18:38 +01:00
matejcik
118ca37304 docs: fix curve names 2019-03-19 15:44:42 +01:00
Matúš Juran
fc46373d89 cardano: taint pages
Taint pages to ensure the texts are rendered when swiping.
2019-03-18 14:16:44 +01:00
Tomas Susanka
67907b6c4c
Merge pull request #502 from trezor/matejcik/coins-doc
Coins doc update (WIP)
2019-03-18 12:21:57 +01:00
matejcik
29cfdfad2f docs: add EOS, Tron and Ontology (WIP) 2019-03-15 19:06:33 +01:00
matejcik
28dd517668 docs: refactor and update coins README 2019-03-15 18:59:55 +01:00
Tomas Susanka
f697751d53 style: print versions to log 2019-03-15 14:40:48 +01:00
Tomas Susanka
05c055080a style: fix for black v19.3b0 2019-03-15 14:30:57 +01:00
Tim Ruffing
6e736b764c docs: Use proper make targets for code style (#499) 2019-03-15 11:58:36 +01:00
Tomas Susanka
edb8177f1a
Merge pull request #480 from trezor/tsusanka/numpad
NumPad to enter a number from arbitrary range easily
2019-03-14 10:38:52 +01:00