Anonymous credentials

A credential system in which a user obtains from an issuer a credential on a set of attributes and later proves to a verifier possession of a credential on attributes including a disclosed subset, without revealing their identity or the other attributes, and without letting distinct showings be linked to each other or to the issuance.

Syntax

The syntax and games below follow the game-based model of FHS19, in which a showing discloses a subset of the certified attribute set, simplified to one issuer and one credential per honest user. An anonymous credential system over an attribute universe is a tuple , following the two-party protocol syntax:

  • , a randomized algorithm sampling the issuer’s key pair for attribute sets of size at most ; a scheme without a size bound ignores ,
  • , a randomized algorithm sampling a user’s key pair,
  • (the user) and (the issuer) are interactive algorithms with , where is an attribute set with and is a credential on or ,
  • (the user) and (the verifier) are interactive algorithms with , where is the disclosed set and .

Unforgeability below rules out pooling the credentials of several users; schemes achieve this by binding each credential to its holder’s secret key, which uses — standard.

Properties

Correctness

An anonymous credential system is perfectly correct if for all , all with and all , with , and , we have and outputs with probability .

Unforgeability

The adversary obtains credentials on attribute sets of its choice for user keys of its choice, has honest users obtain credentials, and plays the verifier in their showings. It then plays the user in a showing of a disclosed set , and wins if the verifier accepts although no credential issued to it certifies a superset of . Showing by combining credentials on and with but is thus a forgery. Oracle access ends before the final showing, since relaying a concurrent showing by an honest user would be a trivial win. Each oracle call runs one complete session.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{uf}}_{\Pi,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\sk_I, \pk_I) \gets \KeyGen(1^\secpar, 1^{t})$; $\calQ \gets \{\}$; $u \gets 0$
\State $(D^*, \stA) \gets \calA^{\calO_{\mathrm{Iss}}, \calO_{\mathrm{HU}}, \calO_{\mathrm{Show}}}(1^\secpar, \pk_I)$
\State $(\bot, b) \gets \langle \calA(\stA), \Vrfy(\pk_I, D^*) \rangle$
\Comment{no oracle access during this showing}
\Return $[b = 1 \land \forall X \in \calQ : D^* \not\subseteq X]$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\mathrm{Iss}}(\pk_U, X)$}
\begin{algorithmic}
\If{$|X| > t$}
\Return $\bot$
\EndIf
\State $\calQ \gets \calQ \cup \{X\}$
\State run $\mathsf{Issue}(\sk_I, \pk_U, X)$ with $\calA$ as the user
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\mathrm{HU}}(X)$}
\begin{algorithmic}
\If{$|X| > t$}
\Return $\bot$
\EndIf
\State $u \gets u + 1$; $X_u \gets X$
\State $(\sk_u, \pk_u) \gets \mathsf{UKeyGen}(1^\secpar)$
\State $(\mathit{cred}_u, \bot) \gets \langle \mathsf{Obtain}(\pk_I, \sk_u, X), \mathsf{Issue}(\sk_I, \pk_u, X) \rangle$
\Return $\pk_u$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\mathrm{Show}}(j, D)$}
\begin{algorithmic}
\If{$j \notin [u] \lor \mathit{cred}_j = \bot \lor D \not\subseteq X_j$}
\Return $\bot$
\EndIf
\State run $\mathsf{Show}(\pk_I, \sk_j, \mathit{cred}_j, X_j, D)$ with $\calA$ as the verifier
\end{algorithmic}
\end{algorithm}

An anonymous credential system is unforgeable if for all polynomials and all efficient ,

is negligible.

Anonymity

