The "dump" command doesn't appear to be parsing command line arguments correctly.
First, if I omit the "dumpname" option, it appears that some random value is used for the prefix to the filename of the output files. I'm guessing that the filename portion is uninitialized in "sksdump.ml". The "name" value on line 77 doesn't appear to get set.
What was the command-line option you used? When I run, for example:
sks dump 100000 ~/foobar snoobar
then I see messages saying:
Dumping keys to file /home/yminsky/foobar/snoobar-0000.pgp
which is precisely the way I expect it to work. What happens when you try it?
Secondly, it appears that the "numkeys" value isn't parsed properly. When I try to dump one key, I get all. If I try to dump five keys I get 15. Not sure what is happening here.
I think you're misunderstanding the feature. numkeys determines not how many keys get dumped, but how many get included in each file. The dump always dumps everything.
_______________________________________________
Sks-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/sks-devel