Home GnuPG
Diffusion GnuPG 7d00e52bd58d

gpg: Allow generation of more than 4096 keys in one run.
7d00e52bd58dUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

gpg: Allow generation of more than 4096 keys in one run.

* g10/getkey.c (cache_public_key): Make room in the cache if needed.

To create the selfsigs, the key generation code makes use of the key
cache. However, after 4096 the cache is filled up and then disabled.
Thus generating more than 4096 keys in one run was not possible. We
now clear the first half the inserted keys every time the cache gets
full.

Details

Provenance
wernerAuthored on Jan 7 2013, 3:37 PM
Parents
rG79f08fb0699f: gpg: Add signature cache support to the keybox.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG7d00e52bd58d: gpg: Allow generation of more than 4096 keys in one run. (authored by Werner Koch <wk@gnupg.org>).Jan 7 2013, 3:37 PM