I have opened new bugs to split this one. > - removes the comments of the uid (usually they are quite boring, and > do not mean anything since it is different for each uid)
#318751 > - there is some internationalization problems with the "revoked" text > (in French, for example, it is "r'evoqu'e") #318740 The only thing remaining in this bug is the problem with the -a switch if asking to show only a subset of your keyring. A new simplified patch is attached. -- Thomas Huriaux
--- sig2dot.orig 2005-07-16 22:40:18.333859719 +0200
+++ sig2dot 2005-07-16 22:48:39.551092997 +0200
@@ -135,6 +135,9 @@
{
$id = (split('/',$id))[1];
$owner = $id;
+ if ($all and not $name =~ /^\[revoked/) {
+ push (@idlist, $id, $owner);
+ }
}
$name{$id} = $name if $name; # gpg 1.4 fixup
@@ -258,6 +261,15 @@
if (($sigcount{$id} eq "") and ($signedbycount{$id} eq "") and not $all) {
next;
}
+ if ($all) {
+ $used_id = 0;
+ for $owner (@idlist) {
+ if ($owner eq $id) {
+ $used_id = 1;
+ }
+ }
+ }
+ next if ($all and $used_id == 0);
if ($color)
{
$red = $sigcount{$id} / $maxsigcount;
pgpgblrznJL62.pgp
Description: PGP signature

