Christian Reitter
|
676ac1571a
|
crypto: add fuzz testing harnesses and documentation
|
2020-07-07 14:41:10 +02:00 |
|
Pavol Rusnak
|
8d94b13d3a
|
ci/test: fix coverage by moving the files to correct subdir
|
2020-07-06 19:52:18 +02:00 |
|
Tomas Susanka
|
e6889245e8
|
ci: set core/legacy version in .gitlab.yml
|
2020-07-06 19:07:00 +02:00 |
|
Tomas Susanka
|
040b4a1ee7
|
ci: fix VERSION export from version.h
|
2020-07-05 21:47:36 +02:00 |
|
Pavol Rusnak
|
82c0c40367
|
ci: make nix-shell available on darwin in before_script
|
2020-07-03 21:52:47 +02:00 |
|
Pavol Rusnak
|
25a2e690fe
|
ci/test: set C.UTF-8 locale for Python tests
|
2020-07-03 18:02:46 +02:00 |
|
Tomas Susanka
|
2b4de8e270
|
ci: use nix docker image
|
2020-07-03 17:33:59 +02:00 |
|
Pavol Rusnak
|
8f6a6c098e
|
ci/Dockerfile: use nix-shell instead of nix-env
|
2020-07-03 17:33:59 +02:00 |
|
Pavol Rusnak
|
426382da7c
|
tests/emulators: fix download_emulators script
|
2020-07-03 17:33:59 +02:00 |
|
Pavol Rusnak
|
d720fa3f83
|
tests: fix flake errors
|
2020-07-03 17:33:59 +02:00 |
|
Pavol Rusnak
|
09a212dca0
|
nix: use the latest snapshot of nixos-unstable
|
2020-07-03 17:33:10 +02:00 |
|
Pavol Rusnak
|
57ae902aed
|
core/monero: don't download test binary even if hash is different
|
2020-07-03 15:18:38 +02:00 |
|
Pavol Rusnak
|
5d666376f0
|
core/monero: update tests binary
|
2020-07-03 15:18:38 +02:00 |
|
Pavol Rusnak
|
6d1e97884c
|
nix: add procps and wget
|
2020-07-03 14:48:55 +02:00 |
|
Pavol Rusnak
|
937336e6b6
|
nix: add bash, use openssl instead of libressl
|
2020-07-03 12:44:13 +02:00 |
|
Pavol Rusnak
|
6c09c61978
|
nix: unify ci/shell.nix and shell.nix
|
2020-07-03 12:32:55 +02:00 |
|
Tomas Susanka
|
15f3021ff1
|
git subrepo push common
subrepo:
subdir: "common"
merged: "3ce0b90d7"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "3ce0b90d7"
git-subrepo:
version: "0.4.1"
origin: "???"
commit: "???"
|
2020-07-03 11:47:52 +02:00 |
|
Tomas Susanka
|
7da9a4c476
|
nix: add git subrepo to shell.nix
|
2020-07-03 11:47:15 +02:00 |
|
Andrew Kozlik
|
37f4dcc7e5
|
core/bitcoin: Rename witness_p2wsh() to witness_multisig().
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
91b615c217
|
core: Update changelog.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
39c0ed2ff0
|
tests/sign_tx: Add device tests for transactions with external inputs in bgold, bcash and zcash.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
9cd600f79e
|
core/bitcoin: Add special confirmation screen for transactions with external inputs.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
866dc72de2
|
tests: Add device tests for generation of proofs of ownership.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
a973c3bc6e
|
python: Add get_ownership_id() and get_ownership_proof() to trezorlib.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
64d9350de2
|
core/bitcoin: Implement GetOwnershipId message.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
533de50588
|
common/protob: Add GetOwnershipId message.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
534bce3f86
|
tests/sign_tx: Add device tests for transactions with external inputs.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
6c523d09e0
|
tests/sign_tx: Don't expect signatures to be returned for external inputs.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
712ec68c1b
|
core/bitcoin: Add support for external inputs with proof of non-ownership.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
956ea9a94f
|
common: Add ownership_proof field to TxInputType.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
791ff3fe06
|
core/tests: Add unit tests for SLIP-0019 proofs of ownership.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
d4317d1536
|
core/bitcoin: Implement generation and verification of SLIP-0019 proofs of ownership.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
d52de28704
|
core/bitcoin: Implement BIP-322 SignatureProof container.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
c723c78529
|
common/protob: Add GetOwnershipProof message.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
d48a372ca7
|
core/sign_tx: Implement support for signed external inputs.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
78f14d286e
|
core/sign_tx: Factor out get_legacy_tx_digest() from sign_nonsegwit_input().
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
61e2d4d5e5
|
core/bitcoin: Implement signature verifier.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
5378e12ba2
|
core/bitcoin: Clarify hash_type vs. sighash_type terminology.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
d1e043f417
|
core/bitcoin: Implement parsing of scripts and witnesses for signature verification.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
173bb7ed13
|
core/bitcoin: Replace TxInputType parameter in input_derive_script.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
a901573ea2
|
core/bitcoin: Move script types from helpers to common.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
3b6c1e5e6b
|
core/crypto: Add functions for verifying DER encoded signatures.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
9459c5a5c2
|
core/common: Add BytearrayReader and basic reader functions.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
99f01cd316
|
core/sign_tx: Check script_pubkeys of inputs.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
cc655575c8
|
common: Add witness field to TxInputType.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
872768928b
|
core/crypto: Fix endianity in DER length encoding.
|
2020-07-03 11:17:19 +02:00 |
|
Andrew Kozlik
|
e7f230d66e
|
core/sign_tx: Use varint length encoding for witness stack items.
|
2020-07-03 11:17:19 +02:00 |
|
Tomas Susanka
|
0c734dc8fd
|
ci: remove shell hook
Fixes darwin job.
|
2020-07-03 09:46:44 +02:00 |
|
Martin Milata
|
6633cdf026
|
docs: small fixes
|
2020-07-02 15:34:20 +02:00 |
|
Tomas Susanka
|
3a3e5739b0
|
core, legacy: update changelogs
|
2020-07-02 09:09:34 +00:00 |
|