diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:05 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-08-24 11:17:05 +0000 |
commit | deaaee9f193b396cdb2801713385ca01836f9e96 (patch) | |
tree | 30869ca96756889cdd92365431b8035f5927f7df | |
parent | 68a12cd37e94aa18180b0e888ca4330fcd687054 (diff) | |
download | urpmi-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-- | NEWS | 1 | ||||
-rw-r--r-- | urpm/signature.pm | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -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}->( |