hyperledger / anoncreds-rs

anoncreds-rs
https://wiki.hyperledger.org/display/anoncreds
Apache License 2.0
74 stars 55 forks source link

Using index 0 for issuing a credential gives "AnoncredsError: Invalid state: Revocation index is outside of valid range" #337

Closed TimoGlastra closed 6 months ago

TimoGlastra commented 6 months ago

It should be possible to issue a credential with revocation registry 0 right? Or does it start at 1?

I experienced this in the JS wrapper, not sure if it's present elsewhere.

TimoGlastra commented 6 months ago

cc @berendsliedrecht

andrewwhitehead commented 6 months ago

It does start at 1 by convention.