Fixed 3DS cert not being verified correctly

This commit is contained in:
Jonathan Barrow
2023-03-31 12:09:12 -04:00
parent 00b1aecd70
commit 2b53c5d5a0

View File

@@ -103,7 +103,6 @@ class NintendoCertificate {
}
this._parseCertificateData();
this._verifySignature();
}
}
@@ -128,6 +127,8 @@ class NintendoCertificate {
this.certificateName = this._certificate.subarray(0xC4, 0x104).toString().split('\0')[0];
this.ngKeyId = this._certificate.readUInt32BE(0x104);
this.publicKeyData = this._certificate.subarray(0x108);
this._verifySignature();
}
}