1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 05:28:40 +00:00
Commit Graph

2680 Commits

Author SHA1 Message Date
Jan Pochyla
6682262925 add support for generating compile_commands.json
Useful for IDE support and static code analysis.
To generate the database for Unix build, run:
`intercept-build make build_unix`
and analyze using:
`analyze-build`
2019-01-04 12:28:19 +01:00
matejcik
f7a54e7c58 travis: drop pipenv workaround from october, update pipfile lock 2018-12-28 15:15:47 +01:00
Pavol Rusnak
076d1a7e53
game: small fix to 2048 2018-12-23 13:28:42 +01:00
Pavol Rusnak
be833053a9
game: move game files to src_game 2018-12-22 19:39:14 +01:00
Pavol Rusnak
fb495a6afc
tests/examples: update 2048 code 2018-12-21 23:51:22 +01:00
Pavol Rusnak
a1f4e1a7b6
vendor: update trezor-crypto 2018-12-18 12:13:29 +01:00
Pavol Rusnak
028688ec17
vendor: update trezor-common and trezor-crypto 2018-12-18 00:14:23 +01:00
Jan Pochyla
4c46a055ff
Merge pull request #411 from trezor/keychain
Introduce Keychain API
2018-12-13 16:06:01 +01:00
Jan Pochyla
7730533dde seed: use lazy seed derivation, wipe after the workflow ends 2018-12-13 15:58:41 +01:00
Jan Pochyla
a0df8c74d5 modtrezorcrypto: add explicit __del__ to HDNode 2018-12-13 15:47:05 +01:00
Jan Pochyla
e3c0f8e8ad seed: pass keychain to workflows, add namespaces 2018-12-13 15:47:05 +01:00
Jan Pochyla
931e549c92 tests: eth RSK -> RBTC 2018-12-13 15:47:05 +01:00
Jan Pochyla
d5f6be09f8 tools: regenerate templates 2018-12-13 15:47:05 +01:00
Jan Pochyla
79aebf4d58 vendor: bump trezor-common
Fixes issues with unstable sort.
2018-12-13 15:47:05 +01:00
Jan Pochyla
852bf8f4ef wallet: use keychain API in signing, fix tests 2018-12-13 15:47:05 +01:00
Jan Pochyla
172f3cb22f wallet: factor out a few helper functions 2018-12-13 15:47:05 +01:00
Jan Pochyla
7448030843 wallet: remove "import *" from sign_tx 2018-12-13 15:47:05 +01:00
Jan Pochyla
9ecd123bd5 seed: add support for key namespaces 2018-12-13 15:47:05 +01:00
Jan Pochyla
5bc47fc567 apps: introduce Keychain API 2018-12-13 15:47:05 +01:00
Pavol Rusnak
312c252bc1
embed/extmod/modtrezorcrypto: add missing assignment to zero 2018-12-12 16:52:56 +01:00
Pavol Rusnak
5a79f318a4
src/apps/management: add link to ToS to reset_device 2018-12-10 17:56:54 +01:00
Pavol Rusnak
a96d1f78d0
Makefile: fix typo 2018-12-05 12:33:36 +01:00
Pavol Rusnak
587efeafa7
embed: update changelog, bump versions 2018-12-05 12:26:45 +01:00
Pavol Rusnak
5c3a5d4577
src/apps/ethereum: regenerate tokens 2018-12-05 11:40:57 +01:00
Jan Pochyla
98dab122f9
passphrase: use same max length as T1 2018-12-05 11:39:28 +01:00
Pavol Rusnak
8120ee91f6
boardloader+bootloader: bump versions 2018-12-04 14:20:16 +01:00
Jan Pochyla
9da2c9502e ui: properly taint child components 2018-11-30 16:10:47 +01:00
Jan Pochyla
25788e90e8 tools: regenerate templates 2018-11-30 16:10:47 +01:00
Jan Pochyla
75027b0579 vendor: bump trezor-common 2018-11-30 16:10:47 +01:00
Tomas Susanka
f3c401a5c9 wallet: do not validate script type in sign message function 2018-11-30 15:56:30 +01:00
Tomas Susanka
d5fb2a477a eth/verify: path is not validated; improve invalid signature handling
Ethereum's verify_function takes an actual address as an argument not a
derivation path. So any path validation does not make any sense.

