Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1197905

Bug#1071368: [pkg-gnupg-maint] Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update

From "Neal H. Walfield" <neal@walfield.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#1071368: [pkg-gnupg-maint] Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update
Date 2024-05-19 11:20 +0200
Message-ID <IFKRX-enD9-1@gated-at.bofh.it> (permalink)
References (2 earlier) <IFcQh-e2a2-1@gated-at.bofh.it> <IFu0O-ediB-7@gated-at.bofh.it> <IFI3L-elZp-3@gated-at.bofh.it> <IFcQh-e2a2-1@gated-at.bofh.it> <IFI3L-elZp-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Good morning,

On Sun, 19 May 2024 08:14:44 +0200,
Andreas Metzler wrote:
> that two-line output is generated by gpgv-from-sq which diverts gpgv. I
> think this should fix it:
> diff -NurBbp apt-2.9.3/cmdline/apt-key.in newapt-2.9.3/cmdline/apt-key.in
> --- apt-2.9.3/cmdline/apt-key.in        2024-05-14 13:01:31.000000000 +0200
> +++ newapt-2.9.3/cmdline/apt-key.in     2024-05-19 08:10:25.017202993 +0200
> @@ -819,6 +819,9 @@ case "$command" in
>                                 ;;
>                         *[Ii]"nvalid option"*"assert-pubkey-algo"*)
>                                 ;;
> +                       *"Error parsing command-line arguments"*)
> +                               # gpgv-from-sq
> +                               ;;
>                         *)
>                                 apt_warn "Unknown response from gpgv to --assert-pubkey-algo check: $test"

As a general rule of thumb [1], the chameleon (i.e., gpg-sq) exactly
emulates gpg's behavior.  As such, any differences should be fixed
upstream rather than worked around by downstreams.

The good news is that this problem is already known:

  https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/issues/68

And the fix was released with version 0.9, which was released on May
7th, and should come to Debian soon.

  https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg/-/tags/v0.9.0

Thanks,

:) Neal

[1] Deliberate divergences are documented here:

    https://gitlab.com/sequoia-pgp/sequoia-chameleon-gnupg#known-deliberate-divergences

Back to linux.debian.bugs.dist | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Lyndon Brown <jnqnfe@gmail.com> - 2024-05-17 23:00 +0200
  Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Andreas Metzler <ametzler@bebt.de> - 2024-05-18 16:30 +0200
    Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Lyndon Brown <jnqnfe@gmail.com> - 2024-05-18 17:20 +0200
      Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Andreas Metzler <ametzler@bebt.de> - 2024-05-19 07:50 +0200
        Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Lyndon Brown <jnqnfe@gmail.com> - 2024-05-19 17:10 +0200
      Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update Andreas Metzler <ametzler@bebt.de> - 2024-05-19 08:20 +0200
        Bug#1071368: [pkg-gnupg-maint] Bug#1071368: [gpgv] cmd-arg parse error with apt/aptitude update "Neal H. Walfield" <neal@walfield.org> - 2024-05-19 11:20 +0200

csiph-web