How to use GPG with IOS (Create keypair, List Keys, Import public key, encrypt, decrypt)?

11.7k Views Asked by At

In the Gnupg there is gpg implementation for different platforms, even android, but not IOS.

Is there anyway I can use GPG in my IOS app?

I am looking for the very basic operations as described in this title (Create keypair, List Keys, Import public key, encrypt, decrypt)

I found zero material out there except for apps that use gpg within (which is what I want to accomplish)

any directions are valid

lets talk, thanks

3

There are 3 best solutions below

1
On

I am currently searching for an iOS GnuPG client app as well and found this page Uwes Blog that lists and compares four different apps (iPGMail, oPenGP, Secumail, NouveauPG).

0
On

PGPro and Privacy are both free softwares, they rely on ObjectivePGP and they work like a charm. Maybe there are some limitations in the support of elliptic curves but RSA just works. Please ensure that you don't mistakenly export both your public key and your secret key when using PGPro when you only want to share your public key with someone else who would like to send you encrypted messages.

N.B: Please note that I don't recommend you to encrypt/decrypt messages under proprietary operating systems because it requires you to blindly trust the corporation that provides the operating system as it can't be audited by an independent organization. I recommend you to install a GNU Linux free software distribution like Debian (or Postmarket OS but it's not very mature yet) on your phone instead. As it might be unclear for some people, I highly discourage the use of OS X, iOS, Microsoft Windows and even Android to encrypt/decrypt messages.

0
On

For iOS there is ObjectivePGP framework that covers that functionality, you may want to use it to incorporate PGP in your application.