- Fix linesep setting in arcsign script (LP: #1838262) (Thanks to Gowtham

Gopalakrishnan for the report and the patch)
This commit is contained in:
Scott Kitterman
2019-08-04 17:51:27 -04:00
parent 9904db4e5c
commit 0019bad372
4 changed files with 7 additions and 3 deletions
+4
View File
@@ -1,3 +1,7 @@
UNRELEASED Version 0.9.3
- Fix linesep setting in arcsign script (LP: #1838262) (Thanks to Gowtham
Gopalakrishnan for the report and the patch)
2019-04-14 Version 0.9.2 2019-04-14 Version 0.9.2
- Fix the arcsign script so it works with the current API (Note: the new - Fix the arcsign script so it works with the current API (Note: the new
srv_id option is the authserv_id to use in the ARC signatures - Only AR srv_id option is the authserv_id to use in the ARC signatures - Only AR
+1 -1
View File
@@ -11,7 +11,7 @@ signing and verification.
VERSION VERSION
This is dkimpy 0.9.2. This is dkimpy 0.9.3.
REQUIREMENTS REQUIREMENTS
+1 -1
View File
@@ -67,7 +67,7 @@ def main():
#try: #try:
sig = dkim.arc_sign(message, selector, domain, open(privatekeyfile, "rb").read(), sig = dkim.arc_sign(message, selector, domain, open(privatekeyfile, "rb").read(),
srv_id, cv, dkim.util.get_linesep(message)) srv_id, cv, linesep=dkim.util.get_linesep(message))
for line in sig: for line in sig:
sys.stdout.write(line) sys.stdout.write(line)
sys.stdout.write(message) sys.stdout.write(message)
+1 -1
View File
@@ -25,7 +25,7 @@ from setuptools import setup
import os import os
import sys import sys
version = "0.9.2" version = "0.9.3"
kw = {} # Work-around for lack of 'or' requires in setuptools. kw = {} # Work-around for lack of 'or' requires in setuptools.
try: try: