Uploaded image for project: 'James jDKIM'
  1. James jDKIM
  2. JDKIM-15

Support timestamp (t=) attribute in signature

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.2
    • 0.2
    • library
    • None

    Description

      t=
      Signature Timestamp (plain-text unsigned decimal integer; RECOMMENDED, default is an unknown creation time). The time that this signature was created. The format is the number of seconds since 00:00:00 on January 1, 1970 in the UTC time zone. The value is expressed as an unsigned integer in decimal ASCII. This value is not constrained to fit into a 31- or 32-bit integer. Implementations SHOULD be prepared to handle values up to at least 10^12 (until approximately AD 200,000; this fits into 40 bits). To avoid denial-of-service attacks, implementations MAY consider any value longer than 12 digits to be infinite. Leap seconds are not counted. Implementations MAY ignore signatures that have a timestamp in the future.
      ABNF:

      sig-t-tag = %x74 [FWS] "=" [FWS] 1*12DIGIT

      If the input signature has "t=;" then we could add the current timestamp, otherwise we should leave everything as is.

      While verifying a signature with a t= parameter we should "ignore" signatures with a date in the future.

      Attachments

        Activity

          People

            bago Stefano Bagnara
            bago Stefano Bagnara
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: