1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-27 16:48:09 +00:00
Commit Graph

252 Commits

Author SHA1 Message Date
Jan Pochyla
62bee620cc core: upgrade micropython to 1.12 2020-01-07 20:52:42 +01:00
Pavol Rusnak
bb8d809a6d
common: change language field to IETF BCP 47 language tag 2019-12-08 11:27:10 +01:00
Andrew Kozlik
5bdd523b91 vendor: Update fido2-tests submodule to fix issues with random ordering. 2019-11-26 15:18:14 +01:00
Pavol Rusnak
2652936c16
core/tests: adapt device_emu_fido2/u2f to reordered usb endpoints 2019-11-13 13:21:39 +01:00
Pavol Rusnak
d2ba070424
vendor: change fido2-tests to our fork 2019-11-01 12:35:12 +01:00
Pavol Rusnak
29fca5ff91
pip: cleanup Pipfile, run pipenv lock, update vendor/fido2-tests 2019-10-28 16:37:55 +00:00
Pavol Rusnak
bd79827c52
vendor: add testsuite for FIDO2; regenerate Pipfile 2019-10-17 16:32:50 +00:00
Pavol Rusnak
e5a1d453ec
vendor: update nanopb to 0.3.9.4 2019-10-14 12:07:21 +02:00
Pavol Rusnak
e688fa8775
vendor: update nanopb, remove build failure workaround
This reverts commit 5cfa386e44.
2019-10-11 10:01:04 +02:00
Pavol Rusnak
b07b9b1d09
legacy/vendor: use pre-relase of nanopb 0.3.9.4
drop our patch, use upstream PB_ENCODE_ARRAYS_UNPACKED option
2019-10-10 16:08:28 +00:00
Pavol Rusnak
e64cb49915
micropython: backport patch for "sane initial dynamic qstr pool size with frozen mods" 2019-10-07 15:12:39 +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
matejcik
43866407df move vendored submodules to root vendor/ dir
before pulling, run `git submodule deinit --all`
2019-05-13 13:51:53 +02:00
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
c2b7b8032a
vendor: update trezor-common; protobuf, templates build 2019-04-10 20:23:15 +02:00
Tomas Susanka
d02d173e69 vendor: update trezor-common 2019-03-12 10:52:33 +01:00
Andrew Kozlik
e60914e30f
pin: avoid changing PIN unnecessarily 2019-02-23 17:50:28 +01:00
Andrew Kozlik
456a2c68d6
pin: change show_pin_timeout() to display arbitrary message
Don't pre-check old PIN when removing PIN protection.
2019-02-23 17:50:20 +01:00
Pavol Rusnak
cbe8320d96
vendor: update trezor-storage 2019-02-22 16:22:40 +01:00
Pavol Rusnak
3055633d84
vendor: update trezor-crypto and trezor-storage 2019-02-21 17:03:44 +01:00
Andrew Kozlik
5ecd77681f vendor: Update trezor-storage. 2019-02-21 15:35:04 +01:00
Tomas Susanka
765d88c2b7
Merge pull request #478 from ph4r05/pr/hf10
xmr: hardfork 10 upgrade
2019-02-20 13:51:02 +01:00
Pavol Rusnak
b1a382c75b
vendor: update trezor-storage 2019-02-18 19:43:44 +01:00
Dusan Klinec
8f077ac30e
xmr: trezor-common version bump 2019-02-18 17:19:04 +01:00
Pavol Rusnak
4f28093d2e
vendor: replace vendor/trezor-qrenc with vendor/QR-Code-generator 2019-02-16 17:36:08 +01:00
Andrew Kozlik
bc46892ba0
vendor: update trezor-storage 2019-02-15 12:43:54 +01:00
andrew
52c7f0eb93
config: Use efficient implementation of U2F counter from trezor-storage. 2019-02-15 12:41:55 +01:00
andrew
36f354714d
modtrezorconfig: Chenge ui_wait_callback() to return secbool. 2019-02-15 12:39:18 +01:00
andrew
c106e81a05
Update trezor-storage. 2019-02-15 12:39:18 +01:00
andrew
55e030dbae
Add config.lock(). 2019-02-15 12:39:18 +01:00
Pavol Rusnak
8832c6e63b
embed/trezorhal: rename flash functions
flash_erase_sector -> flash_erase
flash_lock -> flash_lock_write
flash_unlock -> flash_unlock_write
2019-02-15 12:39:18 +01:00
andrew
0309e9e520
Update trezor-storage submodule. 2019-02-15 12:39:17 +01:00
andrew
4246d7f6cd
Update trezor-storage submodule (do not automatically lock the storage after wipe). 2019-02-15 12:39:16 +01:00
andrew
97a4cdb68e
Use only unique device ID as salt to storage_init(). Update storage submodule. 2019-02-15 12:39:16 +01:00
andrew
fa339bbe06
Add config.delete(key) method. 2019-02-15 12:39:15 +01:00
andrew
4a194e48c6
Update trezor-storage submodule. 2019-02-15 12:39:15 +01:00
andrew
9f75d342a4
Add trezor-storage submodule. Update modtrezorconfig to work with the new storage_get() interface. Update tests to expect None instead of bytes(), when the value is not found in the storage. 2019-02-15 12:39:14 +01:00
Jan Pochyla
2704cc73b8 vendor: remove forgotten directory 2019-02-05 11:23:07 +01:00
Jan Pochyla
8cebcaba01 nem: fix mosaic properties list 2019-02-05 11:05:43 +01:00
Pavol Rusnak
4225fe7fa8
src/apps/wallet/sign_tx: implemented simplified API for MultisigRedeemScriptType
If address_n is the same for all nodes in the multisig, provide it just once
and supply nodes directly (not in the HDNodePathType structure)
2019-02-04 01:15:13 +01:00
Pavol Rusnak
6974d037a9
src/apps/wallet/sign_tx: implement tx.branch_id field 2019-01-31 21:03:58 +01:00
Tomas Susanka
b5f6ae52d8 vendor: update trezor-common 2019-01-29 17:19:10 +01:00
Tomas Susanka
20c97e85ad
Merge pull request #417 from vacuumlabs/cardano-improvements
Cardano improvements
2019-01-29 16:47:25 +01:00
Pavol Rusnak
1e697787a6
update Dockerfile and .travis.yml to be more similar to trezor-mcu 2019-01-24 01:47:18 +01:00
Pavol Rusnak
2de0eac7dc
embed/extmod/modtrezorcrypto: use mnemonic_clear where needed 2019-01-23 18:37:56 +01:00
Pavol Rusnak
806805e296
replace all usage of memset(_, 0, _) with memzero 2019-01-23 17:16:46 +01:00
refi93
2b2e2d0145 cardano better address export,sign tx UX,format fix, prot. magic instead of network 2019-01-18 18:22:58 +01:00
Tomas Susanka
7c5242ce8e vendor: update trezor-common 2019-01-16 15:52:51 +01:00