summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm.pm b/urpm.pm
index e7c62bc0..0aca29aa 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -3241,7 +3241,7 @@ sub check_sources_signatures {
my $valid_ids = 0;
my $invalid_ids = 0;
- foreach my $key_id ($verif =~ /#(\S+)/g) {
+ foreach my $key_id ($verif =~ /(?:key id \w{8}|#)(\w+)/gi) {
if (grep { hex($_) == hex($key_id) } split /[,\s]+/, $key_ids) {
++$valid_ids;
} else {