secret key not available
DODDI ANTHONY BALARAJU cs15d008
cs15d008 at smail.iitm.ac.in
Wed Jun 1 17:44:16 CEST 2016
hI,
<http://stackoverflow.com/questions/37566637/why-showing-error-gpg-signing-failed#>
I'm new to this GPG usage. I dont need any internals. I am running a shell
script in which following line causes error :
gpg --yes --sign message.txt
It shows the following error:
gpg: no default secret key: secret key not available
gpg: signing failed: secret key not available
How can I solve this error, without modifying the command? (do I need to
change any settings). I am using gpg version (GnuPG) 1.4.16
>which gpg
is giving the output
/usr/bin/gpg
I Tried with --default-key <something>
Still it dint work!!
Any suggestion to get past this error will be greatly helpful.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20160601/65c96e76/attachment.html>
More information about the Gnupg-users
mailing list