Anthony Towns wrote: > I guess we need something that'll do that anyway, though. How about the attached > as a proof of concept? Nice output, but a bit buggy in my tests. I've changed it to use --with-colons, and keep the --with-colons output, so it looks like a diff. (I also added caching for speed.) joey@kodama:~/tmp/debian-keyring-2005.05.28/keyrings>diffring foo3.gpg foo4.gpg -pub:-:1024:17:826FCAC21E880A84:1047319183:::-:::scESC: -uid:-::::1047319184::2993CFDACF30643F1A22EBD25A0E28086FD157B2::Frans Pop (Debian) <aragorn@tiscali.nl>: -uid:-::::1116808856::16874BA594735C2647F63A853EFBAA373FD2E0FE::Frans Pop <fjp@debian.org>: pub:-:1024:17:DADA79CD788A3F4C:-:::-:::scESC uid:-::::-::558865A42A128E974449AF46596C86154E3F63B4::Joey Hess <joeyh@debian.org> uid:-::::-::0D93ACA144ADD501DD5A3372FA0FCFD1E5DE3B29::Joey Hess <joey@kitenet.net> -uid:-::::-::ECD310B7100369A24C3AA0FC4CC2A9D5DC74629B::Joey Hess <joeyh@master.debian.org> uid:-::::-::4A5F289163A83EABBEA512B09FC99AE21947EE06::Joey Hess <joey@mooix.net> sub:-:2048:16:3880BC071950ED18:-::::::e A switch could be added to futher process and prettify that, but as it is, it's useful for input to other tools, and it allows display of even the most obscure changes. Rather than a specialised tool to refresh keys from a keyserver, I wrote a more general tool that uses diffring to generate changesets between two keyrings. joey@kodama:~/tmp/debian-keyring-2005.05.28/keyrings>changeset-gen foo3.gpg foo4.gpg "merging my random changes" delete-D523A6E660062884 modify-DADA79CD788A3F4C joey@kodama:~/tmp/debian-keyring-2005.05.28/keyrings>changeset-accept debian-keyring delete-D523A6E660062884 joey@kodama:~/tmp/debian-keyring-2005.05.28/keyrings>changeset-accept debian-keyring modify-DADA79CD788A3F4C -- see shy jo
Attachment:
signature.asc
Description: Digital signature