The adversary receives the issuer’s key pair and plays the issuer whenever an honest user obtains a credential; it plays the verifier in honest users’ showings and may corrupt honest users, learning their keys and credentials. It names two honest users and a set that both credentials certify, plays the verifier in a showing of by user , and must guess . A showing thus reveals nothing beyond even to an issuer colluding with verifiers, and the adversary’s showings by and before and after the challenge make unlinkability of repeated showings part of the notion. The challenge users may not be corrupted, before or after the challenge, since the adversary would otherwise hold the key and credential the challenge showing uses. Here the issuer’s key pair is generated honestly; letting the adversary choose gives a stronger notion — standard.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{anon}}_{\Pi,\calA}(\secpar)$}
\begin{algorithmic}
\State $(\sk_I, \pk_I) \gets \KeyGen(1^\secpar, 1^{t})$; $b \getsr \bits$; $\calC \gets \{\}$; $u \gets 0$
\State $(j_0, j_1, D, \stA) \gets \calA^{\calO_{\mathrm{Obt}}, \calO_{\mathrm{Show}}, \calO_{\mathrm{Corr}}}(1^\secpar, \sk_I, \pk_I)$
\If{$\{j_0, j_1\} \not\subseteq [u] \lor \mathit{cred}_{j_0} = \bot \lor \mathit{cred}_{j_1} = \bot \lor D \not\subseteq X_{j_0} \cap X_{j_1}$}
\State $b' \getsr \bits$
\Comment{an invalid challenge earns no advantage}
\Return $[b' = b]$
\EndIf
\State $(\bot, \stA') \gets \langle \mathsf{Show}(\pk_I, \sk_{j_b}, \mathit{cred}_{j_b}, X_{j_b}, D), \calA(\stA) \rangle$
\State $b' \gets \calA^{\calO_{\mathrm{Obt}}, \calO_{\mathrm{Show}}, \calO_{\mathrm{Corr}}}(\stA')$
\If{$j_0 \in \calC \lor j_1 \in \calC$}
\State $b' \getsr \bits$
\Comment{the challenge users may not be corrupted}
\EndIf
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\mathrm{Obt}}(X)$}
\begin{algorithmic}
\If{$|X| > t$}
\Return $\bot$
\EndIf
\State $u \gets u + 1$; $X_u \gets X$
\State $(\sk_u, \pk_u) \gets \mathsf{UKeyGen}(1^\secpar)$; send $\pk_u$ to $\calA$
\State $\mathit{cred}_u \gets$ output of $\mathsf{Obtain}(\pk_I, \sk_u, X)$ run with $\calA$ as the issuer
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Oracle}
\caption{$\calO_{\mathrm{Corr}}(j)$}
\begin{algorithmic}
\State $\calC \gets \calC \cup \{j\}$
\Return $(\sk_j, \mathit{cred}_j)$
\end{algorithmic}
\end{algorithm}

is as in the unforgeability game. An anonymous credential system is anonymous if for all polynomials and all efficient ,

is negligible. As an object, anonymous credentials denote perfectly correct systems that are unforgeable and anonymous.

Variations

Keyed-verification anonymous credentials

The issuer is also the verifier: takes the issuer’s secret key, and credentials can be MACs rather than signatures. Algebraic MACs in prime-order groups give such credentials — CMZ14.

Delegatable anonymous credentials

A credential holder can delegate the credential to another user, who can delegate it further, and a showing proves possession of a credential levels away from the issuer, for a public , without revealing the identities along the delegation chain. Randomizable non-interactive zero-knowledge proofs of knowledge, combined with an authentication scheme for users’ secret keys, give delegatable anonymous credentials — BCC+09.

Other results

  • Credential systems in which a user deals with each organization under a different pseudonym, unlinkable to the others, and transfers credentials between pseudonyms were introduced by Cha85. LRSW99 formalize such pseudonym systems.
  • The first practical system in which a user can show a credential unlinkably any number of times without involving the issuer, with optional anonymity revocation, is secure under the strong RSA assumption and DDH modulo a safe-prime product — CL01.
  • With a zero-knowledge proof that a committed value is accumulated, a dynamic accumulator revokes anonymous credentials, with proving and verifying non-revocation at a cost independent of the number of credentials issued or revoked, while each holder updates its witness after every change; the RSA accumulator is a collision-free dynamic accumulator under strong RSA for safe-prime moduli (Strong RSA (safe-prime moduli) ⇒ dynamic accumulator) — CL02.
  • In symmetric bilinear groups, Camenisch–Lysyanskaya signatures, secure under the interactive LRSW assumption (Type 1 pairing + LRSW ⇒ DS), come with efficient protocols for obtaining a signature on a committed message and proving knowledge of a signature, and so give anonymous credentials — CL04.
  • Structure-preserving signatures on equivalence classes together with set commitments give multi-show credentials with selective disclosure of attribute subsets whose showings have size independent of the numbers of certified and disclosed attributes — FHS19.