GPCM: Block commonly shared keys

This commit is contained in:
mkwcat
2024-02-13 06:47:44 -05:00
parent 06dcf93a8e
commit 1f39fcb5a4

View File

@@ -50,8 +50,21 @@ var msPublicKey = []byte{
}
var commonDeviceIds = []uint32{
0x02000001,
0x0403ac68,
0x02000001, // Internal use (leaked)
0x0403ac68, // Dolphin default
// Publicly shared key dumps
0x038c864b,
0x040e3f97,
0x04cb7515,
0x066deb49,
0x06bcc32d,
0x06d0437a,
0x089120c8,
0x0e19d5ed,
0x0e31482b,
0x2428a8cb,
0x247dd10b,
}
func verifySignature(moduleName string, authToken string, signature string) uint32 {