From 28838a489d94a02eb44e5ff166f2c7a0babe452e Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 25 Sep 2016 19:50:16 +0200 Subject: nametransform: downgrade invalid length warning This happens all the time in reverse mode when somebody stats an encrypted symlink target. --- internal/nametransform/names.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/nametransform') diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go index 458c2b9..4850138 100644 --- a/internal/nametransform/names.go +++ b/internal/nametransform/names.go @@ -35,7 +35,7 @@ func (n *NameTransform) DecryptName(cipherName string, iv []byte) (string, error return "", err } if len(bin)%aes.BlockSize != 0 { - tlog.Warn.Printf("DecryptName %q: decoded length %d is not a multiple of 16", cipherName, len(bin)) + tlog.Debug.Printf("DecryptName %q: decoded length %d is not a multiple of 16", cipherName, len(bin)) return "", syscall.EINVAL } bin = eme.Transform(n.cryptoCore.BlockCipher, iv, bin, eme.DirectionDecrypt) -- cgit v1.2.3