summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--urpm/signature.pm2
2 files changed, 4 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index c94db22e..bc595b35 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,7 @@
- fix testsuite
- security:
+ o downgrade missing medium key check question to a warning for virtual media
+ without keys when using urpmi --use-distrib
o honor per medium "verify-rpm" option for missing signature check
o media have keys, not signatures
- unrequested package list management (for orphans) (mga#7167):
diff --git a/urpm/signature.pm b/urpm/signature.pm
index 7e6cc368..94a2118f 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -74,6 +74,8 @@ sub _check {
} elsif (!$valid_ids) {
$invalid_sources{$filepath} = N("Missing signature (%s)", $verif);
}
+ } elsif ($urpm::args::options{usedistrib} && $medium->{virtual}) {
+ $urpm->{info}(N("SECURITY: Medium \"%s\" has no key (%s)!", $verif));
} else {
$invalid_sources{$filepath} = N("Medium without key (%s)", $verif);
}