mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-10-01 22:58:05 -05:00
Fixed 3DS cert not being verified correctly
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user