what is the option for "Use this key anyway? (y/N) y"

Grant Olson kgo at grant-olson.net
Tue Feb 26 14:30:47 CET 2013

On 02/26/2013 07:02 AM, pradeep kumar wrote:
> Hi,
> I was trying to encrypt the file and it asking me this question to use
> this key anyway and after giving y then it is able to create to
> .aasdfsdf(ASIIC) file.
> *gpg -ea -r xxx -u xxx -o <file>.aasdfsdf <file>*
> But I want to pass this "y" key in the above command can you please help
> me which option is exactly used to pass this "y" value in single command
> rather it asking after running the above original command.

If this is a key you use regularly, and you trust its authenticity, you
can sign the key locally:

gpg --lsign 0xDEADBEEF

Then you won't get the prompt.


http://rubygems-openpgp-ca.org - Sign your gems.

More information about the Gnupg-users mailing list