spruceid / ssi

Core library for decentralized identity.
https://spruceid.dev
Apache License 2.0
193 stars 61 forks source link

Presentations are not really validated in 0.8.0 #553

Open ivan770 opened 3 months ago

ivan770 commented 3 months ago

It seems that currently JSON presentations are not being validated: https://github.com/spruceid/ssi/blob/b9e988d7f450598b3e277810e73e4dd7483ba255/crates/claims/crates/vc/src/syntax/json/presentation/mod.rs#L92-L96

At the very least, it's possible to loop through all credentials and verify that they are still valid.