sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Idea: dump should create keycount.txt


From: John Clizbe
Subject: Re: [Sks-devel] Idea: dump should create keycount.txt
Date: Wed, 07 Nov 2012 17:45:33 -0600
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:16.0) Gecko/20121026 Firefox/16.0 SeaMonkey/2.13.2

Kristian Fiskerstrand wrote:
> On 11/07/2012 02:36 AM, Phil Pennock wrote:
>> What do folks think of the idea of having "sks dump" also create a file
>> called [prefix]keycount.txt ?
>> 
>> That way, folks who make dumps available will have a really easy way to
>> also make a count of the keys available; depending on how they set up
>> the dumping, it might even happen automatically with no extra work on
>> their part.
>> 
>> Does this seem reasonable and worth coding?
>> 
> 
> I quite like this idea. For now I've added a patch in my MQ [0] that,
> while running on one of my development servers, output the format as
> seen in #Snippet 1#. Feel free to test it.
> 
> 
> ## Snippet 1 ##
> gentoo4 sks # cat dumptest/metadata-sks-dump.txt
> #Metadata-for: keys5.kfwebs.net
> #Dump-started: 2012-11-07 21:45:01
> #Files-Count: 28
> #Key-Count: 420000
> #Checksums:
> ef5a257aa60e83319f3522d4555cc15c sks-dump-0000.pgp
<snip>
> 8c3a4013cac768c3b79d9afbb9a29165 sks-dump-0026.pgp
> 28f2452b3e15e8df349b6112ed98579f sks-dump-0027.pgp
> #Dump-ended: 2012-11-07 21:45:06
> 
> ## Endnotes ##
> 
> [0]
> https://bitbucket.org/kristianf/sks-keyserver-patches/src/tip/DUMP_METADATA?at=default

Rather than add a new file to the dump process, why not just improve the
inadequate output that goes into dump.log?

Granted things like the per-file checksums would need to be generated post
facto, but per-file key counts and running totals would be an easy add along
with grand totals.




-- 
John P. Clizbe                      Inet: John (a) Gingerbear DAWT net
SKS/Enigmail/PGP-EKP                  or: John ( @ ) Enigmail DAWT net
FSF Assoc #995 / FSFE Fellow #1797  hkp://keyserver.gingerbear.net  or
     mailto:address@hidden

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"


Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]