Skip to content

gowtham-gopalakrishnan/arc-signer-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ARC signer in Python

Repository for ARC signing in Python with virtualenv.

Setup

pip install --upgrade setuptools # upgrade setuptools
pip install -r requirements.txt

Gotchas:

The dkimpy library that is used internally won't include dkim-signature by default. After installing all the requirements, remove dkim-signature from the SHOULD_NOT tuple in the file. It'll be typically located in the following file (~L516):

venv/lib/python3.7/site-packages/dkim/__init__.py

After modification, the SHOULD_NOT should look like the following:

#: The rfc6376 recommended header fields not to sign.
#: @since: 0.5
SHOULD_NOT = (
b'return-path',b'received',b'comments',b'keywords',b'bcc',b'resent-bcc'
)

About

ARC signer python wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages