Cannot control GnuPG from shell (IPC parameter error)

2017-11-04 Thread Seby
Hello, I have a script that interacts with GnuPG in an automated / unattended way, but it cannot control the keyring. I keep getting this: gpg: key generation failed: IPC parameter error I am running 2.3.0-beta82. I tried to search for this error and I could only find clues that lead to

Re: Efficent batch fetching with verification?

2017-11-04 Thread Werner Koch
On Sat, 4 Nov 2017 06:06, robb...@gentoo.org said: > Yes, the older versions do perform much worse, but even with gnupg2.2, > each exec of gpg is still at least 100ms, which adds up over time. I doubt that, let's see: $ time sh -c 'seq 1 1 | xargs -n 1 gpg --version >/dev/null' real

Re: Efficent batch fetching with verification?

2017-11-04 Thread Peter Lebbing
On 03/11/17 21:06, Robin H. Johnson wrote: > You missed xargs itself, Actually, I did not :-). > this mostly centers around the command-line > length limit. I can get in about ~3200 fingerprints per GPG call. I asked "what is exec'ing much". I don't see one exec every 3200 fingerprints as