summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm/signature.pm2
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 237fb73a..857b32cd 100644
--- a/NEWS
+++ b/NEWS
@@ -3,6 +3,7 @@
(regression introduced in 7.0)
- security:
o warn about missing signatures on packages from media without signatures
+ o warn when a medium has no signature
o warn when signature checking is disabled per medium
Version 7.3 - 24 August 2012
diff --git a/urpm/signature.pm b/urpm/signature.pm
index b70f5a99..a77a0d6a 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -72,6 +72,8 @@ sub _check {
} elsif (!$valid_ids) {
$invalid_sources{$filepath} = N("Missing signature (%s)", $verif);
}
+ } else {
+ $invalid_sources{$filepath} = N("Medium without signature (%s)", $verif);
}
#- invoke check signature callback.
$options{callback} and $options{callback}->(