summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2024-12-07 16:09:10 +0000
committerJulian Andres Klode <jak@debian.org>2024-12-07 16:09:10 +0000
commit4063d96cdd9df79e1ca25410be30571d57296779 (patch)
tree1c5de4c1e0104d3539092c4ea3fdf33d8297e64b /methods
parent9dbb3a242f4f7a53c3678fd4f37e03ccc8479113 (diff)
parent2bb8a2c71c12063e52220c3a3839e063f11a319d (diff)
Merge branch 'bye-apt-key' into 'main'
Stop using apt-key for verification and move apt-key to test/ See merge request apt-team/apt!406
Diffstat (limited to 'methods')
-rw-r--r--methods/gpgv.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 947b585da..e5554b1e2 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -481,9 +481,9 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
else if (WEXITSTATUS(status) == 1)
return _("At least one invalid signature was encountered.");
else if (WEXITSTATUS(status) == 111)
- return _("Could not execute 'apt-key' to verify signature (is gnupg installed?)");
+ return _("Could not execute 'gpgv' to verify signature (is gnupg installed?)");
else
- return _("Unknown error executing apt-key");
+ return _("Unknown error executing gpgv");
}
string GPGVMethod::VerifyGetSignersWithLegacy(const char *file, const char *outfile,
vector<string> const &keyFpts,
@@ -518,7 +518,7 @@ string GPGVMethod::VerifyGetSignersWithLegacy(const char *file, const char *outf
{
std::string warning;
strprintf(warning,
- _("Key is stored in legacy trusted.gpg keyring (%s), see the DEPRECATION section in apt-key(8) for details."),
+ _("Key is stored in legacy trusted.gpg keyring (%s). Use Signed-By instead. See the USER CONFIGURATION section in apt-secure(8) for details."),
legacyKeyFiles[0].c_str());
Warning(std::move(warning));
Signers = std::move(legacySigners);