Re: Please, fix batch mode for gpg --edit-key-trust

2016-08-04 Thread Daniel Kahn Gillmor
On Wed 2016-07-27 09:46:19 -0400, John Buehrer wrote: > $ printf "5\n" | gpg2 --batch --edit-key 67A92459607354C7 trust quit > ... > Please decide how far you trust this user to correctly verify other > users' keys > (by looking at passports, checking fingerprints from different s

Re: Please, fix batch mode for gpg --edit-key-trust

2016-08-02 Thread Werner Koch
On Wed, 27 Jul 2016 15:46, j...@zuri.ch said: > I'm surprised anything GNU doesn't automatically read input from a redirected > STDIN, > that's Unix 101. It does. However, we have often need two input channels. For example for the data and the passphrase. You can't mix them. The edit interfa

Re: Please, fix batch mode for gpg --edit-key-trust

2016-07-27 Thread Dashamir Hoxha
On Wed, Jul 27, 2016 at 3:46 PM, John Buehrer wrote: > > $ printf "5\n" | gpg2 --batch --edit-key 67A92459607354C7 trust quit > I think that it should work with the option `--command-fd=0`, which tells gpg2 to get the commands from stdin. See this example: https://github.com/dashohoxha/egpg/

Please, fix batch mode for gpg --edit-key-trust

2016-07-27 Thread John Buehrer
Using gpg 2.1.1 with Ubuntu 16.04, this fails: $ printf "5\n" | gpg2 --batch --edit-key 67A92459607354C7 trust quit ... Please decide how far you trust this user to correctly verify other users' keys (by looking at passports, checking fingerprints from different sources, etc.)