Closed nedgar closed 1 year ago
Would it be better to use a value data slot instead, so only one AgeCredential
could be issued? This would still allow making corrections since a new version could still be published.
That's a good point. As the index part contains the schema hash and identity id, it's sufficient to ensure only 1 claim of that schema for a specific user ever exists in the claim tree.
The
AgeCredential
schema stores thebirthDay
in the first index data slot (index value 3 in the Merkle tree):But doesn't that allow issuing multiple birthday claims instead of just one, since the two claims would have unique index hashes?