slush [ARCHIVE] on Nostr: 📅 Original date posted:2013-09-10 📝 Original message:Hi all, yesterday I found ...
📅 Original date posted:2013-09-10
📝 Original message:Hi all,
yesterday I found some time and implemented RFC 6979 into python-ecdsa
module.
RFC 6979 proposes algorithm of calculating 'k' value for signature from
private key and signed data, so the 'k' is unique, but deterministic for
every signature. This enabled simple unit tests of code using ECDSA
signatures as well as some nice use cases for blackbox testing of 3rd party
software (you can calculate on your own if some software is making valid
signature, because there's no randomnes involved in the process). Yes, I'm
referring Trezor :-).
There's my fork of python-ecdsa with RFC 6979:
https://github.com/trezor/python-ecdsa/There's pull request waiting for python-ecdsa author aproval:
https://github.com/warner/python-ecdsa/pull/10Aaand there's RFC 6979: tools.ietf.org/html/rfc6979
Thanks,
slush
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20130910/ba1dc472/attachment.html>
Published at
2023-06-07 15:06:47Event JSON
{
"id": "9e51d5c474b9499b743b31ab3aa122b980e402a0baba8ba6fc98716f515514fe",
"pubkey": "eb7ca795057ca7cabde6f541c741e661d013414934e5934c2e04c6677625c99a",
"created_at": 1686150407,
"kind": 1,
"tags": [
[
"e",
"cca1d9cffd1084114bcb33ffdf2a16cbfd549f8ad8f7004b23f063dc0c4360a7",
"",
"reply"
],
[
"p",
"a23dbf6c6cc83e14cc3df4e56cc71845f611908084cfe620e83e40c06ccdd3d0"
]
],
"content": "📅 Original date posted:2013-09-10\n📝 Original message:Hi all,\n\nyesterday I found some time and implemented RFC 6979 into python-ecdsa\nmodule.\n\nRFC 6979 proposes algorithm of calculating 'k' value for signature from\nprivate key and signed data, so the 'k' is unique, but deterministic for\nevery signature. This enabled simple unit tests of code using ECDSA\nsignatures as well as some nice use cases for blackbox testing of 3rd party\nsoftware (you can calculate on your own if some software is making valid\nsignature, because there's no randomnes involved in the process). Yes, I'm\nreferring Trezor :-).\n\nThere's my fork of python-ecdsa with RFC 6979:\nhttps://github.com/trezor/python-ecdsa/\n\nThere's pull request waiting for python-ecdsa author aproval:\nhttps://github.com/warner/python-ecdsa/pull/10\n\nAaand there's RFC 6979: tools.ietf.org/html/rfc6979\n\nThanks,\nslush\n-------------- next part --------------\nAn HTML attachment was scrubbed...\nURL: \u003chttp://lists.linuxfoundation.org/pipermail/bitcoin-dev/attachments/20130910/ba1dc472/attachment.html\u003e",
"sig": "a7a30c0761bdc22c82b72f098a536a9136032d3b27419219162ee32e468b8789826f040c4b3f48f8fbe7ef4b48a277c85b752f94fde71cfc3c965b8265fd2890"
}