Home GnuPG
Diffusion GnuPG 00c31f8b04a4

gpg: New option --disable-pqc-encryption.

Description

gpg: New option --disable-pqc-encryption.

* g10/options.h (flags): Add field disable_pqc_encryption.
* g10/gpg.c (oDisablePQCEncryption): New.
(opts): Add --option.
(main): Set option.
* g10/getkey.c (finish_lookup): Skip subkeys if option is set.

This option can be used to avoid the use of Kyber encryption subkeys
if this does not make sense (i.e. protection of local files).

Details

Provenance
wernerAuthored on Thu, Feb 6, 5:45 PM
Parents
rGda9fb6bd163d: kbx: Fix for building without keyboxd.
Branches
Unknown
Tags
Unknown