You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, UniCore does not check if the presentation IDs submitted with /v0/services/linked-vp exist. While refactoring the company wallet, I accidentally submitted [''] instead of [] and UniCore was happy with it.
UniCore should not trust a client to submit valid presentation IDs and instead validate them and return status 400 if any presentation ID does not exist. Then a client can trust UniCore that it returns valid presentation IDs with /v0/services/linked-verifiable-presentation-service.
Motivation
Make API more robust.
Resources
No response
To-do List
n/a
The text was updated successfully, but these errors were encountered:
Description
Currently, UniCore does not check if the presentation IDs submitted with
/v0/services/linked-vp
exist. While refactoring the company wallet, I accidentally submitted['']
instead of[]
and UniCore was happy with it.UniCore should not trust a client to submit valid presentation IDs and instead validate them and return status
400
if any presentation ID does not exist. Then a client can trust UniCore that it returns valid presentation IDs with/v0/services/linked-verifiable-presentation-service
.Motivation
Make API more robust.
Resources
No response
To-do List
n/a
The text was updated successfully, but these errors were encountered: