Skip to content

Commit

Permalink
Add token key encoding to the registry
Browse files Browse the repository at this point in the history
  • Loading branch information
chris-wood committed Jul 12, 2023
1 parent 93b4553 commit 117323e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 2 additions & 0 deletions draft-ietf-privacypass-auth-scheme.md
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,7 @@ Template:
* Value: The two-byte identifier for the algorithm
* Name: Name of the issuance protocol
* Token Structure: The contents of the Token structure in {{redemption}}
* Token Key Encoding: The encoding of the "token-key" parameter in {{redemption}}
* TokenChallenge Structure: The contents of the TokenChallenge structure in {{challenge}}
* Publicly Verifiable: A Y/N value indicating if the output tokens are
publicly verifiable
Expand Down Expand Up @@ -639,6 +640,7 @@ for Private Use.
* Value: 0xFF00-0xFFFF
* Name: Private Use
* Token Structure: The contents of the Token structure in {{redemption}}
* Token Key Encoding: N/A
* TokenChallenge Structure: The contents of the TokenChallenge structure in {{challenge}}
* Publicly Verifiable: N/A
* Public Metadata: N/A
Expand Down
9 changes: 4 additions & 5 deletions draft-ietf-privacypass-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,7 @@ This document updates the "Token Type" Registry from
* Value: 0x0001
* Name: VOPRF (P-384, SHA-384)
* Token Structure: As defined in {{Section 2.2 of AUTHSCHEME}}
* Token Key Encoding: Serialized using SerializeElement from {{Section 2.1 of OPRF}}
* TokenChallenge Structure: As defined in {{Section 2.1 of AUTHSCHEME}}
* Publicly Verifiable: N
* Public Metadata: N
Expand All @@ -752,6 +753,7 @@ This document updates the "Token Type" Registry from
* Value: 0x0002
* Name: Blind RSA (2048-bit)
* Token Structure: As defined in {{Section 2.2 of AUTHSCHEME}}
* Token Key Encoding: Serialized as a DER-encoded SubjectPublicKeyInfo (SPKI) object
* TokenChallenge Structure: As defined in {{Section 2.1 of AUTHSCHEME}}
* Publicly Verifiable: Y
* Public Metadata: N
Expand Down Expand Up @@ -1012,8 +1014,7 @@ The test vector below lists the following values:

- skS: The Issuer private Key, serialized using SerializeScalar from
{{Section 2.1 of OPRF}} and represented as a hexadecimal string.
- pkS: The Issuer Public Key, serialized using SerializeElement from
{{Section 2.1 of OPRF}} and represented as a hexadecimal string.
- pkS: The Issuer Public Key, serialized according to the encoding in {{private-token-type}}.
- token_challenge: A randomly generated TokenChallenge structure, represented
as a hexadecimal string.
- nonce: The 32-byte client nonce generated according to {{private-request}},
Expand Down Expand Up @@ -1156,9 +1157,7 @@ The test vector below lists the following values:

- skS: The PEM-encoded PKCS#8 RSA Issuer Private Key used for signing tokens,
represented as a hexadecimal string.
- pkS: The DER-encoded SubjectPublicKeyInfo object carrying the Issuer Public
Key, as described in {{public-issuer-configuration}}, represented as a
hexadecimal string.
- pkS: The Issuer Public Key, serialized according to the encoding in {{public-token-type}}.
- token_challenge: A randomly generated TokenChallenge structure, represented
as a hexadecimal string.
- nonce: The 32-byte client nonce generated according to {{public-request}},
Expand Down

0 comments on commit 117323e

Please sign in to comment.