A
A
Alex Palm2015-11-03 12:44:34
Objective-C
Alex Palm, 2015-11-03 12:44:34

How to protect an iOS application linked to an accessory with a serial number?

I have my iPad app (objective C, iOS 9) that needs to be protected.
iPad will only be used with an accessory that has a unique serial number.
It is necessary that the program does not work in the absence of an accessory or with an accessory with a different serial number.
The idea of ​​protection is this: the
user presses the “Activation” button, downloads a certain text file from my server, puts it on the iPad.
When the program starts (offline), it reads the serial number, performs calculations with a text file and starts or does not start.
What is the best way to encrypt/sign?
I looked in the direction of asymmetric encryption in order to use the serial number of the accessory as a public key for decryption. But in RSA two keys are generated, they cannot be set manually?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question