Delete more debug logs

This commit is contained in:
2024-12-19 22:26:29 +01:00
parent b065938211
commit cf2e1809a4
7 changed files with 15 additions and 43 deletions

View File

@@ -64,7 +64,6 @@ func decodeAndValidateKey(key string) ([]byte, error) {
// NewService creates a new Encryptor instance with the provided base64-encoded key
func NewService(key string) (Service, error) {
log := getLogger()
keyBytes, err := decodeAndValidateKey(key)
if err != nil {
return nil, err
@@ -80,7 +79,6 @@ func NewService(key string) (Service, error) {
return nil, fmt.Errorf("failed to create GCM: %w", err)
}
log.Info("encryption service created")
return &encryptor{gcm: gcm}, nil
}