btclib
btclib copied to clipboard
Valid taproot signature may not must has length of 64
Describe the bug It seems not right to check signature of taproot is valid by assert length of it equals 64: https://github.com/btclib-org/btclib/blob/da0cfc146545c1ec220901094c98e32690f255af/btclib/psbt/psbt_utils.py#L307
To Reproduce There is an example on how to make a valid taproot signature which length is not 64: https://github.com/bitcoinjs/bitcoinjs-lib/issues/1934
Environment (please complete the following information):
- OS: ubuntu
- Python version: 3.10.13
- btclib version: da0cfc146545c1ec220901094c98e32690f255af master 2023.12.12
Will it support sign psbt from library?