diff options
| author | Julian Andres Klode <jak@debian.org> | 2022-03-07 13:00:07 +0000 |
|---|---|---|
| committer | Julian Andres Klode <jak@debian.org> | 2022-03-07 13:00:07 +0000 |
| commit | 3e57dc07fac417ff7007745510f0b35715045f70 (patch) | |
| tree | 5606cbe824edbdb6dec96332bd4f60daa122e060 /test | |
| parent | d9ceab20a05e0d02ecd1038161965a7eaf8e4c06 (diff) | |
| parent | 55452afa1e8eb3b252f76e455b49df5883e0b811 (diff) | |
Merge branch 'pu/regression-2.4.0' into 'main'
gpgv: Fix legacy fallback on unavailable keys
See merge request apt-team/apt!228
Diffstat (limited to 'test')
| -rwxr-xr-x | test/integration/test-method-gpgv-legacy-keyring | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/integration/test-method-gpgv-legacy-keyring b/test/integration/test-method-gpgv-legacy-keyring index 37a86529a..5af955cdf 100755 --- a/test/integration/test-method-gpgv-legacy-keyring +++ b/test/integration/test-method-gpgv-legacy-keyring @@ -25,3 +25,11 @@ testwarningequal "Get:1 file:${TMPWORKINGDIRECTORY}/aptarchive unstable InReleas Get:1 file:${TMPWORKINGDIRECTORY}/aptarchive unstable InRelease [1420 B] Reading package lists... W: file:${TMPWORKINGDIRECTORY}/aptarchive/dists/unstable/InRelease: Key is stored in legacy trusted.gpg keyring (${TMPWORKINGDIRECTORY}/rootdir/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details." aptget update -q + +# 2.4.0 regression: If the InRelease file was signed with two keys, fallback to trusted.gpg did not +# work: It ran the fallback, but then ignored the result, as keys were still missing. +signreleasefiles 'Joe Sixpack,Marvin Paranoid' +testwarningequal "Get:1 file:${TMPWORKINGDIRECTORY}/aptarchive unstable InRelease [1867 B] +Get:1 file:${TMPWORKINGDIRECTORY}/aptarchive unstable InRelease [1867 B] +Reading package lists... +W: file:${TMPWORKINGDIRECTORY}/aptarchive/dists/unstable/InRelease: Key is stored in legacy trusted.gpg keyring (${TMPWORKINGDIRECTORY}/rootdir/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details." aptget update -q -omsg=with-two-signatures |
