- Make RSA signatures in dkimpy-milter optional, so dkimpy-milter can be
added after an existing DKIM signing application to add an Ed25519 signature (Thanks to A. Schulze for the patch)
This commit is contained in:
committed by
Scott Kitterman
parent
7683fa7187
commit
3e57876361
@@ -7,6 +7,9 @@
|
|||||||
creation to README
|
creation to README
|
||||||
- Fixed a bug where dkim fail might be reported as pass when verifying
|
- Fixed a bug where dkim fail might be reported as pass when verifying
|
||||||
multiple signatures and a previous signature had passed
|
multiple signatures and a previous signature had passed
|
||||||
|
- Make RSA signatures in dkimpy-milter optional, so dkimpy-milter can be
|
||||||
|
added after an existing DKIM signing application to add an Ed25519
|
||||||
|
signature (Thanks to A. Schulze for the patch)
|
||||||
|
|
||||||
0.9.3 2018-03-02
|
0.9.3 2018-03-02
|
||||||
- Fixup csl dataset processing for single item lists
|
- Fixup csl dataset processing for single item lists
|
||||||
|
|||||||
@@ -195,6 +195,7 @@ class dkimMilter(Milter.Base):
|
|||||||
canonicalize.append(canon)
|
canonicalize.append(canon)
|
||||||
syslog.syslog('canonicalize: {0}'.format(canonicalize))
|
syslog.syslog('canonicalize: {0}'.format(canonicalize))
|
||||||
try:
|
try:
|
||||||
|
if privateRSA:
|
||||||
d = dkim.DKIM(txt)
|
d = dkim.DKIM(txt)
|
||||||
h = d.sign(milterconfig.get('Selector'), self.fdomain, privateRSA,
|
h = d.sign(milterconfig.get('Selector'), self.fdomain, privateRSA,
|
||||||
canonicalize=(canonicalize[0], canonicalize[1]))
|
canonicalize=(canonicalize[0], canonicalize[1]))
|
||||||
|
|||||||
Reference in New Issue
Block a user