本文介绍了如何处理Gnupg错误:gpg:无默认密钥:无密钥gpg:[stdin]:clearsign失败:无密钥?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到错误:

gpg: no default secret key: No secret key
gpg: [stdin]: clearsign failed: No secret key

我的秘密密钥可用于GPG.

My secret keys are available to GPG.

推荐答案

答案是:我正在使用最新的gnupg版本,但必须使用0.44 gnupg接口版本.我已经重新安装了gnupg.

Here's the answer: I am using latest gnupg version , but I have to use 0.44 gnupg interface version. I have reinstalled the gnupg.

然后没有发现编译错误.我可以对我的邮件签名.但无法发送请求.问题是我尚未安装"Useragent"用来发送请求的LWP :: Protocol :: Https模块.找不到LWP :: Protocol :: Https).所以我已经通过cpan安装了LWP :: Protocol :: Https模块.而且我很好走.最后所有的都设置好了:-)

Then no compilation errors were found. I am able to sign my message. but not able to send the request. The problem is I have not installed LWP::Protocol::Https module which is used by "Useragent" to send the request.( i came to know this that i have not installed the module by keeping simple print statements which shown the problem that LWP::Protocol::Https is not found). So i have installed LWP::Protocol::Https module through cpan. And i am good to go. Finally all is set :-)

这篇关于如何处理Gnupg错误:gpg:无默认密钥:无密钥gpg:[stdin]:clearsign失败:无密钥?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-22 17:26