el

Project TitleHyperledger AnonCreds v2 ZKP-based Credential Revocation Manager Implementation
Status

IN PROGRESS

Primary Focus

CODING    

Description 

Hyperledger AnonCreds v2 takes the privacy-preserving features of AnonCreds v1 Verifiable Credentials to a new level. AnonCreds v2 adds support for newer, mature cryptosuites (including BBS+ Signatures), and for a number of important Zero Knowledge Proofs (ZKP) that enable an even better balance between verifiability and privacy. AnonCreds v2 also adds a crucial new, highly-scaled approach to ZKP-based credential revocation – a crucial element of almost all verifiable credential ecosystems. Called ALLOSAUR, this new scheme allows a single revocation registry to be created by an verifiable credential issuer that scales to support millions of credentials in a fast, low-data manner. Instead of sharing millions of credential revocation statuses (revoked or not), the scheme relies on the transfer of just a handful of integers between participants, enabling secure revocation without a verifiable credential holder from having to share a correlatable identifer for themself to the verifier. ALLOSAUR requires the creation of a new component in the verifiable credential ecosystem, the revocation manager, which is the goal of this Hyperledger Mentorship – to implement a scalable ALLOSAUR revocation manager.  The revocation manager is a (relatively) simple service that implements two HTTP interfaces – an authorized interface to one or more AnonCreds issuers, and an open interface for receiving "update my data" requests from verifiable credential holders. The cryptography implemented by the revocation manager is interesting – employing both data sharding (processing a data split into segments such that the output can later be combined) and cryptographic accumulator processing. The implementation will at least be partially in Rust, with flexibility on the choice of languages/frameworks for the web service. The following shows the various the participants in a verifiable credential ecosystem, including the Revocation Manager to be added through this project.

Learning Objectives

  • Develop a sophisticated (yet straight-forward), high-performance web service for privacy-preserving verifiable credential ecosystems.
  • Learn about and use state of the art zero knowledge proof (ZKP) cryptography.
  • Use and evolve Rust software that implements the cryptographic core of the Revocation Manager component.
  • Develop a performant web service with an embedded cryptographic component.
  • Work with cryptographers and experts in verifiable credentials and the broader field of digital trust.
  • Understand the processes around delivering an open source web component for broad deployment.

Expected Outcome and Deliverables

  • The creation of the AnonCreds v2 Revocation Manager component.
  • A release pipeline for the publication of the Revocation Manager artifacts.
  • The creation of automated unit and integration tests for the component.
  • Documentation about how to run, test and deploy the Revocation Service service.
  • Opportunities to collaborate with project maintainers, and to present progress and results to the Hyperledger AnonCreds community.

Relation to Hyperledger and Impact on the community

This project focuses mainly on Hyperledger AnonCreds, and to a lesser extent on Hyperledger Aries, which uses AnonCreds, and Hyperledger Indy, a ledger on which AnonCreds objects may be stored. Enabling a highly-scalable, ZKP-based revocation scheme will have a significant impact on the ability to deploy privacy-preserving verifiable credentials in "jurisdication-level" use cases, such as in national identity systems, education credential ecosystems, and the other million/billion credential ecosystems.

Recommended Skills

The mentee should be comfortable with, and interested in, cryptography, particularly zero knowledge proofs, and in their application in web technologies. As well, the mentee should be comfortable in using GitHub for development, at least one web framework, and in implementing unit and integration tests using containers and GitHub actions. An interest in learning about cryptography, zero-knowledge proofs, and Rust is desirable.

Mentor(s) Names and Contact Info

Stephen Curran, swcurran@cloudcompass.ca, Cloud Compass Computing Inc. (Hyperledger AnonCreds Maintainer)

Mike Lodder, redmike7@gmail.com (Hyperledger AnonCreds Maintainer)

Additional Information

The following are links to the related topics:




1 Comment

  1. Dear Mentors,

    The topic is very interesting.

    I am interested and willing to learn Rust. Could you please let me know the programming languages in addition to Rust?

    Thank you.

    Regards,

    Sid.