的GnuPG给我的错误“无效的公钥算法”当我尝试使用旧密钥

问题描述:

当我尝试解密旧文件,gpg2给了我这个错误:的GnuPG给我的错误“无效的公钥算法”当我尝试使用旧密钥

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 

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