[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sks-devel] Idea: dump should create keycount.txt
From: |
Stephan Seitz |
Subject: |
Re: [Sks-devel] Idea: dump should create keycount.txt |
Date: |
Wed, 07 Nov 2012 18:06:52 +0100 |
Am Mittwoch, den 07.11.2012, 17:48 +0100 schrieb Kim Minh Kaplan:
> Phil Pennock wrote:
> > What do folks think of the idea of having "sks dump" also create a file
> > called [prefix]keycount.txt ?
> [...]
> > Does this seem reasonable and worth coding?
>
> This sounds interesting, but I would go a step further. There are
> numerous information about a key dump that could be of interest. Thus
> a metadata file with serveral fields would be interesting. Something
> like [prefix].txt:
>
> Dump-Start-Date: 2012-11-07T15:35:42Z
> Hostname: keyserver.kim-minh.com
> Files-Count: 201
> Checksums:
> cb89d21aa7e8df0902571a37f3b0625e322059ef8a619961b6b5b9be7a82799a
> sks-dump-0000.pgp
> [...]
> 37e87c7f33c0f43736b6a9960d7cc564af9b00987b69db8e58aeec3ad471ee2c
> sks-dump-0200.gpg
> Checksums:
> Key-Count: 3163896
> Dump-End-Date 2012-11-07T15:47:13Z
Hi,
that was exactly the same what thought of. I'ld just go a little step
further to xml, so machines could parse it more easily.
Maybe something like
<dump>
<hostname>keyserver.kim-minh.com</hostname>
<count>201</count>
<files>
<file>
<name>sks-dump-0000.pgp</name>
<checksum
type="md5">cb89d21aa7e8df0902571a37f3b0625e322059ef8a619961b6b5b9be7a82799a</checksum>
<keys>15000</keys>
</file>
...
</files>
<date>
<start>....</start>
<end>...</end>
</date>
<dump>
cheers,
- Stephan
signature.asc
Description: This is a digitally signed message part