如何将libsodium私钥转换为OpenPGP兼容的私钥包?

问题描述 投票:12回答:1

libsodium是一个很棒的加密库,GnuPG是一个很棒的密钥管理和签名软件。

GnuPG recently released support for Ed25519 signing keysand submitted a draft to the IETF

我想通过我的Web应用程序使用GnuPG离线使用Sodium生成的密钥。这样就可以了,所以每次签名时我都不必用我的私钥来信任服务器,而且我不需要在我的客户端上使用特殊的软件(即使我必须写它),因为我已经拥有了信任GnuPG。

我怎么能这样做?如何将libsodium私钥转换为OpenPGP兼容的私钥包?

cryptography elliptic-curve openpgp nacl-cryptography
1个回答
0
投票

libsodium使用xsalsa20算法进行加密。 PGP目前不支持此算法,GnuPG不支持此算法。

© www.soinside.com 2019 - 2024. All rights reserved.