Home GnuPG
Diffusion GnuPG 79298e87d843

gpg: Fix --quick-set-expire for V5 subkey fingerprints

Description

gpg: Fix --quick-set-expire for V5 subkey fingerprints

* g10/keyedit.c (keyedit_quick_set_expire): Use actual size of
fingerprint.

The size of the fingerprints is either 20 (V4) or 32 (V5). Using the
actual size of the fingerprints fixes the lookup of subkeys with V5
fingerprint.

Details

Provenance
ikloeckerAuthored on Sep 24 2024, 10:44 AM
Parents
rG11387b24a5de: common: Add debug code to gnupg_exec_tool_stream
Branches
Unknown
Tags
Unknown
Tasks
T7298: gpg --quick-set-expire fails for V5 subkeys