1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-10 07:20:56 +00:00
Commit Graph

9647 Commits

Author SHA1 Message Date
Jan Pochyla
a4f103755b minor api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla
e0dfc2ef03 apps: reflect the wire api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla
d56dc88861 wire: refactoring
- prefer importing modules instead of module members
- session_id is always first argument
- prefer much shorter names, don't expect users to import module members
- shuffle around session-specific code
- reduce allocations
2016-12-08 16:19:09 +01:00
Jan Pochyla
0b7874ad43 loop: rename Future to Signal
Future semantics were changed to allow multiple deliveries to avoid allocating more future objects than neccessary, and Signal describes this behaviour more accurately.
2016-12-08 16:19:09 +01:00
Jan Pochyla
1b27bb480d trezor.wire: rename modules 2016-12-08 16:19:09 +01:00
Jan Pochyla
b145f8f309 apps.common.signtx: add example sanitization 2016-12-08 16:19:09 +01:00
Pavol Rusnak
6eee9c7499
old recovery method is default (scrambled) 2016-12-08 15:36:51 +01:00
Pavol Rusnak
ee3a7cbcfa
fix bug when long press of buttons breaks usb communication in bootloader, bump bl version to 1.3.1 2016-12-06 22:35:56 +01:00
Saleem Rashid
5f203d0a0c debug: Improve debugging API (#134)
* Allow DEBUG_LOG without DEBUG_LINK
* Move debugInt() to debug.c
2016-12-04 23:24:01 +01:00
slush0
d6ae782dfc pb2py moved to trezor-common 2016-12-04 19:24:48 +01:00
slush0
b32ea69c6b Adde pb2py, generator for simplified python protobuf definitions
as used by TREZOR Core and python-trezor.
2016-12-04 19:23:45 +01:00
slush0
0ea856589f Added non-micropython compatibility.
Optional generation of wiretype index file.
2016-12-04 19:12:01 +01:00
Pavol Rusnak
3da5b48054
fix double import 2016-12-02 16:23:17 +01:00
Santiago Rodríguez
b3c298d87c Added support for signing Ethereum transactions without node connection (#89)
* Added support for signing without node connection

* Removed transaction details output
2016-12-01 15:23:38 +01:00
Pavol Rusnak
71ecf77616
nitpick: unify ckd_public import across the package 2016-12-01 14:16:32 +01:00
Pavol Rusnak
c86201dc5b
add Qt5 support for PinMatrixWidget 2016-11-28 18:03:52 +01:00
Pavol Rusnak
06cedd2150
move device (=TREZOR) tests to tests/device_tests, create tests/unit_tests for unit tests 2016-11-28 16:04:55 +01:00
Pavol Rusnak
ec966a0111
rename txcache files to json 2016-11-28 14:33:24 +01:00
Pavol Rusnak
23f7feb438
bump version to 0.7.8 2016-11-27 13:49:20 +01:00
Pavol Rusnak
5451db6e27
update readme, drop cmdtr 2016-11-27 13:48:45 +01:00
Pavol Rusnak
34e089d067
add bash_completion.d into source tarball 2016-11-27 13:42:43 +01:00
Saleem Rashid
5c00b24307 trezor: Fix screen timeout (#131) 2016-11-26 13:48:04 +01:00
Pavol Rusnak
725b64bede
update protobuf_json.py to be as close as possible to upstream
https://github.com/dpp-name/protobuf-json/blob/master/protobuf_json.py
2016-11-26 00:15:36 +01:00
Pavol Rusnak
0bba092741
add LGPLv3 headers to sources files 2016-11-25 22:53:55 +01:00
Pavol Rusnak
5cc9893d6f
remove test_suite directive from setup.py 2016-11-25 22:05:35 +01:00
Pavol Rusnak
918150a3f1
tests: make testpy tries running selected tests from python-trezor
apps.ethereum: fix get address call
2016-11-24 17:16:40 +01:00
Saleem Rashid
b4eaf7dbaf timer: Fix non-critical integer overflow (#129)
Every 4294967295 milliseconds (2 ^ 32 - 1), system_millis will overflow.
This means that every 49.71 days, system_millis will reset to zero.
Comparisons like `system_millis < (system_millis + 1)` would fail if the
latter had overflown and the former had not.

This is non-critical because the worst case is that one second could be
skipped or the screen could lock early.

This poses no threat to the exponential backoff used for protection
against brute force.
2016-11-23 20:22:28 +01:00
Jan Pochyla
1cd0609ac2 apps.common.signtx: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla
33f833f40a config: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla
6edaa68ab3 apps.common: remove sign.pseudo 2016-11-23 15:06:39 +01:00
Jan Pochyla
2e34fc05a6 apps.management: handle ApplySettings 2016-11-23 15:06:39 +01:00
Jan Pochyla
e8da59ced0 apps.common: add protect_with_pin, adjust seed.py 2016-11-23 15:06:39 +01:00
Jan Pochyla
b400448b97 apps: adjust to last commit 2016-11-23 15:06:39 +01:00
Jan Pochyla
065cbdbc3b protobuf: set missing fields to None 2016-11-23 15:06:39 +01:00
Jan Pochyla
a8b519d127 signtx: prealloc the bytearrays 2016-11-23 15:06:39 +01:00
Jan Pochyla
05f832cae7 storage: remove pbuf, add pin lock 2016-11-23 15:06:39 +01:00
Jan Pochyla
be7ee61ddd config: always use bytes() for default value 2016-11-23 15:06:39 +01:00
Pavol Rusnak
1dd4cd78f5
fix whitespace 2016-11-23 13:55:08 +01:00
Pavol Rusnak
84b4446ec4
bump version to 0.7.7 2016-11-23 13:52:10 +01:00
Pavol Rusnak
a6c489ab4b
update protobuf 2016-11-23 13:27:21 +01:00
Pavol Rusnak
15fcda21ce
update protobuf 2016-11-23 13:21:31 +01:00
Jochen Hoenicke
acfdb714ff
New Matrix-based recovery 2016-11-23 13:21:18 +01:00
Pavol Rusnak
14aa486fa6
partially revert 4ce4cc5605 for smoother merge 2016-11-23 13:19:25 +01:00
Pavol Rusnak
a5e2fd9a55
add webhooks to travis 2016-11-23 11:50:14 +01:00
Pavol Rusnak
e019b10642
update submodules 2016-11-23 11:48:52 +01:00
Jochen Hoenicke
c935b51849
Support for matrix recovery
See issue trezor/trezor-mcu#96
2016-11-23 11:42:20 +01:00
Jochen Hoenicke
61af3d5e93
Matrix Recovery
This adds a new type in the message RecoveryDevice, which can
be used by the host to signal which recovery procedures it supports.
It is a bitfield containing a bit for every supported procedure.
2016-11-23 11:31:35 +01:00
Pavol Rusnak
13533d9156
makefile: fix build_stmhal_debug target 2016-11-23 10:48:12 +01:00
Pavol Rusnak
17435cf174
update to new ApplySettings order 2016-11-22 22:04:23 +01:00
Pavol Rusnak
c4d144a82e
extract CHECK_PARAM 2016-11-22 22:04:09 +01:00