GPG:公共密钥解密失败:操作cancelledgpg:解密失败:无秘密keystatus:int = 2
当我使用以下命令时,我会在上述问题上提到。
示例:gpg -passphrase“ xyz” -d -o test.csv test.txt.pgp”
When I was using below command I was getting above mentioned issue.
example : gpg --passphrase "xyz" -d -o test.csv test.txt.pgp"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在解密命令之前,我们需要添加 - 批量。
示例:gpg - batch - 是 - passphrase“ xyz” -d -o test.csv test.txt.pgp“
We need to add --batch-yes in before the decrypt the command.
example : gpg --batch --yes --passphrase "xyz" -d -o test.csv test.txt.pgp"