summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2011-06-13 12:33:08 +0200
committerWerner Koch <wk@gnupg.org>2011-06-13 12:33:08 +0200
commitc4bce4aa60e62b55e2f7781a2aa55c2e30db2112 (patch)
tree759fe764ec678f2bbb43e58b40a5bc2e9b1b0109 /NEWS
parentf796e9877e7e065b23dee68184e46a4307d9dfa9 (diff)
downloadlibgcrypt-c4bce4aa60e62b55e2f7781a2aa55c2e30db2112.tar.gz
Fixed a pkcs#1 v1.5 flaw regarding leading zero bytes
With these changes the entire new pkcs#1 test suite passes fine. The leading zero bytes used to appear due to mixed signed/unsigned use of our internal representation of the values as MPIs. The changed code also detected another bug in the DSA selftest which used the pkcs1 flag - this was certainly wrong but didn't throw an error. The code in GnuPG does the right thing thus I believe not too many applications got it as wrong as we in our own selftest.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS4
1 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d3e3b95a..b2aca57d 100644
--- a/NEWS
+++ b/NEWS
@@ -10,9 +10,11 @@ Noteworthy changes in version 1.5.x (unreleased)
* Support for OAEP and PSS methods as described by RFC-3447.
+ * Fixed PKCS v1.5 code to always return the leading zero.
+
* New format specifiers "%M" and "%u" for gcry_sexp_build.
- * gcry_sexp_build does now support opaque MPIs with "%m" and "%M".
+ * Support opaque MPIs with "%m" and "%M" in gcry_sexp_build.
* New functions gcry_pk_get_curve and gcry_pk_get_param to map ECC
parameters to a curve name and to retrieve parameter values.