Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Libindy allows issuing of partially filled credentials #2230

Closed
Artemkaaas opened this issue Aug 27, 2020 · 0 comments
Closed

Libindy allows issuing of partially filled credentials #2230

Artemkaaas opened this issue Aug 27, 2020 · 0 comments
Labels
wont-address-project-depreciated This Issue or PR will not be addressed. The project has been depreciated.

Comments

@Artemkaaas
Copy link
Contributor

Libindy 1.15.0 allows us to issue a credential containing only part of fields specified in a credential definition/schema.
But next a proof generation with the usage of that credential fails with:
`
TRACE:indy.libindy.native.indy.api.anoncreds: src/api/anoncreds.rs:2050 | prepare_result_1: >>> Err(IndyError { inner:

UrsaCryptoError: Credential doesn't correspond to credential schema

Invalid structure })
`

Libindy/URSA must validate that credential attributes fully match to credential definition / schema during the issuance.

Sample reproducing the issue can be found here: https://github.com/Artemkaaas/indy-sdk/blob/bugfix/partial-credential/samples/python/src/anoncreds.py

@jovfer jovfer pinned this issue Aug 27, 2020
@WadeBarnes WadeBarnes added the wont-address-project-depreciated This Issue or PR will not be addressed. The project has been depreciated. label Oct 24, 2023
@ryjones ryjones closed this as completed Feb 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
wont-address-project-depreciated This Issue or PR will not be addressed. The project has been depreciated.
Development

No branches or pull requests

3 participants