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

Filias Heidt post at filias.name
Tue Jan 20 10:49:38 CET 2015


> Am 19.01.2015 um 13:54 schrieb Werner Koch <wk at gnupg.org>:
> 
> Hi,
> 
> [I assume this is about 2.1]

You are right :)

> 
> On Mon, 19 Jan 2015 11:29, post at filias.name said:
> 
>> Passphrase: secret
> 
> That is not supported in 2.1.1 but will be support again in 2.1.2.

Any idea, when 2.1.2 will be ready?

> 
>> # 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.

I have a pinentry installed, yes. When I add —pin entry-mode=loopback, it gives
gpg: Sorry, we are in batchmode - can't get input

Cheerio,
Filias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: </pipermail/attachments/20150120/6fa4fec7/attachment.sig>


More information about the Gnupg-users mailing list