Home GnuPG
Diffusion GnuPG b5f7ac6c368a

gpg: Implement keybox compression run

Description

gpg: Implement keybox compression run

* kbx/keybox-init.c (keybox_lock): Add arg TIMEOUT and change all
callers to pass -1.
* g10/keydb.c (keydb_add_resource): Call keybox_compress.

Note that here in the 2.2 branch the way we call the locking in gpgsm
is different from the one in gpg. So we could not cherry-pick from
master.

  • GnuPG-bug-id: T4644
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Aug 23 2019, 3:51 PM
Parents
rG34f55c5e348d: kbx: Include deleted records into the --stats output.
Branches
Unknown
Tags
Unknown
Tasks
T4644: gpg: implement keybox compression run