Internet-Draft | Privacy Pass Token Expiration Extension | July 2023 |
Hendrickson & Wood | Expires 11 January 2024 | [Page] |
This document describes an extension for Privacy Pass that allows tokens to encode expiration information.¶
This note is to be removed before publishing as an RFC.¶
The latest revision of this draft can be found at https://chris-wood.github.io/draft-hendrickson-privacypass-token-extensions/draft-hendrickson-privacypass-token-extensions.html. Status information for this document may be found at https://datatracker.ietf.org/doc/draft-hendrickson-privacypass-expiration-extension/.¶
Discussion of this document takes place on the Privacy Pass Working Group mailing list (mailto:privacy-pass@ietf.org), which is archived at https://mailarchive.ietf.org/arch/browse/privacy-pass/. Subscribe at https://www.ietf.org/mailman/listinfo/privacy-pass/.¶
Source for this draft and an issue tracker can be found at https://github.com/chris-wood/draft-hendrickson-privacypass-token-extensions.¶
This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.¶
Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.¶
Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."¶
This Internet-Draft will expire on 11 January 2024.¶
Copyright (c) 2023 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.¶
Some Privacy Pass token types support binding additional information to the tokens, often referred to as public metadata. [AUTH-EXTENSIONS] describes an extension parameter to the basic PrivateToken HTTP authentication scheme [AUTH-SCHEME] for supplying this metadata alongside a token. [EXTENDED-ISSUANCE] describes variants of the basic Privacy Pass issuance protocols [BASIC-ISSUANCE] that support issuing tokens with public metadata. However, there are no existing extensions defined to make use of these protocol extensions.¶
This document describes an extension for Privacy Pass that allows tokens to encode expiration information. The use case and deployment considerations, especially with respect to the resulting privacy impact, are also discussed.¶
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The expiration extension is an extension used to convey the expiration for an issued token. It is useful for Privacy Pass deployments that make use of cached tokens, i.e., those that are not bound to a specific TokenChallenge redemption context, without having to frequently rotate issuing public keys.¶
For example, consider a Privacy Pass deployment wherein clients use cached tokens that are valid for one hour. Clients could pre-fetch these tokens each hour and the issuer and origin could rotate the verification key every hour to force expiration. Alternatively, clients could pre-fetch tokens for the entire day all at once, including an expiration timestamp in each token to indicate the time window for which the token is valid.¶
Including a specific expiration timestamp could reveal specific information about a client, if, say, a client has a uniquely skewed clock. For that reason, clients can round the timestamp, resulting in a loss of precision but overall less unique value. Clients do this by choosing an expiration timestamp and the precision they would like, e.g., the UNIX time of expiration rounded to the nearest hour, day, or week.¶
The value of this extension is an ExpirationTimestamp, defined as follows.¶
struct { uint64 timestamp_precision; uint64 timestamp; } ExpirationTimestmap;¶
The ExpirationTimestmap fields are defined as follows:¶
As an example, an ExpirationTimestamp structure with the following value would be interpreted as an expiration timestamp of 1688583600, i.e., July 05, 2023 at 19:00:00 GMT+0000, which is the timestamp rounded to the nearest hour (timestamp_precision = 3600).¶
struct { uint64 timestamp_precision = 3600; uint64 timestamp = 1688583600; } ExpirationTimestmap;¶
Use of extensions risks revealing additional information to parties that see these extensions, including the Attester, Issuer, and Origin. Each extension in this document specifies security and privacy considerations relevant to its use. More general information regarding the use of extensions and their possible impact on client privacy can be found in [ARCHITECTURE].¶
This document registers the following entry into the "Privacy Pass PrivateToken Extensions" registry.¶
This document received input and feedback from Jim Laskey.¶