On 09/04/2017 06:13 PM, Till Maas wrote: > On Mon, Sep 04, 2017 at 09:23:05AM +0200, Roberto Ragusa wrote: > >> $ date|gpg2 --passphrase aaa -ca >> >> This shows a popup asking me for a passphrase, while it works >> perfectly on gpg v1. > > You need to add --batch to the command line: > $ LANG=C date|gpg2 --batch --passphrase aaa -ca | gpg2 --batch --passphrase aaa > gpg: AES encrypted data > gpg: encrypted with 1 passphrase > Mon Sep 4 18:12:56 CEST 2017 You are right, but existing scripts do not expect this, especially if they are calling "gpg" and getting gpg2. -- Roberto Ragusa mail at robertoragusa.it _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx