当我尝试使用旧密钥时,gnupg给出了错误“无效的公钥算法”

时间:2011-11-02 00:45:52

标签: security legacy gnupg

当我尝试解密旧文件时,gpg2给了我这个错误:

gpg: public key decryption failed: Invalid public key algorithm
gpg: decryption failed: No secret key

gpg1给了我这个错误:

gpg: Ohhhh jeeee: no decrypt() for 17
secmem usage: 1664/2432 bytes in 5/8 blocks of pool 2432/32768
Abort trap: 6

1 个答案:

答案 0 :(得分:35)

当您导入旧密钥但未导入相应的公钥时,会收到此消息。返回并导入公钥。