openwallet-foundation-labs / credhub

a cloud wallet for natural persons + minimal issuer and verifier implementations
https://credhub.eu
Apache License 2.0
6 stars 5 forks source link

Make issuer and verifier input more dynamic #15

Closed cre8 closed 2 months ago

cre8 commented 2 months ago

Right now the issuer and verifier will load all defined values on start. This allows them to cache the values, but requires a restart when some of the files were updated.

Pro on loading on startup:

Pro on on demand loading

As an alternative when providing endpoints to update the information, they can be validated before using them. For now it seems easier to just persist them as json documents without the need to spin up a database to manage them.