summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-11-21 18:49:28 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-11-22 16:20:36 +0100
commit27012a496a9da78f26e9e412a7118dbe00e5c1ec (patch)
tree0647ad2be492aad04d48179cccc21f9c3d67d126 /test
parent5af5b196742a477c3effb9534c5a3257c8075a8e (diff)
test-releasefile-verification: Fix signature time
The key was only generated in 2010 and only bound in 2016, so we cannot have signatures from before then, so update the key accordingly, and change the default expiry to 2017.
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-releasefile-verification2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification
index 810427620..c2e856d54 100755
--- a/test/integration/test-releasefile-verification
+++ b/test/integration/test-releasefile-verification
@@ -155,7 +155,7 @@ runtest() {
if [ -e rootdir/etc/apt/apt.conf.d/99gnupg2 ]; then
prepare "${PKGFILE}"
rm -rf rootdir/var/lib/apt/lists
- signreleasefiles 'Joe Sixpack' 'aptarchive' --faked-system-time "20070924T154812" --default-sig-expire 2016-04-01
+ signreleasefiles 'Joe Sixpack' 'aptarchive' --faked-system-time "20160924T154812" --default-sig-expire 2017-04-01
updatewithwarnings '^W: .* EXPSIG'
testsuccessequal "$(cat "${PKGFILE}")
" aptcache show apt