Log the config after loading

This commit is contained in:
2024-12-18 22:16:20 +01:00
parent 7ccd36f0e4
commit f6de4fb839
4 changed files with 34 additions and 40 deletions

View File

@@ -33,8 +33,6 @@ func getLogger() logging.Logger {
// ValidateKey checks if the provided base64-encoded key is suitable for AES-256
func ValidateKey(key string) error {
log := getLogger()
log.Debug("validating encryption key")
_, err := decodeAndValidateKey(key)
return err
}