aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-09-25 19:50:16 +0200
committerJakob Unterwurzacher2016-09-25 19:50:16 +0200
commit28838a489d94a02eb44e5ff166f2c7a0babe452e (patch)
treee69b0082ec521b1f0a6a09666db93853f5e09c98 /internal
parent5f4b16c00f2475a8efd0ae0d4d4e26f92b563dc0 (diff)
nametransform: downgrade invalid length warning
This happens all the time in reverse mode when somebody stats an encrypted symlink target.
Diffstat (limited to 'internal')
-rw-r--r--internal/nametransform/names.go2
1 files changed, 1 insertions, 1 deletions
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)