Using --gen-key --batch doesn't seem to work anymore

Werner Koch wk at
Mon Jan 19 13:54:01 CET 2015


[I assume this is about 2.1]

On Mon, 19 Jan 2015 11:29, post at said:

> Passphrase: secret

That is not supported in 2.1.1 but will be support again in 2.1.2.

> # gpg -vv --gen-key --batch < gpg_config
> gpg: agent_genkey failed: Operation cancelled

Do you have a pinentry installed?  Try adding --pinentry-mode=loopback
to gpg.conf or put it on the command line.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-users mailing list