3 releases (breaking)

new 0.3.0 May 10, 2024
0.2.0 Mar 4, 2024
0.1.0 Oct 13, 2023

#367 in Authentication

Download history 10/week @ 2024-02-25 141/week @ 2024-03-03 48/week @ 2024-03-10 1/week @ 2024-03-17 21/week @ 2024-03-24 45/week @ 2024-03-31 5/week @ 2024-04-07 106/week @ 2024-05-05

106 downloads per month
Used in 2 crates


5.5K SLoC

Keyed-Verification Anonymous Credentials (KVAC)

Implements Keyed-Verification Anonymous Credentials (KVAC) schemes from the following papers. KVACs are supposed to be verified by the issuer only (or anyone who shares the issuer's key)

  1. Improved Algebraic MACs and Practical Keyed-Verification Anonymous Credentials is implemented here
  2. Fast Keyed-Verification Anonymous Credentials on Standard Smart Cards is specified here but is pending implementation.

Both implementations support additional verification methods that allow joint verification of proof of possession of credentials where one of the verifier is the issuer who knows the secret key and another verifier does not know secret key but learns the revealed attributes which are not shared with the issuer. This lets us build for a use-case where issuer wants to allow anytime its issued credential is used (eg. to get paid by the verifier) while still not harming the user's privacy as it doesn't learn any revealed attributes.


~137K SLoC