Gives a file size of around 125M, which is a bit saner than > 1G
} else if (!strcmp("dump", argv[optind])) {
config.dbbackend->initdb(true);
dumpstate.count = dumpstate.filenum = 0;
} else if (!strcmp("dump", argv[optind])) {
config.dbbackend->initdb(true);
dumpstate.count = dumpstate.filenum = 0;
- dumpstate.maxcount = 1000000;
+ dumpstate.maxcount = 100000;
dumpstate.fd = -1;
dumpstate.filebase = "keydump.%d.pgp";
config.dbbackend->iterate_keys(dump_func, &dumpstate);
dumpstate.fd = -1;
dumpstate.filebase = "keydump.%d.pgp";
config.dbbackend->iterate_keys(dump_func, &dumpstate);