eu-digital-green-certificates / dgca-validation-service

Validation service can validate eu digital covid certificates for travel and booking services using business rules from dgca-businessrule-service and certificates from dgca-verifier-service.
Apache License 2.0
13 stars 10 forks source link

Modify Fixed Key Provider #20

Closed SchulzeStTSI closed 3 years ago

SchulzeStTSI commented 3 years ago

The public key in the provider should be replaced by a environment variable:

https://github.com/eu-digital-green-certificates/dgca-validation-service/blob/main/src/main/java/eu/europa/ec/dgc/validation/service/impl/FixAccessTokenKeyProvider.java

If the environment variable is not set, please throw a exception.