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

aar*_*nsw 25 security legacy gnupg

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

gpg: public key decryption failed: Invalid public key algorithm
gpg: decryption failed: No secret key
Run Code Online (Sandbox Code Playgroud)

gpg1给了我这个错误:

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

aar*_*nsw 35

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