Home GnuPG
Diffusion GnuPG 591a53d716aa

gpg: Don't call keybox_compress when KEYDB_RESOURCE_FLAG_READONLY.

Description

gpg: Don't call keybox_compress when KEYDB_RESOURCE_FLAG_READONLY.

* g10/keydb.c (keydb_add_resource): Check the FLAGS to call
keybox_compress.
  • GnuPG-bug-id: T6811
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Dec 29 2023, 2:57 AM
Parents
rG2be53b214d1c: tools: Fix argparse table of gpgconf.
Branches
Unknown
Tags
Unknown
Tasks
T6811: gpgv: Read-only trustedkeys.kbx should not be compressed