Add API options to command line

Bug #1272724 reported by Stuart Gathman on 2014-01-25
This bug affects 2 people
Affects Status Importance Assigned to Milestone
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/ mykey mymailkeypriv.key myfromemailaddress c=relaxed

Doesn't seem to work, nor does:

cat unsignedmessage | /usr/bin/ mykey 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
Scott Kitterman (kitterman) wrote :
Changed in dkimpy:
status: Triaged → Fix Committed
Scott Kitterman (kitterman) wrote :

Fixed in 0.7.0.

Changed in dkimpy:
milestone: 0.7.0 → none
status: Fix Committed → Fix Released

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

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

Other bug subscribers