crocs-muni / sec-certs

Tool for analysis of security certificates and their security targets (Common Criteria, NIST FIPS140-2...).
https://sec-certs.org
MIT License
12 stars 8 forks source link

switch to pydantic in settings management #326

Closed adamjanovsky closed 1 year ago

adamjanovsky commented 1 year ago

Management of global configuration variable is now left to Pydantic. This means:

adamjanovsky commented 1 year ago

@J08nY could you please briefly check this? If you build docs, the page configuration.html contains more elaborated description on how to work with the configuration, but little has changed.

I say we don't add support for loading secrets from files. Environment variables should be ok for now, right?