1
0
Fork 0

Uncap error

This commit is contained in:
Arnaud Ysmal 2021-10-04 01:06:46 +02:00
parent 7b8fdd2913
commit c67d4dbff1
1 changed files with 1 additions and 1 deletions

View File

@ -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])