Add API options to command line

Bug #1272724 reported by Stuart Gathman
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dkimpy
Fix Released
Wishlist
Scott Kitterman

Bug Description

How do I pass canonicalization as an option from the commandline? Reading through the code, it appears that I there are classes for both relaxed and simple.

cat unsignedmessage | /usr/bin/dkimsign.py mykey mydomain.com mymailkeypriv.key myfromemailaddress c=relaxed

Doesn't seem to work, nor does:

cat unsignedmessage | /usr/bin/dkimsign.py mykey mydomain.com mymailkeypriv.key myfromemailaddress canonicalization=relaxed

If there is another way besides the command line to pass this argument, let me know and I will do that.

Thank you.

Related branches

Changed in dkimpy:
importance: Undecided → Wishlist
status: New → Triaged
Changed in dkimpy:
assignee: nobody → Scott Kitterman (kitterman)
milestone: none → 0.7.0
Revision history for this message
Scott Kitterman (kitterman) wrote :
Changed in dkimpy:
status: Triaged → Fix Committed
Revision history for this message
Scott Kitterman (kitterman) wrote :

Fixed in 0.7.0.

Changed in dkimpy:
milestone: 0.7.0 → none
status: Fix Committed → Fix Released
Revision history for this message
georgespatton (georgespatton) wrote :

Great, thank you for taking the time to add this functionality.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.