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 > [email protected] > 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 _______________________________________________ Gnupg-users mailing list [email protected] http://lists.gnupg.org/mailman/listinfo/gnupg-users
