chainside / btcpy

A Python3 SegWit-compliant library which provides tools to handle Bitcoin data structures in a simple fashion.
https://www.chainside.net
GNU Lesser General Public License v3.0
271 stars 74 forks source link

Use RFC6979 for signing #2

Closed 1504532034 closed 7 years ago

1504532034 commented 7 years ago

ecdsa supports making deterministic signatures with RFC6979 with sign_digest_deterministic(), which should be a drop in replacement.

SimoneBronzini commented 7 years ago

Thanks for your feedback! Added the option to deterministically sign that defaults to True in commit 3f556641923d3825fca0b082f79b2e87f02dbddb. Closing this issue. Also released a new version 0.1.1 with this fix on pip.