【问题标题】:gpg: public key decryption failed: Operation cancelledgpg: decryption failed: No secret keystatus: Int = 2gpg:公钥解密失败:操作取消gpg:解密失败:无密钥状态:Int = 2
【发布时间】:2022-06-14 19:13:37
【问题描述】:

我们需要在解密命令前加上--batch-yes。

示例:gpg --batch --yes --passphrase xyz -d -o test.csv test.txt.pgp"

【问题讨论】:

    标签: encryption


    【解决方案1】:

    我们需要在解密命令前加上--batch-yes。

    示例:gpg --batch --yes --passphrase xyz -d -o test.csv test.txt.pgp"

    【讨论】: