简体   繁体   English

如何在 IOS 中使用 GPG(创建密钥对、列出密钥、导入公钥、加密、解密)?

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

In the Gnupg there is gpg implementation for different platforms, even android, but not IOS.在 Gnupg 中有针对不同平台的 gpg 实现,甚至是 android,但没有 IOS。

Is there anyway I can use GPG in my IOS app?无论如何,我可以在我的 IOS 应用程序中使用 GPG 吗?

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)除了在其中使用 gpg 的应用程序之外,我发现零材料(这是我想要完成的)

any directions are valid任何指示都是有效的

lets talk, thanks聊聊,谢谢

对于 iOS,有涵盖该功能的ObjectivePGP框架,您可能希望使用它来将 PGP 合并到您的应用程序中。

PGPro and Privacy are both free softwares, they rely on ObjectivePGP and they work like a charm. PGProPrivacy都是免费软件,它们依赖于ObjectivePGP并且它们的工作方式很迷人。 Maybe there are some limitations in the support of elliptic curves but RSA just works.也许在支持椭圆曲线方面存在一些限制,但 RSA 只是有效。 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.当您只想与想要向您发送加密消息的其他人共享您的公钥时,请确保您在使用PGPro时不会错误地同时导出您的公钥和您的私钥。

NB: 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.我建议您在手机上安装 GNU Linux 自由软件发行版,例如 Debian(或 Postmarket OS,但它还不是很成熟)。 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.由于某些人可能不清楚,我强烈反对使用 OS X、iOS、Microsoft Windows 甚至 Android 来加密/解密消息。

我目前也在搜索 iOS GnuPG 客户端应用程序,并找到了Uwes 博客页面,其中列出并比较了四种不同的应用程序(iPGMail、oPenGP、Secumail、NouveauPG)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM