secret key not available

Juan Miguel Navarro Martínez juanmi.3000 at gmail.com
Wed Jun 1 22:24:16 CEST 2016


What's the output of `gpg -K`?

El 01/06/16 a las 17:44, DODDI ANTHONY BALARAJU cs15d008 escribió:
> 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
> 
> 
> 
> 
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at gnupg.org
> http://lists.gnupg.org/mailman/listinfo/gnupg-users
> 

-- 
Juan Miguel Navarro Martínez

GPG Keyfingerprint:
5A91 90D4 CF27 9D52 D62A
BC58 88E2 947F 9BC6 B3CF



More information about the Gnupg-users mailing list