This commit is contained in:
2025-04-07 18:01:39 -04:00
parent 0c8b1efaa9
commit 103981762f
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ namespace LibTSforge.Crypto
byte[] aesKeySig = br.ReadBytes(0x80);
byte[] encAesKey = br.ReadBytes(0x80);
if (CryptoUtils.RSAVerifySignature(rsaKey, encAesKey, aesKeySig))
if (!CryptoUtils.RSAVerifySignature(rsaKey, encAesKey, aesKeySig))
{
throw new Exception("Failed to decrypt physical store.");
}