TalaoDAO / AltMe

Talao / Altme wallet : Open source Self Sovereign Identity wallet. Multi ecosystem support : EBSI conformant. ARF EUDI wallet implementation, DIIP and more.
https://talao.io
Apache License 2.0
40 stars 13 forks source link

Selective disclosure: error in selective disclosure selection for presentation #2681

Closed hawkbee1 closed 1 month ago

hawkbee1 commented 1 month ago

What is happening: An index is used to pick selective disclosure element we are presenting. List of element displayed on the pick page are from credentialModel.credentialSupported. We get selected index from this list. When presenting we use previous index on credentialModel.jwt list in order to build the list of selective disclusure presented.

The issue: Those two list are not the same and the data selected is not always the same as the one which is sent.

How to reproduce: Use PID credential form test 8 in https://talao.co/issuer/oidc/test Present this credential on test 12 from https://talao.co/sandbox/verifier/oidc/test Select first 2 elements and last 2 elements. On the web page after presentation you get a list of presented elements and can see that's not exactly what was selected.