Page MenuHome GnuPG

gpgv warns about "--compliance=gnupg mode" but does not support --compliance=gnupg as an argument
Closed, ResolvedPublic

Description

Consider:

0 dkg@alice:~/src/apt/apt/test/integration$ gpgv --keyring $(pwd)/marvinparanoid.pub tesst.txt.asc test.txt
gpgv: Signature made Sat 09 Sep 2017 01:16:51 PM EDT
gpgv:                using RSA key DE66AECA9151AFA1877EC31DE8525D47528144E2
gpgv: Good signature from "Marvin Paranoid <marvin@example.org>"
gpgv: WARNING: This key is not suitable for signing in --compliance=gnupg mode
0 dkg@alice:~/src/apt/apt/test/integration$ gpgv --compliance=gnupg --keyring $(pwd)/marvinparanoid.pub tesst.txt.asc test.txt
gpgv: invalid option "--compliance=gnupg"
2 dkg@alice:~/src/apt/apt/test/integration$

I think that --compliance=gnupg is a gpg option -- it should not be emitted or mentioned in gpgv.

Details

Version
2.2.0

Revisions and Commits

Event Timeline

werner triaged this task as Normal priority.Sep 12 2017, 9:27 AM
werner added a project: gnupg (gpg22).
werner claimed this task.
werner added a subscriber: werner.

The new unified compliance checker was not initialized. Fixed in the 2.2 branch.