- Update changelog and versions to start 0.5.3.

- Improve key error messages to help troubleshooting.
This commit is contained in:
Scott Kitterman
2012-07-21 01:44:06 -04:00
parent 9fd21038e6
commit 02551e35b2
5 changed files with 10 additions and 6 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
2012-06-13 Verion 0.5.2
UNRELEASED Version 0.5.3
- Make key parsing error messages more specific to help troubleshooting
(Based on user feedback)
2012-06-13 Version 0.5.2
- Change canonicalization defaults to work around issues with different
verification implementations <https://launchpad.net/bugs/939128>
- Fully fold DKIM-Signature on sign, and ignore FWS in b= value on verify
+1 -1
View File
@@ -1,6 +1,6 @@
Metadata-Version: 1.0
Name: dkimpy
Version: 0.5.2
Version: 0.5.3
Summary: DKIM (DomainKeys Identified Mail)
Home-page: https://launchapd.net/dkimpy
Author: Scott Kitterman
+1 -1
View File
@@ -11,7 +11,7 @@ signing and verification.
VERSION
This is dkimpy 0.5.2.
This is dkimpy 0.5.3.
REQUIREMENTS
+2 -2
View File
@@ -112,7 +112,7 @@ def parse_public_key(data):
x = asn1_parse(ASN1_Object, data)
pkd = asn1_parse(ASN1_RSAPublicKey, x[0][1][1:])
except ASN1FormatError as e:
raise UnparsableKeyError(str(e))
raise UnparsableKeyError('Unparsable public key: ' + str(e))
pk = {
'modulus': pkd[0][0],
'publicExponent': pkd[0][1],
@@ -129,7 +129,7 @@ def parse_private_key(data):
try:
pka = asn1_parse(ASN1_RSAPrivateKey, data)
except ASN1FormatError as e:
raise UnparsableKeyError(str(e))
raise UnparsableKeyError('Unparsable private key: ' + str(e))
pk = {
'version': pka[0][0],
'modulus': pka[0][1],
+1 -1
View File
@@ -24,7 +24,7 @@
from distutils.core import setup
import os
version = "0.5.2"
version = "0.5.3"
setup(
name = "dkimpy",