diff options
author | Julian Andres Klode <julian.klode@canonical.com> | 2024-01-23 19:01:34 +0100 |
---|---|---|
committer | Julian Andres Klode <julian.klode@canonical.com> | 2024-04-19 20:54:54 +0200 |
commit | 858a551b50ea3871748d9196896e54b361c3d545 (patch) | |
tree | 2dd7fdd46601827cf88ed1211a0bcb89dfb34c1d | |
parent | 215b184d6a5774df10cabe12bde7d6b0fa3aff85 (diff) |
Add an audit message for missing InRelease files
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 7704818cf..b534d56a3 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -2013,6 +2013,8 @@ void pkgAcqMetaClearSig::Failed(string const &Message,pkgAcquire::MethodConfig c return; } + _error->Audit(_("Repositories should provide a clear-signed InRelease file, but none found at %s."), Target.URI.c_str()); + // Queue the 'old' InRelease file for removal if we try Release.gpg // as otherwise the file will stay around and gives a false-auth // impression (CVE-2012-0214) |