8 releases (breaking)

0.8.0 Mar 4, 2024
0.7.0 Oct 10, 2023
0.6.0 Oct 2, 2023
0.5.0 Jun 23, 2023
0.1.0 Feb 1, 2023

#6 in #equivalence

Download history 2/week @ 2024-02-16 9/week @ 2024-02-23 118/week @ 2024-03-01 21/week @ 2024-03-08 2/week @ 2024-03-15 17/week @ 2024-03-29 6/week @ 2024-04-05

169 downloads per month

Apache-2.0

450KB
11K SLoC

Delegatable credentials

Provides 2 variations:

  1. Ad-hoc delegation where credential owner chooses a set of issuer public keys and proves that the credential was issued by one of the key. Based on the paper Protego: A Credential Scheme for Permissioned Blockchains. Code
  2. Here there is a root issuer which can issue a credential to anyone with the permission to reissue the credential with or without additional attributes. Based on the paper Practical Delegatable Anonymous Credentials From Equivalence Class Signatures. Code

The aforementioned schemes are built using the following primitives:

  1. Set Commitment Scheme
  2. Mercurial signatures
  3. Structure-Preserving Signatures on Equivalence Classes (SPE-EQ) which are realized using Mercurial signatures
  4. Structure Preserving Signatures on Equivalence Classes on Updatable Commitments (SPSEQ-UC) which is also realized using Mercurial signatures.

Dependencies

~8MB
~154K SLoC