Debian Bug report logs - #942127
bugs in the FILTER EXPRESSIONS section of the gpg man page

version graph

Package: gpg; Maintainer for gpg is Debian GnuPG Maintainers <[email protected]>; Source for gpg is src:gnupg2 (PTS, buildd, popcon).

Reported by: Steve McIntyre <[email protected]>

Date: Thu, 10 Oct 2019 17:45:02 UTC

Severity: minor

Tags: upstream

Found in version gnupg2/2.2.12-1+deb10u1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], Debian GnuPG Maintainers <[email protected]>:
Bug#942127; Package gpg. (Thu, 10 Oct 2019 17:45:04 GMT) (full text, mbox, link).


Acknowledgement sent to Steve McIntyre <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian GnuPG Maintainers <[email protected]>. (Thu, 10 Oct 2019 17:45:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Steve McIntyre <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: bugs in the FILTER EXPRESSIONS section of the gpg man page
Date: Thu, 10 Oct 2019 18:42:28 +0100
Package: gpg
Version: 2.2.12-1+deb10u1
Severity: minor
Tags: upstream

Hi!

I'm trying to use --import-filter with gpg. the man page directs me to
the FILTER EXPRESSIONS section for more details. The examples there
use the text:

                 --import-option keep-uid="uid =~ Alfa"
                 --import-option keep-uid="&& uid !~ Test"
                 --import-option keep-uid="|| uid =~ Alpha"
                 --import-option keep-uid="uid !~ Test"

which clearly should be 

                 --import-filter keep-uid="uid =~ Alfa"
                 --import-filter keep-uid="&& uid !~ Test"
                 --import-filter keep-uid="|| uid =~ Alpha"
                 --import-filter keep-uid="uid !~ Test"

Looks like a simple cut and paste / completion error.

-- System Information:
Debian Release: 10.1
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages gpg depends on:
ii  gpgconf        2.2.12-1+deb10u1
ii  libassuan0     2.5.2-1
ii  libbz2-1.0     1.0.6-9.2~deb10u1
ii  libc6          2.28-10
ii  libgcrypt20    1.8.4-5
ii  libgpg-error0  1.35-1
ii  libreadline7   7.0-5
ii  libsqlite3-0   3.27.2-3
ii  zlib1g         1:1.2.11.dfsg-1

Versions of packages gpg recommends:
ii  gnupg  2.2.12-1+deb10u1

gpg suggests no packages.

-- no debconf information



Information forwarded to [email protected], Debian GnuPG Maintainers <[email protected]>:
Bug#942127; Package gpg. (Sat, 12 Oct 2019 11:09:10 GMT) (full text, mbox, link).


Acknowledgement sent to Werner Koch <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian GnuPG Maintainers <[email protected]>. (Sat, 12 Oct 2019 11:09:10 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Werner Koch <[email protected]>
To: Steve McIntyre <[email protected]>
Cc: [email protected]
Subject: Re: [pkg-gnupg-maint] Bug#942127: bugs in the FILTER EXPRESSIONS section of the gpg man page
Date: Sat, 12 Oct 2019 12:34:57 +0200
[Message part 1 (text/plain, inline)]
On Thu, 10 Oct 2019 18:42, Steve McIntyre said:

> Looks like a simple cut and paste / completion error.

Now fixed upstream.  Thanks for reporting.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:37:52 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.