Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1VJRHx-0006a7-LP for bitcoin-development@lists.sourceforge.net; Tue, 10 Sep 2013 16:59:41 +0000 X-ACL-Warn: Received: from mail-vb0-f44.google.com ([209.85.212.44]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1VJRHw-0001uZ-CO for bitcoin-development@lists.sourceforge.net; Tue, 10 Sep 2013 16:59:41 +0000 Received: by mail-vb0-f44.google.com with SMTP id e13so5157143vbg.17 for ; Tue, 10 Sep 2013 09:59:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:content-type; bh=j3/36w+Q2rKkJD6KzMbAiaF+BdLPsdavd2F3qjxekCo=; b=ChdMXXD0lgBWKT8o+c5txABmIN8AKAiJoClzjjSXtDQ46P3zCBUxcCrv6vX61srCVD rXldvE0EQIKDL4OtmWNYQUcxy6HAmOb17Koqfg7vZOmNlLr1EWFVL6+bUm9x1rGF2kvn Ppi1hjOfp9NFyFwqmOA4w9/yv3sAyKvgZgQG4Os1FmxL7j7l1vhamoTQI9xC8STX5WTi xFz5cKMqDK7WbSkyrgE6cHyWPGOWzrgbYaO40GUCBOXWXE9mMRVOfEgwUlPT2U3L1fWO kF21k2SI5WE00bh1I3aAxUU9UqhlV8c+hhi91INeAWWY0As/TlCIZLidzDbiG8zbkEL1 pV3Q== X-Gm-Message-State: ALoCoQn5GHOs+qOV7lDVJJuK1PxI47G+gUto9UkQcUfw3g0/P4cHmz3dmt5QkLTuB+5qCXkVunYR X-Received: by 10.58.198.13 with SMTP id iy13mr23703188vec.11.1378831976714; Tue, 10 Sep 2013 09:52:56 -0700 (PDT) MIME-Version: 1.0 Sender: marek@palatinus.cz Received: by 10.58.235.136 with HTTP; Tue, 10 Sep 2013 09:52:26 -0700 (PDT) From: slush Date: Tue, 10 Sep 2013 18:52:26 +0200 X-Google-Sender-Auth: cikEYwkpP6VDDBha5OtmNP3GUx8 Message-ID: To: "bitcoin-development@lists.sourceforge.net" Content-Type: multipart/alternative; boundary=047d7b6dcb7c2d681304e60a56e6 X-Spam-Score: 1.0 (+) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (slush[at]centrum.cz) 1.0 HTML_MESSAGE BODY: HTML included in message X-Headers-End: 1VJRHw-0001uZ-CO Subject: [Bitcoin-development] Python implementation of RFC 6979 X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2013 16:59:41 -0000 --047d7b6dcb7c2d681304e60a56e6 Content-Type: text/plain; charset=ISO-8859-1 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/10 Aaand there's RFC 6979: tools.ietf.org/html/rfc6979 Thanks, slush --047d7b6dcb7c2d681304e60a56e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi all,

yesterday I found some ti= me and implemented RFC 6979 into python-ecdsa module.

<= /div>
RFC 6979 proposes algorithm of calculating 'k' valu= e for signature from private key and signed data, so the 'k' is uni= que, 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 softwa= re 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 wi= th RFC 6979:

There's pull request waiting for python-ecdsa author aproval:=A0https://github.com/warn= er/python-ecdsa/pull/10

Aaand ther= e's RFC 6979:=A0tools.ie= tf.org/html/rfc6979

Thanks,
slush


--047d7b6dcb7c2d681304e60a56e6--