Is there a library to create OpenPGP keys, or to encrypt a file using OpenPGP?
Asked
Active
Viewed 2,539 times
2 Answers
3
You can look at GPGMe. See the manual entries on generating keys and encrypting a plain-text.
There are Objective-C bindings, but you could also just use it directly.

Matthew Flaschen
- 278,309
- 50
- 514
- 539
-
GPGMe is GPL3, I think this is not compatible with AppStore policy. – Marcin Sep 25 '13 at 12:49
-
1@Marcin, the question said nothing about the Mac App Store. Distributing Mac apps directly is still possible. – Matthew Flaschen Sep 25 '13 at 21:57
-
1@Marcin, and it seems to be under LGPLv2.1 not GPLv3. See http://www.gnupg.org/documentation/manuals/gpgme/ . It says, "The GNU Lesser General Public License says how you can copy and share `GnuPG Made Easy'." (GPGME) and links to http://www.gnupg.org/documentation/manuals/gpgme/Library-Copying.html#Library-Copying – Matthew Flaschen Sep 25 '13 at 22:10
-
sure, this is just notification that it may be problematic with AppStore. Isn't it that any GPL is disallowed ? I think so. – Marcin Sep 26 '13 at 10:19