tfpauly / privacy-proxy

Specifications for Privacy Proxy Implementations
Other
29 stars 11 forks source link

Rate-Limited Tokens: Limit on number of tokens #171

Closed tlepoint closed 2 years ago

tlepoint commented 2 years ago

Section 1.2 says (emphasis is mine)

The Issuer knows the Origin's secret (Issuer Origin Secret) and policy about client access, and learns the Origin's identity (Origin Name) and the number of previous tokens issued to the Client (as communicated by the Attester) during issuance.

However, in the protocol it seem the attester is sending this value to the issuer. Instead, the issuer is using a “Sec-Token-Limit”` item structured header to and "contains the number of times a Client can retrieve a token for the requested Origin".

From this inconsistency, the following is unclear:

tfpauly commented 2 years ago

" the number of previous tokens issued to the Client (as communicated by the Attester)" is leftover from previous text. Will fix.