Search code examples
androidiphonepgp

Open source or otherwise pgp/gpg library for Android/iphone/ipad


This is probably time-sensitive, unless there's a project currently providing a standard.

Is there a tested library for android and iOS that provides a PGP/GPG implementation for decrypting data received over a web-request?

I am looking to secure data transferred over SSL such that it's written to the disk in an encrypted form in the specific event of device theft or jailbreaking.

Thank you


Solution

  • I had the same problem in one of my projects and i did solve it with openssl and with a own encryption.

    Mainly because...

    1. there is no Android/iOS (c or c++) capable PGP/GPG framework.
    2. the only one reasonable framework i found is GPGME which is under GNU license (not okay for iOS!)
    3. with openssl it's not that difficult as i was thinking it is. :)

    You need to take a closer look at the EVP openssl crypto function, ... especially EVP_SealInit() / EVP_SealUpdate() / EVP_SealFinal()

    You then can also look at one of my stackoverflow question regarding the encryption.

    Goog luck!