Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I securely store private key in iOS?

Tags:

security

ios

I'm creating app for iOS in the Xcode. There will be the private key that will be the same for all users (clients). What is the best way to store it on the client side (in iOS)? in what form should I store it and where is the best place? In which form it is better to put it in the installation package? I will use this key to encrypt the data. Thanks in advance for your answers

like image 434
Thunderr Avatar asked Nov 19 '25 20:11

Thunderr


1 Answers

Safest and recomended way would be receiving the encrypted private key from a server (via a https connection) and the storing it in the secure container (Keychain).

like image 199
Vlad Avatar answered Nov 21 '25 10:11

Vlad