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

Reply via email to