summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-02 08:45:57 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-05-02 08:45:57 +0000
commitbbbdfb838d0147bc3f0d43d7d73835a0555ea862 (patch)
tree67c92d24e2b7fd87b93816f422d1435f39ab4791 /urpm.pm
parentcdcf05c799c4db6fa5272edc4c8ecfad2a13d224 (diff)
downloadurpmi-bbbdfb838d0147bc3f0d43d7d73835a0555ea862.tar
urpmi-bbbdfb838d0147bc3f0d43d7d73835a0555ea862.tar.gz
urpmi-bbbdfb838d0147bc3f0d43d7d73835a0555ea862.tar.bz2
urpmi-bbbdfb838d0147bc3f0d43d7d73835a0555ea862.tar.xz
urpmi-bbbdfb838d0147bc3f0d43d7d73835a0555ea862.zip
Parse new-style key ids
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 {