diff options
| author | Werner Koch <[email protected]> | 2024-04-24 07:56:30 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2024-04-24 07:57:07 +0000 |
| commit | 2958e5e4cfff8e7e8a8a113dca65dec028deb5aa (patch) | |
| tree | 2f950ebbcf95674a6b66942352fdfa0b9744687a /g10/options.h | |
| parent | agent:kem: Factor out ECC KEM operation from composite KEM. (diff) | |
| download | gnupg-2958e5e4cfff8e7e8a8a113dca65dec028deb5aa.tar.gz gnupg-2958e5e4cfff8e7e8a8a113dca65dec028deb5aa.zip | |
gpg: New option --require-pqc-encryption
* g10/gpg.c (oRequirePQCEncryption): New.
(opts): Add option.
(main): Set option.
* g10/mainproc.c (print_pkenc_list): Print a warning.
* g10/options.h (flags): Add flag require_pqc_encryption.
* g10/getkey.c (finish_lookup): Skip non-pqc keys if the option is
set.
--
GnuPG-bug-id: 6815
Diffstat (limited to 'g10/options.h')
| -rw-r--r-- | g10/options.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/g10/options.h b/g10/options.h index 2fe4f5bbf..ae429fcc1 100644 --- a/g10/options.h +++ b/g10/options.h @@ -283,6 +283,7 @@ struct /* Fail if an operation can't be done in the requested compliance * mode. */ unsigned int require_compliance:1; + unsigned int require_pqc_encryption:1; } flags; /* Linked list of ways to find a key if the key isn't on the local |
