lbcutil/psbt
Oliver Gugger c5f199e40f
psbt: remove UTXO sanity check to allow fix for CVE
As described in CVE-2020-14199 it is unsafe to only rely on witness
UTXO information when signing. Hardware wallets fixed this by also
requiring the full non-witness UTXO to be present for a witness input.
To be compatible with those newer hardware wallet firmware, we need to
remove the sanity checks that disallowed setting witness and non-witness
UTXOs at the same time.
See https://github.com/bitcoin/bitcoin/pull/19215 for comparison which
removed the sanity checks in Bitcoin Core.
2020-07-20 15:02:02 +02:00
..
bip32.go psbt: move bip32 structs into new file 2020-01-15 17:56:32 -08:00
creator.go psbt: remove Creator struct, create New function as entry point into package 2020-01-15 17:56:35 -08:00
extractor.go psbt: modify Extract method to return the transaction directly 2020-01-15 17:56:38 -08:00
finalizer.go psbt: create new utils file, refactor finalizer for consistent code style 2020-01-15 17:56:41 -08:00
go.mod psbt: create sub-module 2020-01-15 17:57:05 -08:00
go.sum psbt: create sub-module 2020-01-15 17:57:05 -08:00
partial_input.go psbt: remove UTXO sanity check to allow fix for CVE 2020-07-20 15:02:02 +02:00
partial_output.go psbt: move output into new file 2020-01-15 17:56:29 -08:00
partialsig.go psbt: create new utils file, refactor finalizer for consistent code style 2020-01-15 17:56:41 -08:00
psbt.go psbt: define MaxPsbtKeyLength and check against it when decoding 2020-04-08 17:53:06 -04:00
psbt_test.go psbt: remove UTXO sanity check to allow fix for CVE 2020-07-20 15:02:02 +02:00
signer.go psbt: create new enum type for return values of Sign method 2020-01-15 17:56:47 -08:00
sort.go psbt: add BIP 69 in-place sort 2020-06-25 09:38:04 +02:00
sort_test.go psbt: add BIP 69 in-place sort 2020-06-25 09:38:04 +02:00
types.go psbt: move PSBT keys/type into new file 2020-01-15 17:56:23 -08:00
updater.go psbt: refactor updater.go for consistent code style 2020-01-15 17:56:50 -08:00
utils.go Assign returned values in correct order 2020-07-13 09:45:52 -04:00
utils_test.go psbt: add new utility functions 2020-06-25 09:38:03 +02:00