From 11420df5928560bc0c5285b7875f46052a2be0af Mon Sep 17 00:00:00 2001 From: George Angel Date: Tue, 23 Jul 2024 20:54:32 +1000 Subject: [PATCH] Don't log on "normal" operation --- age.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/age.go b/age.go index 5b30a32..32e6bca 100644 --- a/age.go +++ b/age.go @@ -127,8 +127,8 @@ func agePlaintextEqual(in []byte, f string) bool { } fileAtHEAD := ageFileAtHEAD(f) + // potentially re-encrypting SIV file if !strings.HasPrefix(string(fileAtHEAD), armor.Header) { - log.Printf("Expect age header: command=%v filename=%s blob=%s", command, f, string(fileAtHEAD)) return false } var plaintext bytes.Buffer