diff options
author | Brian Warner <warner@lothar.com> | 2013-10-01 17:01:01 -0700 |
---|---|---|
committer | Brian Warner <warner@lothar.com> | 2013-10-01 17:01:01 -0700 |
commit | 77ab7a052ee2272241985c9dc373f1d09234088e (patch) | |
tree | 05f0bcdfc1e5100902d59c79292f5d3ee0bdda7f | |
parent | 1a759b95d1a59ec186fe545f03ac7cc308e2263c (diff) | |
download | ecdsa-77ab7a052ee2272241985c9dc373f1d09234088e.tar.gz |
update NEWS and other files for 0.9 release
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rw-r--r-- | NEWS | 6 | ||||
-rw-r--r-- | README.md | 12 |
3 files changed, 20 insertions, 0 deletions
diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..315077b --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,2 @@ +# basic metadata +include MANIFEST.in LICENSE NEWS README.md @@ -1,3 +1,9 @@ +* Release 0.9 (01 Oct 2013) + +Add secp256k1 curve (thanks to Benjamin Dauvergne). Add deterministic (no +entropy needed) signatures (thanks to slush). Added py3.2/py3.3 compatibility +(thanks to Elizabeth Myers). + * Release 0.8 (04 Oct 2011) Small API addition: accept a hashfunc= argument in the constructors for @@ -241,6 +241,18 @@ signature must use a different one (using the same number twice will immediately reveal the private signing key). The `sk.sign()` method takes an entropy= argument which behaves the same as `SigningKey.generate(entropy=)`. +## Deterministic Signatures + +If you call `SigningKey.sign_deterministic(data)` instead of `.sign(data)`, +the code will generate a deterministic signature instead of a random one. +This uses the algorithm from RFC6979 to safely generate a unique `k` value, +derived from the private key and the message being signed. Each time you sign +the same message with the same key, you will get the same signature (using +the same `k`). + +This may become the default in a future version, as it is not vulnerable to +failures of the entropy source. + ## Examples Create a NIST192p keypair and immediately save both to disk: |