diff --git a/ChangeLog b/ChangeLog index 1cd1983..e12d8bf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 - Fully fold DKIM-Signature on sign, and ignore FWS in b= value on verify diff --git a/PKG-INFO b/PKG-INFO index 07bd5f4..158ecec 100644 --- a/PKG-INFO +++ b/PKG-INFO @@ -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 diff --git a/README b/README index 6c9106b..5ac4adb 100644 --- a/README +++ b/README @@ -11,7 +11,7 @@ signing and verification. VERSION -This is dkimpy 0.5.2. +This is dkimpy 0.5.3. REQUIREMENTS diff --git a/dkim/crypto.py b/dkim/crypto.py index 532eabf..7ab43f3 100644 --- a/dkim/crypto.py +++ b/dkim/crypto.py @@ -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], diff --git a/setup.py b/setup.py index 297308b..d92bf57 100644 --- a/setup.py +++ b/setup.py @@ -24,7 +24,7 @@ from distutils.core import setup import os -version = "0.5.2" +version = "0.5.3" setup( name = "dkimpy",