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

#2942 in Magic Beans

Download history 3/week @ 2024-03-14 10/week @ 2024-03-28 13/week @ 2024-04-04

169 downloads per month

Apache-2.0

460KB
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

~7.5MB
~139K SLoC