hyperledger / anoncreds-rs

anoncreds-rs
https://wiki.hyperledger.org/display/anoncreds
Apache License 2.0
73 stars 51 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 2 months ago

TimoGlastra commented 2 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 2 months ago

cc @berendsliedrecht

andrewwhitehead commented 2 months ago

It does start at 1 by convention.