Add a 2 day offset for signature creation time checking
This commit is contained in:
parent
dcd96f512c
commit
914fc679a6
4 changed files with 65 additions and 78 deletions
|
|
@ -30,3 +30,7 @@ func trimNewlines(input string) string {
|
|||
var re = regexp.MustCompile(`(?m)[ \t]*$`)
|
||||
return re.ReplaceAllString(input, "")
|
||||
}
|
||||
|
||||
// Amount of seconds that a signature may be created after the verify time
|
||||
// Consistent with the 2 day slack allowed in the ProtonMail Email Parser
|
||||
var creationTimeOffset = int64(60 * 60 * 24 * 2)
|
||||
Loading…
Add table
Add a link
Reference in a new issue