lbcutil/psbt
Oliver Gugger c7b6a5aace
psbt: also check witness UTXO if both are set
A wallet that has patched the CVE-2020-14199 vulnerability will always
include a non-witness UTXO, even for witness inputs. In the signer, we
detect that the input we spend is a witness input and copy over the
TxOut to the witness UTXO field. Therefore it is possible that both UTXO
fields are set at the same time. We need to adjust the sanity checks
when adding a partial signature to account for that.
2020-07-20 15:02:05 +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: don't remove non-witness UTXO for segwit v0 2020-07-20 15:02:03 +02: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: also check witness UTXO if both are set 2020-07-20 15:02:05 +02: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