of this change will eventually involve moving the 'd' that indicates a
disabled key to a different part of the key listing.
To smooth this transition, as of version 1.2.2, GnuPG will start
giving the 'd' in both places (and will do this for a good long time).
Here is a patch so mutt will accept either the old or new syntax.
case 11: /* signature class */
break;
case 12: /* key capabilities */
- break;
+ dprint (2, (debugfile, "capabilities info: %s\n", p));
+
+ while(*p)
+ {
+ if(*p=='D')
+ {
+ flags |= KEYFLAG_DISABLED;
+ break;
+ }
+
+ p++;
+ }
+
+ if (!is_uid && !(*is_subkey && option (OPTPGPIGNORESUB)))
+ k->flags |= flags;
+
+ break;
default:
break;
}
putchar ('r');
if (p->flags & KEYFLAG_EXPIRED)
putchar ('e');
- if (p->flags & KEYFLAG_DISABLED)
- putchar ('d');
for (uid = p->address; uid; uid = uid->next, first = 0)
{
1900 + tp->tm_year, tp->tm_mon + 1, tp->tm_mday);
print_userid (uid->addr);
+ printf ("::");
+ if (p->flags & KEYFLAG_DISABLED)
+ putchar ('D');
printf (":\n");
+
if (dump_fingerprints)
print_fingerprint (p);
}