dwn-sdk-js icon indicating copy to clipboard operation
dwn-sdk-js copied to clipboard

Add cache support to avoid costly validation of the same signature

Open bnonni opened this issue 2 years ago • 1 comments

Add logic to prevent validating duplicate signatures

https://github.com/TBD54566975/dwn-sdk-js/blob/fcea84929e12dd3e3ef0e8866b0e592a025786fa/src/jose/jws/general/verifier.ts#L14-L44

bnonni avatar Jul 22 '22 11:07 bnonni

We've implemented an in-memory cache that can be used.

thehenrytsai avatar Oct 18 '22 16:10 thehenrytsai

Thanks again @flothjl!

thehenrytsai avatar Nov 04 '22 03:11 thehenrytsai