Skip to content

Commit

Permalink
Add option to sign messages
Browse files Browse the repository at this point in the history
  • Loading branch information
blag committed Mar 30, 2017
1 parent 4c6350f commit fecf3cd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions email_extras/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
'expire_date': '2y',
}
SIGNING_KEY_DATA.update(getattr(settings, "EMAIL_EXTRAS_SIGNING_KEY_DATA", {}))
SIGNING_KEY_FINGERPRINT = getattr(
settings, "EMAIL_EXTRAS_SIGNING_KEY_FINGERPRINT", None)

# Used internally
encrypt_kwargs = {
'always_trust': ALWAYS_TRUST,
'sign': SIGNING_KEY_FINGERPRINT,
}


Expand Down

0 comments on commit fecf3cd

Please sign in to comment.