* allow the use of ports in hostnames (closes MS # 2665)
* Do not report self-sigs as other certifiers (but report valid,
non-matching identities independently) (closes MS # 2569)
+ * List certifiers only once (closes MS # 2573)
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 20 Dec 2010 02:35:54 -0500
- -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 20 Dec 2010 01:53:48 -0500
-
msva-perl (0.7) upstream;
* udpated msva-query-agent documentation
# grab the first full or ultimate user ID on
# this certifier's key:
if ($cuid->validity =~ /^[fu]$/) {
- push(@vcertifiers, { key_id => $cert->hex_id,
- user_id => $cuid->as_string,
- } );
- $valid_cuid = 1;
+ if (0 == grep { $_->{key_id} eq $cert->hex_id && $_->{user_id} eq $cuid->as_string ; } @vcertifiers) {
+ push(@vcertifiers, { key_id => $cert->hex_id,
+ user_id => $cuid->as_string,
+ } );
+ $valid_cuid = 1;
+ };
last;
- } elsif ($cuid->validity =~ /^[m]$/) {
- $marginal = { key_id => $cert->hex_id,
- user_id => $cuid->as_string,
- };
+ } elsif ((!defined ($marginal)) &&
+ $cuid->validity =~ /^[m]$/) {
+ if (0 == grep { $_->{key_id} eq $cert->hex_id && $_->{user_id} eq $cuid->as_string ; } @mcertifiers) {
+ $marginal = { key_id => $cert->hex_id,
+ user_id => $cuid->as_string,
+ };
+ }
}
}
push(@mcertifiers, $marginal)