openwallet-foundation / credo-ts

Typescript framework for building decentralized identity and verifiable credential solutions
https://credo.js.org
Apache License 2.0
258 stars 195 forks source link

AnonCreds RS should take predicates into account when querying credentials for a request #1685

Open TimoGlastra opened 8 months ago

TimoGlastra commented 8 months ago

I think it will currently return e.g. a credential where age = 18 even if the predicate is age >= 21.

I couldn't find code that correctly does a post filter on the found credentials. @genaris is that correct?

genaris commented 7 months ago

Yes, I'm afraid the post filtering for predicates in holder service has not been implemented yet.