Also, if the verify_recover function raises an exception, it gets
propogated as a DataError (additional fix for #422).
2018-11-30 13:32:13 +01:00
Tomas Susanka
47790634ae
Merge pull request #426 from ph4r05/pr/xmr-payment-id-fix
xmr: payment ID computation fix
2018-11-28 09:37:47 +01:00
Dusan Klinec
f810230e71
xmr: payment ID computation fix
- typo in tail differentiating tag caused invalid short payment id encryption. was 0x8B, should have been 0x8D
- 69b646494b/src/device/device_default.cpp (L39)
- 69b646494b/src/device/device_default.cpp (L287)
2018-11-27 22:21:40 +01:00
Jan Pochyla
dd5eba8da9 ui: reduce flicker in buttons, text, and pin dialog 2018-11-27 14:49:59 +01:00
Jan Pochyla
faa665a80b unix: fix SDL issues in MacOS Mojave 2018-11-27 14:49:59 +01:00
Tibor Arpas
ea4610afd2 Fixing make test_emu in some environments. 2018-11-27 14:42:49 +01:00
Tomas Susanka
8213fee15b eth: replace fw error with data error in verify function
closes #422
2018-11-26 16:28:40 +01:00
matejcik
c3112fd83d embed/trezorhal: only poll CTPM when touch is detected
Because CTPM dislikes being polled when no touches are seen, keeps
resetting, and maybe freezes once in a while. This is very likely a fix
for #334.

Before, we would simply read the touch registers on every loop. Now we
first check whether the interrupt line is down, which indicates that the
CTPM has data to tell us.

Tracking the `touching` flag is necessary, as sometimes we don't poll
frequently enough to catch the TOUCH_END event before interrupt line
goes up again.
The `last_packet` handling miiight not be necessary - AFAICT, the CTPM
has some sort of buffer and always returns TOUCH_START at first and
TOUCH_END at last. Still, better safe than sorry.
2018-11-26 14:47:06 +01:00
Tomas Susanka
72bc784f7f Revert "TEMPORARY: run tests against tsusanka/paths python-trezor branch"
This reverts commit 2acf0d10bd.
2018-11-21 17:21:28 +01:00
Jan Pochyla
1782b0273c
Merge pull request #341 from trezor/tsusanka/paths
Bip 44 path checks
2018-11-19 15:54:11 +01:00
Pavol Rusnak
b1566e9d57
src/apps/wallet/get_public_key: return xpub for multisig 2018-11-15 13:41:19 +01:00
Tibor Arpas
be58549fd9
src/apps/wallet/sign_tx: handle timestamp field 2018-11-14 17:33:03 +01:00
Pavol Rusnak
1d43322d21
src/trezor/messages: regenerate 2018-11-14 17:31:17 +01:00
Pavol Rusnak
b3e668db8b
embed/extmod/modtrezorconfig: small refactor to storage 2018-11-14 16:25:36 +01:00
Pavol Rusnak
113a557f17
embed/trezorhal+unix: small refactor to flash.c 2018-11-14 15:12:19 +01:00
Pavol Rusnak
d2f1a4db11
changelog: update 2018-11-13 16:52:34 +01:00
Pavol Rusnak
10a284f6ee
src/apps/wallet/sign_tx: make check for OMNI more strict 2018-11-13 16:33:14 +01:00
Pavol Rusnak
4693c071b4
src/apps/wallet/sign_tx: implement OMNI parsing in OP_RETURN layout 2018-11-13 14:29:40 +01:00
Pavol Rusnak
342c3646e1
vendor: update trezor-common 2018-11-12 14:14:25 +01:00
Tomas Susanka
d83ef07d57 paths: typo, style 2018-11-12 12:21:40 +01:00