summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Warner <warner@lothar.com>2013-10-01 17:01:01 -0700
committerBrian Warner <warner@lothar.com>2013-10-01 17:01:01 -0700
commit77ab7a052ee2272241985c9dc373f1d09234088e (patch)
tree05f0bcdfc1e5100902d59c79292f5d3ee0bdda7f
parent1a759b95d1a59ec186fe545f03ac7cc308e2263c (diff)
downloadecdsa-77ab7a052ee2272241985c9dc373f1d09234088e.tar.gz
update NEWS and other files for 0.9 release
-rw-r--r--MANIFEST.in2
-rw-r--r--NEWS6
-rw-r--r--README.md12
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
diff --git a/NEWS b/NEWS
index 680ce41..73ae68b 100644
--- a/NEWS
+++ b/NEWS
@@ -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
diff --git a/README.md b/README.md
index c94301f..dc94496 100644
--- a/README.md
+++ b/README.md
@@ -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: