News for hackers. Stuff that matters.
Re:Show HN: Beeper Mini – iMessage Client for Android by ixwt on Tuesday December 05, 2023 @02:10PM (#38535517)
The only way I could see this happening is if they have all of the public keys of the secure cryptographic elements in a database of all Apple devices ever created. Because otherwise, it would just be trivial to emulate a "secure cryptographic element" if it's just a public/private key.

They aren't running a client by Apple. A glance at other posts seems they are using Apple code, but that would just be a matter of reverse engineering if the code required the secure enclave.

I can't think of a way that a server would be able to prove a device is Apple or not if you were to replicate the protocol completely. Only if there was some established public/private key would this be possible. And then the private key on the device would be in a secure enclave that you could feed it data to sign to prove the device is an authorized device.

Re:Show HN: Beeper Mini – iMessage Client for Android by philsnow on Tuesday December 05, 2023 @04:36PM (#38537256)
I don't know how the secure enclave works in detail but if there is a private key inside it that it uses for attestation / signing, presumably it could also have a certificate signed by an internal Apple provisioning CA infrastructure which Apple can verify on their end.

Importantly, this matters even for those older devices that were created without secure enclaves. iMessage still used this PKI architecture back before every new mac/iphone/ipad had a SE.

Re:Show HN: Beeper Mini – iMessage Client for Android by 0x0 on Tuesday December 05, 2023 @02:36PM (#38535835)
I wouldn't be surprised if they in fact do have a list of serial numbers for all the mac, ios, tvos devices they have ever sold, linked with some corresponding device-unique public key data?
Re:Show HN: Beeper Mini – iMessage Client for Android by ixwt on Tuesday December 05, 2023 @02:46PM (#38535988)
After reading some other comments, this very well might be the case.
Re:Show HN: Beeper Mini – iMessage Client for Android by eclipxe on Tuesday December 05, 2023 @03:02PM (#38536213)
Of course they have all of the public keys of the secure cryptographic elements of all Apple devices (that run iMessage) ever created. Why wouldn't they?