"gpg --quiet --quick-gen-key" is not quiet: emits "key $FPR marked as ultimately trusted" to stderr.
Open, WishlistPublic

Description

gpg(1) says that --quiet means "Try to be as quiet as possible", but:

0 dkg@alice:/tmp/cdtemp.rxik89$ export GNUPGHOME=$(pwd)
0 dkg@alice:/tmp/cdtemp.rxik89$ gpg --quiet --batch --pinentry-mode=loopback --passphrase '' --quick-gen-key 'test user <test@example.net>' 2>stderr
0 dkg@alice:/tmp/cdtemp.rxik89$ cat stderr 
gpg: key 3F59B7E221089762 marked as ultimately trusted
0 dkg@alice:/tmp/cdtemp.rxik89$

This causes problems for me with test suites that are designed to consider any warnings sent to stderr as a sign of a failure (e.g. autopkgtest).

Details

Version
2.2.17
dkg created this task.Jul 17 2019, 1:01 AM
werner triaged this task as Wishlist priority.Jul 18 2019, 11:11 AM