summaryrefslogtreecommitdiff
path: root/apt-pkg/sourcelist.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2023-06-27 19:14:43 +0200
committerJulian Andres Klode <julian.klode@canonical.com>2023-06-27 19:21:47 +0200
commitaba813975abb880f8b27d659147f7760c02f99e7 (patch)
treea288dc6a6ebb4d13b42a35c6df610a6cecc6ec31 /apt-pkg/sourcelist.cc
parentf557a5e15bb4715557566d7e88e7367c17e94ebf (diff)
update: Add notice about missing Signed-By in deb822 sources
We want to gently steer users towards having Signed-By for each source such that we can retire a shared keyring across sources which improves resilience against configuration issues and incompetent malicious actors.
Diffstat (limited to 'apt-pkg/sourcelist.cc')
-rw-r--r--apt-pkg/sourcelist.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/sourcelist.cc b/apt-pkg/sourcelist.cc
index 055cf4142..e11afceed 100644
--- a/apt-pkg/sourcelist.cc
+++ b/apt-pkg/sourcelist.cc
@@ -143,6 +143,8 @@ bool pkgSourceList::Type::ParseStanza(vector<metaIndex *> &List, /*{{{*/
Options["sourceslist-entry"] = entry;
}
+ Options["sourceslist-entry-is-deb822"] = "true";
+
// now create one item per suite/section
auto const list_uris = FindMultiValue(Tags, "URIs");
auto const list_comp = FindMultiValue(Tags, "Components");