Skip to content
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.

Re-enable cached JSON-LD document loader for zcaps #173

Open
llorllale opened this issue Dec 7, 2020 · 0 comments
Open

Re-enable cached JSON-LD document loader for zcaps #173

llorllale opened this issue Dec 7, 2020 · 0 comments
Labels

Comments

@llorllale
Copy link
Contributor

There is a bug in the framework when using the CachingDocumentLoader from json-gold that causes the server to panic and die.

It turns out the framework is automatically creating a CachingDocumentLoader and always adding the context we need (https://w3id.org/security/v1, https://w3id.org/security/v2). It's not safe to use the same CachingDocumentLoader instance across all verifications in different goroutines.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant