Tomas Susanka
72f6bf51cd
Merge pull request #446 from trezor/andrewkozlik/shamir-wording
...
core: Improve Super Shamir texts.
2019-08-27 17:10:30 +02:00
Andrew Kozlik
90bd453d0a
core: Improve Super Shamir texts.
2019-08-27 16:03:11 +02:00
Tomas Susanka
f5af4e4fe0
core: bump version to 2.1.6
2019-08-27 14:39:06 +02:00
Tomas Susanka
73e59bb84c
core: add changelog for 2.1.5
2019-08-27 14:39:06 +02:00
Tomas Susanka
fd53c72a3c
Merge pull request #428 from trezor/ciny/super_shamir
...
UI for multi level Shamir reset and recovery
2019-08-27 13:22:32 +02:00
ciny
9595800158
core: store correct backup type during recovery
2019-08-27 13:10:08 +02:00
Pavol Rusnak
32edf7b6b9
core: fix unit tests for Bitcoin only firmware
2019-08-27 12:38:29 +02:00
Pavol Rusnak
908bbfffef
core: remove remaning utility code for Bitcoin only firmware
2019-08-27 12:38:28 +02:00
Pavol Rusnak
c815bc410c
core: remove remaning Decred/Zcash code for Bitcoin only firmware
2019-08-27 12:38:28 +02:00
ciny
81f5cbef93
core + tests: Super shamir reset and recovery UI and tests
2019-08-27 11:50:42 +02:00
Tomas Susanka
077735f57b
ci: introduce upgrade tests
...
closes #126
2019-08-26 16:02:06 +02:00
matejcik
6481316ac5
core/ethereum: fix typo in wanchain detection (in template also)
2019-08-26 14:43:43 +02:00
matejcik
b0b286aafe
core/ethereum: fix typo in wanchain detection
...
Reason it worked before: this function would fail to find a network
for wanchain, but the `network` value is only used to determine if
RSKIP60 should be used. That is almost never the case, so missing
network info did not cause an issue.
2019-08-26 14:28:05 +02:00
matejcik
2022c39ef9
core/ethereum: add support for wanchain slip44 id ( #440 )
2019-08-25 16:36:14 +02:00
Pavol Rusnak
8a61ef4f6e
core: unroll the utils.BITCOIN_ONLY constant in mpy-cross
2019-08-23 13:52:14 +02:00
Pavol Rusnak
4036f2243b
core: introduce linker script for BITCOIN_ONLY
2019-08-23 13:52:14 +02:00
Pavol Rusnak
9ae319211f
core: fill in Features.features
2019-08-23 13:52:14 +02:00
Pavol Rusnak
07ef01f3e4
core: introduce BITCOIN_ONLY flag
2019-08-23 13:52:10 +02:00
Tomas Susanka
566753e551
core: fix style
2019-08-23 12:35:17 +02:00
Pavol Rusnak
e1f0c238cf
core: fix utils.format_amount for negative amounts
2019-08-23 12:24:17 +02:00
Ryxor
2c709ee162
common/defs: add Umbru ( #433 )
2019-08-23 11:59:30 +02:00
matejcik
3467cbe236
core/cardano: do not force-show homescreen
2019-08-22 18:33:13 +02:00
Pavol Rusnak
876ba5f590
tests: make path to tested binary configurable
2019-08-22 17:47:36 +02:00
Jan Pochyla
29153f0e51
core/log: be less noisy with ui.Cancelled exceptions
2019-08-22 17:37:31 +02:00
Jan Pochyla
7789a29d50
core/loop: fix last commit
2019-08-22 17:36:04 +02:00
Jan Pochyla
2c8b90f86e
core/loop: properly cleanup task waiting on a chan
2019-08-22 17:29:21 +02:00
Jan Pochyla
29cca614f0
core/workflow: properly reset the default task global
2019-08-22 17:23:35 +02:00
Jan Pochyla
6d1a315b0e
core/homescreen: render homescreen in a layout
...
FIxes a bug introduced in bb25562
2019-08-22 16:08:38 +02:00
Tomas Susanka
f07694116c
docs: emulator's variables
2019-08-22 15:39:53 +02:00
Tomas Susanka
16b44b6f7b
core: improve log output for ui.Result exception ( #429 )
...
* core: improve log output for ui.Result exception
updates #373
* core: avoid importing ui module
2019-08-22 15:31:20 +02:00
Pavol Rusnak
132c841752
core: preparations for bitcoin-only firmware
2019-08-21 18:53:08 +02:00
Pavol Rusnak
76719bab65
core: split handling of messages in the build script
2019-08-21 18:45:07 +02:00
Pavol Rusnak
632a29ea8c
core: fix typo
2019-08-21 18:09:56 +02:00
Pavol Rusnak
774ca02c41
core: refactor FROZEN and PYOPT in SConscript.firmware
2019-08-21 18:04:15 +02:00
Pavol Rusnak
2c646a61b7
core: refactor FROZEN variable in SConscript.unix
2019-08-21 17:50:09 +02:00
Pavol Rusnak
b8726e74c8
core: add possibility to pass PYOPT to emulator frozen build
2019-08-21 17:46:30 +02:00
Tomas Susanka
b65cabc67c
Merge pull request #425 from trezor/tsusanka/iss387-init-fix
...
core: fix initialized to be unrelated to recovery
2019-08-21 15:51:45 +02:00
Tomas Susanka
ba7b5c7232
core/ui: add note on yield usage
2019-08-21 15:14:33 +02:00
Tomas Susanka
c9a78d7bcb
core: fix docs typos
2019-08-21 15:12:21 +02:00
Tomas Susanka
d0ce2b9e39
core: fix initialized to be unrelated to recovery
...
closes #387
2019-08-21 14:10:36 +02:00
Tomas Susanka
4323b0ac2a
core: rename recovery keyboards
...
closes #301
2019-08-21 13:48:24 +02:00
Pavol Rusnak
f51f9d9be1
core: one more change to previous commit
2019-08-21 11:33:04 +02:00
Pavol Rusnak
f8ebd4fa0b
core: fix last commit
2019-08-21 11:28:28 +02:00
Pavol Rusnak
c4e745a0d6
core: update build scripts to list python source more explicitly
2019-08-21 11:24:16 +02:00
Tomas Susanka
ba74cc2880
core: change pubkeys to List
2019-08-21 11:14:11 +02:00
Pavol Rusnak
0f6e06e1e5
common/tools: reorder coins in coin_info.py so Regtest appears at the beginning
2019-08-21 11:06:02 +02:00
Tomas Susanka
debb8ec478
Merge pull request #422 from romanz/typing
...
core/wallet: fix 'pubkeys' type to be list
2019-08-21 10:48:00 +02:00
Roman Zeyde
5b3427a21d
core: ensure multisig (m,n) parameters are valid ( #423 )
2019-08-20 19:18:34 +02:00
Pavol Rusnak
1eb823be03
core: fix permissions of apps/eos source files
2019-08-20 18:08:00 +02:00
Roman Zeyde
acfd6b7771
core/wallet: fix 'pubkeys' type to be list
2019-08-20 17:55:13 +03:00
Jan Pochyla
bb2556a22c
core: improve code documentation, simplify wire package
...
* docs: improve loop.py, ui.init
* docs: improve trezor.loop, rename spawn to race
* docs: wire
* core/wire: simplify and document the session handler
* core/wire: improve documentation
* core/wire: improve docs
* core/docs: document ui.grid function
* core: decouple ui and workflow, document both
* core: improve docs
Co-authored-by: Tomas Susanka <tsusanka@gmail.com>
2019-08-20 16:20:02 +02:00
Pavol Rusnak
cc184a0a30
common: introduce Features.features enum
2019-08-20 14:38:31 +02:00
Roman Zeyde
588998cb85
apps/wallet: support Signify Ed25519 signatures ( #348 )
2019-08-19 15:20:39 +02:00
omtns
1bb77b81c0
common/defs: enable MTNS ( #415 )
2019-08-16 17:29:50 +02:00
Marius Kjærstad
1d6ea33ec6
docs: switch http to https in links ( #419 )
2019-08-16 17:28:15 +02:00
Tomas Susanka
e119e8de96
core/slip39: fix UI for 33 words
...
closes #395
2019-08-14 11:16:15 +02:00
Tomas Susanka
542f156b4f
core/slip39: remove _encrypt
...
(cherry picked from commit 53ca61ab00
)
2019-08-13 17:25:53 +02:00
Tomas Susanka
1b666804c0
core/shamir: fix EMS vs MS
...
(cherry picked from commit cb94454618
)
2019-08-13 17:25:47 +02:00
Tomas Susanka
0f742bc3a7
core: bump to 2.1.5, add changelog for 2.1.4
2019-08-12 13:48:54 +02:00
matejcik
eaf1e940a8
build: update test runners for new paths
2019-08-12 12:57:25 +02:00
matejcik
872e66efca
tests: drop pytest customization from core
...
it will no longer possible to run just `pytest` from core subdir
2019-08-12 12:57:25 +02:00
Roman Zeyde
7210a2f56d
common/defs: add 'confidential_assets' section to coin definitions ( #399 )
...
Enable 'confidential_assets' for Elements (following #66 and #317 ) to allow
deriving confidential addresses and signing confidential transactions.
The following Python helper script was used to update the JSON files:
```
import json
import sys
for f in sys.argv[1:]:
d = json.load(open(f))
d["confidential_assets"] = None
with open(f, "w") as o:
json.dump(d, o, indent=2)
o.write("\n")
```
Set it to `{'address_prefix': 4, 'blech32_prefix': 'el'}` for Elements.
`coins.json` and `coininfo.py` were re-generated using:
```
$ pipenv run make gen gen_check
```
2019-08-12 12:52:20 +02:00
matejcik
c285bbba7a
core: dispatch DebugLinkDecisions from a common queue
2019-08-09 16:53:12 +02:00
matejcik
741bfd5c53
core: remove loop.signal in favor of chan, change usage
2019-08-09 16:53:12 +02:00
matejcik
f680f0c0d3
core: unify NEM pager confirm with rest of codebase
2019-08-09 16:53:12 +02:00
matejcik
cf70f82d90
core: debug messages when reading from wire
...
fixes #373
2019-08-09 16:53:12 +02:00
matejcik
0890f68c0c
core: use channels to give feedback over debuglink
...
all debug input signals are now channels, and DebugLinkDecision handler
waits until the input was consumed. This means that the input events are
queued; originally, if an input event arrived before the previous was
consumed, the previous input would be lost.
reset words and their positions are now also channels, and
DebugLinkGetState can wait for their updates, if required
2019-08-09 16:53:12 +02:00
matejcik
6e7fc5f601
core: implement channels for sending messages
2019-08-09 16:53:12 +02:00
Pavol Rusnak
e23bb10ec4
core+legacy: fix KMD signing (introduce negative_fee coin field)
2019-08-09 16:47:24 +02:00
Tomas Susanka
024f4d64af
core/reset: modify confirmation sentence
2019-08-09 15:50:56 +02:00
Tomas Susanka
35ecfbcb3d
build
2019-08-09 13:34:46 +02:00
Andrew Kozlik
cb7bc8f410
core: Fix mypy warnings.
2019-08-09 12:52:55 +02:00
Andrew Kozlik
55f69becff
core/tools: Clarify hid-bridge README.
2019-08-09 12:46:41 +02:00
Andrew Kozlik
1d56b8b9a1
webauthn: Add login.microsoft.com to knownapps. Add Microsoft icon.
2019-08-09 12:46:28 +02:00
Andrew Kozlik
8297b81cd5
core/crypto: Add AES mode constants.
2019-08-09 12:46:08 +02:00
Tomas Susanka
db2ce2055d
docs: add link to a built version of the docs
2019-08-08 11:38:32 +02:00
Tomas Susanka
107ae697aa
docs: do not ignore build subdirectory
2019-08-08 11:12:17 +02:00
Pavol Rusnak
eaa85ddd6e
core+legacy: add new changelog entries
2019-08-07 15:42:33 +02:00
Jan Pochyla
6835748bbf
core/protobuf: fix 5b6fa113
2019-08-07 10:59:22 +02:00
Tomas Susanka
e897f7cf7f
core: fix unit tests
...
test_protobuf.py is failing because of `del ffields` introduced by 5b6fa1136a
2019-08-07 10:04:38 +02:00
Tomas Susanka
0ac0daf148
core: bump to 2.1.4
2019-08-06 22:06:44 +02:00
Jan Pochyla
943ed73166
core/ui: remove workaround, fixed properly in c9096d9
2019-08-06 15:43:17 +02:00
Jan Pochyla
5b6fa1136a
core: improve typing annotations
2019-08-06 15:42:23 +02:00
Andrew Kozlik
0a594ea1e9
Merge pull request #280 from trezor/andrewkozlik/slip-0021
...
Add SLIP-0021 implementation and tests.
2019-08-06 14:26:34 +02:00
Tomas Susanka
c8b95838b5
docs: restructure, add SUMMARY, add a few things
2019-08-06 10:44:48 +02:00
Jan Pochyla
c9096d9a0a
core/ui: mark Controls as dirty in the beginning
2019-08-05 15:41:44 +02:00
matejcik
aa9860fdb7
protobuf: add enum value validation ( #363 )
2019-08-02 19:06:01 +02:00
Tomas Susanka
0bc847ff7f
docs: remove old api.md article
2019-08-02 14:06:36 +02:00
Tomas Susanka
e30159c000
docker: remove
...
It seems to me 1) it does not work 2) no one actually uses this.
2019-08-02 10:35:11 +02:00
Tomas Susanka
776071e220
core/embed: add hint in fatal error on unix ( #378 )
...
core/embed: add hint in fatal error on unix
2019-08-02 10:22:07 +02:00
Pavol Rusnak
007f3aa6de
core: use uppercase for cashaddr QR codes
2019-08-01 17:48:07 +02:00
Tomas Susanka
4b1955dcd3
core/embed: add hint in fatal error on unix
2019-08-01 15:40:24 +02:00
Tomas Susanka
46c10e9402
core/shamir: end recovery mode after Success screen
2019-07-31 17:43:51 +02:00
Ciny
90b91a7fb5
#28 - binance implementation ( #189 )
...
- placeOrder, cancelOrder, transfer messages
- cli support
- unit and device tests
2019-07-31 17:02:41 +02:00
Tomas Susanka
e4a69dcc53
core/docs: fix toif_convert link
2019-07-30 14:12:23 +02:00
Tomas Susanka
ac2acb0b5a
core: mnemonic mypy
2019-07-30 11:22:56 +02:00
Tomas Susanka
4030874c7e
core: some mypy in recovery-related modules
2019-07-29 17:24:59 +02:00
Andrew Kozlik
c1c23cb5cb
core/tests: Add more tests for Cardano with SLIP-0039.
2019-07-29 14:02:52 +02:00
Tomas Susanka
6af7a6b3d6
core: bump version to 2.1.3
2019-07-29 13:48:54 +02:00
Tomas Susanka
4da54f95d6
core/shamir: remove checked icon from future items in Backup checklist
2019-07-29 13:42:20 +02:00
Tomas Susanka
81a1b26fad
core/shamir: fix texts
2019-07-29 12:51:02 +02:00
Tomas Susanka
4117f3506c
core/shamir: text improvements
2019-07-26 16:51:56 +02:00
Tomas Susanka
a8c9a4ddc4
core/shamir: send boolean flag in Features that Recovery is in progress
2019-07-26 16:38:05 +02:00
Tomas Susanka
5bd8ad321e
core/shamir: increase default iteration exponent to 1
2019-07-26 15:56:53 +02:00
Pavol Rusnak
529ec95c93
core: fix unit tests for omni
2019-07-26 15:55:27 +02:00
Pavol Rusnak
c288514a4f
core+legacy: fix display of non-divisible OMNI amounts
2019-07-26 12:59:10 +02:00
Tomas Susanka
c735299bd0
core/backup: fix mnemonic_module to mnemonic_type
2019-07-26 12:06:00 +02:00
Andrew Kozlik
217c910b4b
cardano: Implement SLIP-0023 and add SLIP-0039 support for Cardano.
2019-07-25 19:43:05 +02:00
Tomas Susanka
2b6a14cb5f
core: support load device with SLIP-39
...
updates #356
2019-07-24 15:45:52 +02:00
Tomas Susanka
e95a97f281
common/protobuf: set mnemonic as repeated in LoadDevice for SLIP-39 support
2019-07-24 15:45:52 +02:00
Jan Pochyla
ebe883e4a9
core: support rebooting into default mode
2019-07-24 15:12:04 +02:00
Tomas Susanka
d2597d54c1
core/shamir: persistence
...
updates #270
2019-07-24 15:12:04 +02:00
Tomas Susanka
8f4bbb8825
core/homescreen: move err and warn to ui module
2019-07-24 12:55:12 +02:00
Tomas Susanka
539379bd55
core: alter reset_device to use enum
2019-07-22 15:43:15 +02:00
Tomas Susanka
1480f754f4
build
2019-07-22 15:32:41 +02:00
Tomas Susanka
7c0a20b5bb
core: add common page for success and warning
2019-07-16 14:49:23 +02:00
Andrew Kozlik
5d561a0e53
core/tests: Fix Keychain usage in test_apps.wallet.signtx.fee_threshold.
2019-07-16 14:30:30 +02:00
Andrew Kozlik
58e06ba22c
core/seed: Ensure ed25519 paths are hardened in Keychain.derive().
2019-07-16 14:30:30 +02:00
andrew
5f604b5fea
core/seed: Add SLIP-0021 implementation and tests.
2019-07-16 14:30:28 +02:00
Tomas Susanka
db0847282a
core/reset: check three words
...
closes #289
2019-07-16 09:58:44 +02:00
Tomas Susanka
96cdd886bc
core: fix Hold To Confirm button
2019-07-15 14:16:49 +02:00
Tomas Susanka
d073102422
core/ripple: increase the maximum amount allowed to be sent
...
The maximum amount is defined in [Ripple's docs](https://xrpl.org/basic-data-types.html#currencies ) but it's most likely in XRP and not in drops ("satoshi" equivalent). This commit increase the value to the drops equivalent.
closes #327
2019-07-15 13:34:14 +02:00
Tomas Susanka
5134cd0b80
core: add backup warnings at correct place; add backup success page
...
closes #287
2019-07-15 11:17:40 +02:00
Tomas Susanka
baaba41447
docs: move git hooks to core docs and update
2019-07-12 12:53:32 +02:00
Andrew Kozlik
b9f63c3f55
webauthn: Add Binance to knownapps. Add Binance icon.
2019-07-12 11:38:44 +02:00
Tomas Susanka
ce312e484b
Show total number of words during device recovery ( #320 )
...
Show total number of words during device recovery
2019-07-09 16:30:28 +02:00
Tomas Susanka
841a27257e
Shamir reset device tests ( #319 )
...
Shamir reset device tests
2019-07-09 15:43:53 +02:00
ciny
11b9f1c4e8
core: show total number of words during device recovery
2019-07-09 15:40:41 +02:00
ciny
bdfdaa9bb1
core: added device tests for shamir reset
2019-07-09 14:09:12 +02:00
Jan Pochyla
081e459075
core: fix various types
2019-07-09 14:05:35 +02:00
Jan Pochyla
0f6f05e4b7
core/typing: fix extmod docs and mocks
2019-07-09 14:05:14 +02:00
Jan Pochyla
758a1a2528
core/typing: add annotations
2019-07-09 12:51:48 +02:00
Jan Pochyla
86e16bbf31
messages: add types
2019-07-09 12:51:48 +02:00
Jan Pochyla
3af75c0b8b
core/typing: improve extmod types
2019-07-09 12:51:48 +02:00
Jan Pochyla
f5299456a9
core/typing: add mypy
2019-07-09 12:51:48 +02:00
Dusan Klinec
67212a0d2e
PaginatedWithButtons fix, fixes #306
2019-07-08 16:59:13 +02:00
Tomas Susanka
46e4c02602
core: refactor storage
...
Each namespace now has its own file in apps.common.storage and
storage/__init__ serves as an entry point.
Updates #274 .
2019-07-08 15:24:56 +02:00
Tomas Susanka
f04f190a02
core/ui: enlarge backspace button
...
closes #288
2019-07-02 14:27:03 +02:00
Tomas Susanka
049c5211f3
Restore progress_bar parameter in mnemonic.seed ( #297 )
...
Restore progress_bar parameter in mnemonic.seed
2019-07-02 12:14:46 +02:00
Pavol Rusnak
3c40ab8d96
core/src: remove unused num_pad.py
2019-07-02 00:01:31 +02:00
Pavol Rusnak
bf3c257f96
core/messages: don't generate unused messages
2019-07-01 15:52:36 +02:00
Tomas Susanka
f94bc26110
core/mnemonic: return progress_bar parameter
2019-07-01 15:08:23 +02:00
Tomas Susanka
5aa592a69a
core/slip39: modify wording on success screen
2019-06-28 12:26:34 +02:00
Tomas Susanka
f78e75bc38
core/slip39: add different wording for BIP/SLIP39 in backup warining
2019-06-28 11:57:02 +02:00
Milan Rossa
9b2167a138
core: asan config
2019-06-27 19:09:55 +02:00
Tomas Susanka
390bef00ca
core/slip39: catch exception also when finding out threshold in recovery
2019-06-27 15:42:09 +02:00
Tomas Susanka
6c50b155de
core: remove unused variables in Shamir recovery
2019-06-27 14:10:33 +02:00
Tomas Susanka
c205acd3e1
core/slip39: do not populate MnemonicError's message; do not throw exceptions with mnemonic inside the message
2019-06-27 14:00:45 +02:00
Tomas Susanka
4f8022c5cd
core/slip39: remove partial persistance in Shamir recovery
2019-06-27 13:47:02 +02:00
Milan Rossa
22f562e275
core: add status to main_exit function
2019-06-26 22:13:21 +02:00
Milan Rossa
9f681a363e
core: git ignore coverage outputs
2019-06-26 22:10:05 +02:00
Roman Zeyde
f3e3ebe1d8
core: unify exception handling at wallet.sign_tx ( #255 )
2019-06-26 16:53:26 +02:00
Roman Zeyde
99e21f2a96
core: keep BIP143 hashes as bytes ( #258 )
...
AFAIU, there is no need to convert them to bytearray.
2019-06-26 16:52:31 +02:00
Tomas Susanka
bc3a4a69be
core: style
...
I'm sorry about this, I'll add a git hook for pre-push I promise.
2019-06-26 13:20:41 +02:00
Tomas Susanka
8f3e648497
core/slip39: remove note on T9 keyboard
2019-06-26 13:18:47 +02:00
Ján Hrnko
0a70f8da1b
core/emu: use #!/usr/bin/env in shebang ( #263 )
2019-06-26 12:16:41 +02:00
Tomas Susanka
582910732a
core/slip39: one more typo
2019-06-26 11:40:33 +02:00
Tomas Susanka
2f0a5adac6
core/slip39: hopefully final version of slip39 texts
2019-06-26 11:11:50 +02:00
Tomas Susanka
4fbac3ec63
style
2019-06-26 10:23:32 +02:00
Tomas Susanka
5394d5a5a5
core/slip39: add texts from copy and add success screen in recovery
2019-06-26 06:59:45 +02:00
Jan Pochyla
487cc19750
core/recovery_device: fix dry_run
2019-06-25 18:25:32 +02:00
Tomas Susanka
240440550a
style
2019-06-25 16:56:35 +02:00
Tomas Susanka
4124ad3ccd
core/slip39: return ProcessError when mnemonic processing fails
2019-06-25 16:49:46 +02:00
Jan Pochyla
a4039f9459
core/management: fix word check, add icons to checklist
2019-06-25 15:47:19 +02:00
Tomas Susanka
10e5ec6135
core/slip39: generate and store slip39 identifier during reset
2019-06-25 14:43:20 +02:00
Jan Pochyla
07de336586
core/pin: do not allow empty pin
2019-06-25 13:23:48 +02:00
Jan Pochyla
4d0fe4d064
core/management: fix various reset/backup/recovery ui bugs
2019-06-25 13:23:48 +02:00
Tomas Susanka
989fb1491f
core/slip39: suggest word sooner when a single one is left
2019-06-25 10:35:19 +02:00
Pavol Rusnak
1ec5d091fd
core/usb: call wait_random just before returning the data
2019-06-24 19:13:12 +02:00
Tomas Susanka
0daf2bf6b6
core/reset device: remove unnecessary check
2019-06-24 15:25:21 +02:00
Jan Pochyla
03f23fe940
core/mnemonic: cancel homescreen before seed progress animation
...
If we close the default layout before the animation starts, the workflow manager starts it again after the current workflow ends (and no layout is running).
2019-06-24 13:12:12 +02:00
Tomas Susanka
10f15a6952
core: bump version to 2.1.2
2019-06-24 09:13:18 +02:00
Tomas Susanka
80f8f7900d
core: add slip39 support to reset and recovery device
2019-06-23 21:33:58 +02:00
Tomas Susanka
49d6a35249
core: add slip39 keyboard
2019-06-23 21:33:58 +02:00
Roman Zeyde
6fb76f95d1
core: ensure correct pubkeyhash/witprog length in scripts.py ( #254 )
2019-06-22 16:22:00 +02:00
Pavol Rusnak
e3e2811f7a
core: throw exception classes instead of instances where possible
2019-06-22 02:14:02 +02:00
Pavol Rusnak
312224b7a3
core: fix style
2019-06-22 00:18:31 +02:00
Pavol Rusnak
e432c37df0
core/sdcard: read/write now don't return bool, but rather throw an Exception instead
2019-06-21 22:51:53 +02:00
Pavol Rusnak
4938fb5461
core/tests: rename trezor.io.sdcard test, don't use assert in tests directly
2019-06-20 17:22:44 +02:00
Pavol Rusnak
c8bc21a393
core: bump SD card capacity to 64MB in emulator
2019-06-20 11:52:50 +02:00
Pavol Rusnak
2d8e11e827
core/tests: expand slip39 test_error_location
2019-06-18 23:50:03 +02:00
Andrew Kozlik
84d3723ee9
slip39: Add RS1024 error locator function.
2019-06-18 18:34:29 +02:00
Pavol Rusnak
54d348228f
all: rename TREZOR to Trezor where possible
2019-06-17 20:28:29 +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
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
c2bdd1cf32
core/common: Change delay_random() to wait_random().
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
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
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
Tomas Susanka
83a5ae3def
ci: download monero tests binary in docker
...
closes #212
2019-06-03 19:44:41 +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
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
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
412efcd35e
tests: remove progress bar from curl
...
It makes CI logs nicer.
2019-05-31 14:44:45 +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
Jan Pochyla
961499fdcf
core: fix uppercase ripple address in qr code
...
Fixes #191
2019-05-28 15:57:04 +02:00
Jan Pochyla
0b03794fee
core/tests: disable fading, improve runners
2019-05-28 13:12:46 +02:00
Jan Pochyla
36534325f0
core: revamp the UI subsystem
2019-05-28 13:12:46 +02:00
Jan Pochyla
2f4c123466
core: fix gitignore for older git
2019-05-28 11:17:07 +02:00
Jan Pochyla
09da577fd9
core: use const in trezor.crypto.slip39
2019-05-28 11:17:07 +02:00
Pavol Rusnak
b89d1db0e4
core: update build instructions
2019-05-28 10:24:49 +02:00
Pavol Rusnak
917f5c6534
core: remove bashisms from emu.sh
2019-05-28 10:19:18 +02:00
Pavol Rusnak
a3717c7b6c
core/slip39: use condensed wordlist
2019-05-27 19:39:41 +02:00
Pavol Rusnak
11aac67c82
core: fix last commit
2019-05-27 17:45:06 +02:00
Pavol Rusnak
ae749eedee
core/secp256k1_zkp: don't allocate static buffer
2019-05-27 17:21:14 +02:00
matejcik
6864758f2b
docs: fix typo in testing.md
2019-05-27 17:01:49 +02:00
matejcik
32fbdb2abd
docs: update testing documentation
2019-05-27 16:38:42 +02:00
matejcik
a0d7a6a667
python: more consistent handling of markers in device_tests
...
also better behavior when no Trezor device is present
2019-05-27 16:38:35 +02:00
Pavol Rusnak
f7053d96fe
all: remove extraneous whitespace
2019-05-26 22:20:14 +02:00
Pavol Rusnak
daf0d77923
core: remove raspi makefile target
...
Raspi build is still available when ENV variable is set,
but no need to bloat the Makefile/SConscript file
2019-05-26 21:57:47 +02:00
Pavol Rusnak
07ce935725
core/eos: revert new pubkey format
2019-05-26 11:48:49 +02:00
Pavol Rusnak
5a2c67ccae
core: let's have pytest.ini back
2019-05-25 13:53:58 +02:00
Pavol Rusnak
23202e2479
core: remove pytest.ini because it hides setup.cfg from root
2019-05-25 13:37:34 +02:00
Pavol Rusnak
0765842e7f
root: move pytest markers to setup.cfg
2019-05-25 13:06:28 +02:00
Pavol Rusnak
684862a7f5
common: more TRX cleanup
2019-05-25 12:48:04 +02:00
Roman Zeyde
8a179437b1
core: add custom markers to pytest.ini
...
Following https://docs.pytest.org/en/latest/mark.html#registering-marks
2019-05-25 12:09:45 +02:00
Tomas Susanka
cc5c8ae7e0
common+python: Revert Ontology support
...
This reverts commit 402e72e36e
.
This reverts commit 21326d3a41
.
This reverts commit 18739987ee
.
2019-05-25 11:59:35 +02:00
Tomas Susanka
562206d220
tests: remove xfail
2019-05-25 11:59:35 +02:00
Roman Zeyde
d190d906de
core/secp256k1-zkp: use ARM assembly for field operations ( #176 )
...
Update to latest secp256k1-zkp to allow building on Cortex-M4 devices (https://github.com/ElementsProject/secp256k1-zkp/pull/56 ).
2019-05-25 11:42:13 +02:00
Jan Pochyla
9586358e44
core: log memory info if TREZOR_LOG_MEMORY env is set
2019-05-24 16:28:11 +02:00
Pavol Rusnak
9460ac425a
core/eos: fix pubkey unit test
2019-05-24 16:18:07 +02:00
Pavol Rusnak
8c1f5c88f7
core: fix style
2019-05-24 16:09:12 +02:00
Jan Pochyla
c2f5174b43
core: optimize memory usage in signing
2019-05-24 16:04:20 +02:00
Pavol Rusnak
a6e51434f2
core/eos: use new pubkey format
2019-05-24 16:01:28 +02:00
Pavol Rusnak
414b33dbfb
core/eos: reduce code duplication
2019-05-24 15:52:57 +02:00
Pavol Rusnak
1583ea62f9
core: serialize signature in EosSignedTx message
2019-05-24 12:49:19 +02:00
Tomas Susanka
279b40bdb7
build: templates
...
Fixes tests broken by 9e05517872
2019-05-24 11:49:03 +02:00
Pavol Rusnak
5f1586e049
core: regenerate templates
2019-05-23 20:24:44 +02:00
Pavol Rusnak
164336cb56
core: add equality function to mako template too
2019-05-22 22:46:22 +02:00
Pavol Rusnak
0568379f8d
core/tests: disable over_fee_threshold test
2019-05-22 19:29:49 +02:00
Pavol Rusnak
a99ccbc4d2
core: add equality function to coininfo
2019-05-22 16:59:06 +02:00
Pavol Rusnak
b31092a874
core/tests: don't use coins.by_shortcut
2019-05-22 16:46:49 +02:00
Pavol Rusnak
2060ca569f
core: fix flake8 warning
2019-05-22 16:28:26 +02:00
Jan Pochyla
1f3adc7069
core: store bitcoin-like coins as a decision tree
2019-05-22 16:15:39 +02:00
Pavol Rusnak
9676eec4df
common: update support for core coins
2019-05-22 16:06:58 +02:00
Trustfarm-heart
31fca6d25d
common/defs: add TEO ( #163 )
2019-05-22 15:43:47 +02:00
Pavol Rusnak
2b3f72f994
core: update changelog
2019-05-22 15:25:10 +02:00
matejcik
984c6b6236
style: drop tokens.py from style checks
...
because pyflakes / stdlib's ast will exceed recursion depth
while analyzing the main function
2019-05-22 15:06:23 +02:00
Pavol Rusnak
60d1460185
core/ethereum: simplify code for token list
2019-05-20 18:04:12 +02:00
Jan Pochyla
d56de2c5fe
core: import some modules lazily to save memory
2019-05-20 16:51:47 +02:00
Jan Pochyla
875579867e
core/ethereum: store tokens as a decision tree
2019-05-20 16:51:46 +02:00
matejcik
e2ab5d0565
core: fix usage of EthereumAddress after old field was restored
2019-05-17 15:49:01 +02:00
matejcik
0b50d671e1
make gen && make style
2019-05-17 15:48:57 +02:00
matejcik
482b4569f5
build: fix and auto-generate mock files
...
Squashed commit of the following:
commit 84d3486f59bda063f06521c8b695ea4b07781ec6
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:17:15 2019 +0200
mocks: complete
commit d538133a6d0fb4af06c7c81f80b8675869fb5908
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:12:26 2019 +0200
mocks part 3
commit 9f0b868d41dafaf487df6fc844db7f3368eabe1b
Author: matejcik <ja@matejcik.cz>
Date: Fri May 17 14:09:20 2019 +0200
mocks: update generated mocks
commit 5d80c18a7824ed16fc11cde4cdb8ebca7ed33400
Author: matejcik <ja@matejcik.cz>
Date: Thu May 16 15:49:40 2019 +0200
mocks wip 2
commit 4b576eb796136a61eb88cb0d281fa4e21eadada8
Author: matejcik <ja@matejcik.cz>
Date: Tue May 7 17:02:51 2019 +0200
WIP mocks part 1
commit cf3f0d4471ab74b478d2970b0bb178feae7c86a3
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 17:07:53 2019 +0200
core: add package to secp256k1_zkp for mocking
commit 8a12f26c8c0d99363c8df96012426abbbb3ff6cb
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 17:04:05 2019 +0200
core: blackify extmod docstring quotes
commit b6f239676dde8b60b001fcae4e5de80a71dbacf2
Author: matejcik <ja@matejcik.cz>
Date: Fri May 3 16:52:27 2019 +0200
core: make build_mocks directory agnostic
mocks: detect bad packages
mocks: revert noqa in favor of setup.cfg
mocks: fix broken comment formatting
2019-05-17 15:45:47 +02:00
matejcik
ffcb5e99cc
mocks: fix shamir package
2019-05-17 15:12:41 +02:00
matejcik
f8446c3e00
build: centralize pb2py usage
2019-05-17 15:12:32 +02:00
Pavol Rusnak
b5b4a2ca5f
core: remove empty __init__.py files
2019-05-17 11:46:04 +02:00
Pavol Rusnak
1812be5d49
core: fix missing value for mnemonic_type when upgrading firmware
2019-05-17 00:31:41 +02:00
Pavol Rusnak
f7d41cbbd7
core+legacy: drop NOUI and HEADLESS, SDL_VIDEODRIVER works fine
2019-05-16 17:06:14 +02:00
matejcik
b69a9e768b
core: fix ethereum test
2019-05-16 13:29:47 +02:00
Konnor Klashinsky
fe65a70dce
Do not display token values in Wei for low-decimal value tokens ( #141 )
...
* Do not display token values in Wei for low-decimal value tokens
* update logic
* add unit tests
2019-05-16 12:50:23 +02:00
Pavol Rusnak
0a52b51a26
core: regenerate templates
2019-05-14 17:15:14 +02:00
Dusan Klinec
f767f890cd
tests: new monero binary added
2019-05-14 11:37:56 +02:00
Pavol Rusnak
4097f254d5
core: don't erase passphrase on ClearSession
2019-05-13 19:35:32 +02:00
Pavol Rusnak
00564f4a1c
core/cache: fix setting of None passphrase
2019-05-13 16:53:41 +02:00
Pavol Rusnak
35945239eb
core/embed: use MP_ROM_INT instead of MP_OBJ_NEW_SMALL_INT where intended
2019-05-13 16:52:21 +02:00
Pavol Rusnak
1dc2ccf4a5
core/xmr: fix style
2019-05-13 15:53:44 +02:00
Pavol Rusnak
7fe09e52bd
core/cache: use different default value for passphrase_fprint
2019-05-13 15:46:23 +02:00
Pavol Rusnak
f1c34701b8
core/cache: cache passphrase_fingerprint, compute it only on change
2019-05-13 15:34:23 +02:00
Dušan Klinec
9f36c73a78
core/xmr: authorize live refresh per passphrase ( #129 )
...
Improves UX as the live refresh prompts were too often.
2019-05-13 15:27:04 +02:00
matejcik
43866407df
move vendored submodules to root vendor/ dir
...
before pulling, run `git submodule deinit --all`
2019-05-13 13:51:53 +02:00
Roman Zeyde
8d47709eec
core/tools: fix typo ( #149 )
2019-05-11 14:18:09 +02:00
matejcik
2e578572dd
add EOS support
...
Squashed commit of the following:
commit 060563458fbc3b4a17f4d77ba5cd62d0c265c806
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 16:16:19 2019 +0200
skip t1 in eos test
commit f759089fef29501467b62bf1540715132a72c4cf
Author: matejcik <ja@matejcik.cz>
Date: Fri May 10 15:55:20 2019 +0200
make style
commit 3ecdd5f77b331d7a6e5a46a10c79d80f214f31bd
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu May 9 22:05:41 2019 +0300
Refinements in asset to to string conversion function according to code review and test cases for amounts less than 1
commit 72e44a35bada76abdd94ab866c2113a6d9d85191
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Wed May 8 00:27:45 2019 +0300
Moved to input_flow rest of the tests, cleanup and styling
commit 92f9acbabcbef44a6912b074a309393450f0c8de
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue May 7 21:47:12 2019 +0300
Fix for amounts less then 1
commit 8a0154f7432ab78e69a123202a97194d34c2a3cb
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:26:24 2019 +0300
removed unnecessary peace of code
commit b25c15de3eb1df863760e81ca69f09094349c26e
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:16:57 2019 +0300
Fixed validate path parameters
commit f0f6e7036a8b88d9c5c6b702a8d851e9a9bd3378
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 23:04:58 2019 +0300
Fixes
commit 0c64d3814300df86d452975b2bd46fea13f512d2
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:19:51 2019 +0300
Fixed styling
commit 41d1e77231e7da78fade9b2efa1b7d1980f0d3a8
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:13:58 2019 +0300
Changes to core, added CURVE to path validation
commit c045b4554ee8e058dbfe35f715b003d0d85ab1d4
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon May 6 22:07:37 2019 +0300
Changes according to review
commit 3f0e6cfd40e7d87dc3287bc3a0b2b9db5dea5377
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Mon Apr 29 21:37:16 2019 +0300
Added change to make expiration date timezone agnostic
commit efdf44c326cc3f3137c447e798db5439b57c91fa
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Thu Apr 18 00:14:30 2019 +0300
changes according to code review
commit 3b3723da8f8f536c7c370a14236ea81aac25080a
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:44:50 2019 +0300
Merged python to monorepo
commit da6b0c683c29388e15c889ecea6e7f7471961a19
Author: Andriy Tkachyshyn <atkachyshyn@gmail.com>
Date: Tue Apr 16 23:13:42 2019 +0300
Merged core to monorepo
2019-05-10 16:23:18 +02:00
matejcik
23306d2a0d
defs: drop Aquachain from generated templates
...
before we enable it through support.json
2019-05-10 16:22:36 +02:00
aerth
ffde130003
common/defs: add Aquachain (AQUA) ETH network ( #138 )
2019-05-07 21:32:45 +02:00
matejcik
afdfd5fbdb
cardano: optimize transaction signing
...
squash merge. closes #94 and #130
Squashed commit of the following:
commit 1adc68051df863f5ce3767f6594d91fc9ad7bb16
Author: refi93 <rafael.korbas@gmail.com>
Date: Tue May 7 00:13:07 2019 +0200
cr fix
commit 833b831754aa3dfce4630e9d64e7fb6c5147ceb1
Author: refi93 <rafael.korbas@gmail.com>
Date: Mon May 6 21:59:49 2019 +0200
cr fix style
commit 2962e697c993d3df9a53dcc6cebc9148c1d701f5
Author: Matúš Juran <matus.juran@vacuumlabs.com>
Date: Thu May 2 16:57:55 2019 +0200
cardano: optimize transaction signing
Optimize the storage of previous transactions. Instead of passing a list
of transactions to the Transaction object, verify all inputs beforehand.
Stop creating helper lists when serializing the transaction. This allows
to process a few more inputs.
2019-05-07 17:33:00 +02:00
matejcik
17a7a92b7f
core: remove setup.cfg, keep pytest.ini for convenience
2019-05-07 17:04:21 +02:00
matejcik
e55b42dddb
common: fix tGOR entry
2019-05-07 16:45:34 +02:00
matejcik
bf067cc0c6
core: better handling of TxRequest with mixed inputs
...
fixes #133
2019-05-07 16:31:40 +02:00
matejcik
f7e0bb6183
style: improve pylint exclusions
2019-05-07 16:31:04 +02:00
matejcik
388400bc1b
core: remove or mark star imports
2019-05-07 16:31:04 +02:00
matejcik
cf5df6b39b
style: improve Makefile, stricter style rules
2019-05-07 16:31:04 +02:00
ligi
e388b69fbd
common/defs: Add Ethereum Testnet Goerli ( #137 )
2019-05-07 12:34:28 +02:00
Andrew Kozlik
28c85dee8e
Merge pull request #85 from trezor/andrewkozlik/slip0039
...
Implement SLIP-0039 primitives in MicroPython and C.
2019-05-06 13:34:27 +02:00
Pavol Rusnak
f27187e603
core: embed background images into the emulator binary
2019-05-04 22:33:48 +02:00
Pavol Rusnak
87f14965c4
core: finish frozen modules support
2019-05-04 22:15:20 +02:00
Pavol Rusnak
ce4a1f2e1d
core: remove unnecessary files
2019-05-03 21:37:01 +02:00
Pavol Rusnak
eb1192bc2c
core: simplify emu.sh runner
2019-05-03 21:28:24 +02:00
Andrew Kozlik
bebce78881
core/slip39: Update code logic, tests and test vectors in accordance with the new requirement that the number of shares provided is equal to the threshold.
2019-05-03 18:28:14 +02:00
Andrew Kozlik
ff594753e0
core/tests/slip39: Add tests for invalid threshold.
2019-05-03 16:09:40 +02:00
Andrew Kozlik
0248671438
core/slip39: Resolve code review comments.
2019-05-03 15:12:13 +02:00
Andrew Kozlik
0a99ad3f13
Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
2019-05-02 15:08:43 +02:00
Andrew Kozlik
edab43234d
core/slip39: Disallow creating multiple member shares with member threshold 1. Add tests for invalid parameters to generate_mnemonics().
2019-05-02 15:00:04 +02:00
Andrew Kozlik
0c3dde6464
tests: Update SLIP-0039 test vectors.
2019-05-02 14:55:58 +02:00
Pavol Rusnak
6e6ff78ce0
core: re-enable frozen modules in the emulator build
2019-05-01 13:41:23 +02:00
Pavol Rusnak
4b8c418dbc
core: fix docker build
2019-04-30 18:03:24 +02:00
matejcik
0fc275a835
core: make templates after token handling change
2019-04-29 19:22:07 +02:00
Andrew Kozlik
479396b56f
core/slip39: Remove math module dependency.
2019-04-29 12:23:10 +02:00
Andrew Kozlik
e631983d6d
Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
2019-04-29 11:29:54 +02:00
Tomas Susanka
7c58d7d24e
ci: split gitlab configuration files and store them in a 'ci' folder
...
The core/build-docker.sh si broken, but so it was already in master and
is tracked to be fixed in #108 .
2019-04-28 09:31:41 +02:00
Pavol Rusnak
32c5f58782
core: regenerate templates
2019-04-27 16:23:17 +02:00
Pavol Rusnak
b76fb0905d
core: remove flamegraph
2019-04-26 22:52:00 +02:00
Pavol Rusnak
719d54d97d
core: regenerate templates
2019-04-26 18:06:36 +02:00
Tomas Susanka
9ed77afd12
core: build protobuf
2019-04-26 12:00:20 +02:00
Pavol Rusnak
1532c96b0e
core+legacy: remove tag automagic from build scripts
2019-04-25 17:04:15 +02:00
Pavol Rusnak
16dbe5f6f6
core+python: remove unnecessary .travis.yml
2019-04-25 15:20:28 +02:00
Pavol Rusnak
62707a062a
core+legacy: reintroduce USB 2.1 landing page for firmware
2019-04-24 22:56:07 +02:00
Roman Zeyde
30ae11f22e
core: allow running 'build_protobuf' from any directory ( #106 )
2019-04-24 21:38:51 +02:00
Pavol Rusnak
1c00d868a9
core: bump versions of firmware to 2.1.1, bootloader to 2.0.4
2019-04-23 21:31:00 +02:00
Pavol Rusnak
914ac8a2bd
core: fix unit tests
2019-04-23 20:11:59 +02:00
Pavol Rusnak
2f77c53781
core: format last change
2019-04-23 19:55:18 +02:00
Pavol Rusnak
a89a3bf6db
core: fix last commit
2019-04-23 19:54:03 +02:00
Pavol Rusnak
c761351afa
core: add indeterminate flag to display_loader
2019-04-23 19:21:03 +02:00
Pavol Rusnak
c995d9fa59
Revert "ui.display.loader: slice_span added for indeterminate loaders"
...
This reverts commit 9de96f6114
.
2019-04-23 18:31:30 +02:00
Pavol Rusnak
def96032d2
core+legacy: make path checks more benevolent ( #84 )
...
Non-existing BIP-48 is causing mess among implementations
2019-04-23 18:16:37 +02:00
Tomas Susanka
24bd4f84da
ci: gitlab init
...
Lot of things are missing, this is to at least have something in master. Todo:
- add legacy, python and storage tests
- fix crypto
- cache
- pass builds from build stage to tests using artefacts
and many others
2019-04-23 15:57:24 +02:00
Tomas Susanka
456d98ac03
all: style
2019-04-23 14:41:59 +02:00
Tomas Susanka
c9f380eae4
Tezos: Add voting support ( #41 )
...
Tezos: Add voting support
2019-04-23 14:00:32 +02:00
Tomas Susanka
37a597a444
xmr.ui: improves UX of the monero app ( #95 )
...
xmr.ui: improves UX of the monero app
2019-04-23 14:00:05 +02:00
Dusan Klinec
7ea53c089e
xmr: indeterminate progress for live refresh
2019-04-23 09:15:59 +02:00
Dusan Klinec
9de96f6114
ui.display.loader: slice_span added for indeterminate loaders
2019-04-23 09:15:58 +02:00
Dusan Klinec
a3aae9c234
xmr.ui: improves UX of the monero app
...
Based on the testing feedback I've made slight modifications to the UI.
Main points:
- running on the full brightness during the process (previously dimmed, felt broken)
- overlaying layout fix after transaction confirmation
2019-04-23 09:15:58 +02:00
Pavol Rusnak
af89ae88dc
core+legacy: update changelogs
2019-04-22 18:57:14 +02:00
Tomas Susanka
4c8ef80cc7
core: build templates
2019-04-19 17:21:00 +02:00
Tomas Susanka
de6be423a1
all: add Pipfile to root
...
Although we have to a) discuss if we want this b) consolidate with other
Pipfiles if so.
2019-04-19 16:37:58 +02:00
Tomas Susanka
021a8a0cb8
xmr: live refresh progress starts from 0
...
Migrated from https://github.com/trezor/trezor-core/pull/552
2019-04-19 16:07:28 +02:00
Pavol Rusnak
8b06598474
core+legacy: rework code styling checks
2019-04-18 17:40:55 +02:00
matejcik
834a483e1a
tezos: make style
2019-04-18 15:54:29 +02:00
matejcik
1e1e6513a0
core/tezos: add ButtonRequest in front of proposal paginator
2019-04-18 15:43:33 +02:00
matejcik
1e7357db80
core/ui: fix crash when trying to scroll with only one page
2019-04-18 15:03:24 +02:00
Andrew Kozlik
1ee831f50c
Merge remote-tracking branch 'origin/master' into andrewkozlik/slip0039
2019-04-18 14:59:05 +02:00
matejcik
9f8ebcf183
build: make build scripts work from monorepo root
...
incidentally fixes #9 and the dreaded non-bug #8
2019-04-18 14:55:04 +02:00
Adrian Nagy
8ee605484e
remove stray print
2019-04-18 14:45:36 +02:00
Adrian Nagy
dce60da6ec
Added comment to path validation
2019-04-18 14:37:11 +02:00
Andrew Kozlik
c073d68a2d
crypto/shamir: Improve error handling.
2019-04-18 14:35:18 +02:00
Adrian Nagy
2dd1ae6491
refactor path validation
2019-04-18 14:25:42 +02:00
Tomas Susanka
ec38a8ce3f
core: update Pipfile.lock
2019-04-18 12:50:21 +02:00
Adrian Nagy
da7bb8abf8
fix path validation and update unit tests
2019-04-18 12:32:43 +02:00
Adrian Nagy
c588d0b4f3
requested changes #2
2019-04-18 08:41:38 +02:00
Pavol Rusnak
e7592a4c04
nix: consolidate various shell.nix files into one
2019-04-18 00:26:04 +02:00
Tomas Susanka
5dc0a1ee0a
core/extmod: return False or None consistently when a signature verification fails
...
from https://github.com/trezor/trezor-core/pull/535 by @real-or-random
2019-04-17 16:23:28 +02:00
Andrew Kozlik
0d21bca288
crypto: Move Shamir secret sharing to trezor-crypto.
2019-04-17 11:26:16 +02:00
Andrew Kozlik
d2a399debf
Merge remote-tracking branch 'core-local/andrewkozlik/slip0039' into andrewkozlik/slip0039
2019-04-17 10:53:00 +02:00
Pavol Rusnak
be76dcc96a
toplevel: reorganize .gitignore files
2019-04-17 00:05:24 +02:00
Adrian Nagy
fd95ff0531
made requested changes
2019-04-16 19:20:40 +02:00
Adrian Nagy
c0e5a32dec
Add voting support
2019-04-16 19:16:01 +02:00
Adrian Nagy
0c630831dc
Merge remote-tracking branch 'core-local/voting' into voting
2019-04-16 11:10:52 +02:00
matejcik
28e74b5e0e
MONOREPO RELINK SUBMODULES
2019-04-15 19:15:14 +02:00
matejcik
e5670856a2
MONOREPO CREATE FROM trezor-core
2019-04-15 19:14:40 +02:00