From c67d4dbff1c4dbb200ea4ec7d6e5d73a71bf9279 Mon Sep 17 00:00:00 2001 From: Arnaud Ysmal Date: Mon, 4 Oct 2021 01:06:46 +0200 Subject: [PATCH] Uncap error --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 0889f6e..9443c2f 100755 --- a/main.go +++ b/main.go @@ -92,7 +92,7 @@ func decryptAESCBC(p string, enc string) ([]byte, error) { } if !bytes.Equal(tmp[:8], []byte{0x53, 0x61, 0x6c, 0x74, 0x65, 0x64, 0x5f, 0x5f}) { - return []byte{}, errors.New("Magic not found") + return []byte{}, errors.New("magic not found") } key, iv := deriveKeyFromPassword(p, tmp[8:16])