summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-24 11:17:05 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-24 11:17:05 +0000
commitdeaaee9f193b396cdb2801713385ca01836f9e96 (patch)
tree30869ca96756889cdd92365431b8035f5927f7df
parent68a12cd37e94aa18180b0e888ca4330fcd687054 (diff)
downloadurpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.gz
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.bz2
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.tar.xz
urpmi-deaaee9f193b396cdb2801713385ca01836f9e96.zip
(_check) warn when a medium has no signature
-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}->(