- Add additional text documenting use of srv_id for ARC signing (LP: #1808301)

This commit is contained in:
Scott Kitterman
2019-04-14 22:21:45 -04:00
parent aa5419b7d9
commit a1b6e73ae1
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -4,6 +4,8 @@ UNRELEASED Version 0.9.2
fields with an authserv-id that matches srv_id will be considered for fields with an authserv-id that matches srv_id will be considered for
ARC signing) ARC signing)
- Fix cv=none processing for initial signature in chain - Fix cv=none processing for initial signature in chain
- Add additional text documenting use of srv_id for ARC signing
(LP: #1808301)
- Refactor canonicalization.py strip_trailing_lines to avoid using re for - Refactor canonicalization.py strip_trailing_lines to avoid using re for
more consistent processing across python versions (Thanks to Jonathan more consistent processing across python versions (Thanks to Jonathan
Bastien-Filiatrault for the change) Bastien-Filiatrault for the change)
+1 -1
View File
@@ -1284,7 +1284,7 @@ def arc_sign(message, selector, domain, privkey,
@param selector: the DKIM selector value for the signature @param selector: the DKIM selector value for the signature
@param domain: the DKIM domain value for the signature @param domain: the DKIM domain value for the signature
@param privkey: a PKCS#1 private key in base64-encoded text form @param privkey: a PKCS#1 private key in base64-encoded text form
@param srv_id: the authserv_id used to identify the ADMD's AR headers @param srv_id: the authserv_id used to identify the ADMD's AR headers and to use for ARC authserv_id
@param signature_algorithm: the signing algorithm to use when signing @param signature_algorithm: the signing algorithm to use when signing
@param include_headers: a list of strings indicating which headers are to be signed (default all headers not listed as SHOULD NOT sign) @param include_headers: a list of strings indicating which headers are to be signed (default all headers not listed as SHOULD NOT sign)
@param timestamp: the time in integer seconds when the message is sealed (default is int(time.time) based on platform, can be string or int) @param timestamp: the time in integer seconds when the message is sealed (default is int(time.time) based on platform, can be string or int)