Skip to content

Commit

Permalink
Don't log on "normal" operation
Browse files Browse the repository at this point in the history
  • Loading branch information
george-angel committed Jul 23, 2024
1 parent 7ebf08d commit 11420df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion age.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11420df

Please sign in to comment.