diff options
author | Werner Koch <[email protected]> | 2025-02-06 16:45:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2025-02-06 16:45:23 +0000 |
commit | 00c31f8b04a41dcf1ee8f57e1225e12c999a37a9 (patch) | |
tree | ea996854fe8fbcff8d805c3ff086361a3f1a06d1 /doc | |
parent | kbx: Fix for building without keyboxd. (diff) | |
download | gnupg-00c31f8b04a41dcf1ee8f57e1225e12c999a37a9.tar.gz gnupg-00c31f8b04a41dcf1ee8f57e1225e12c999a37a9.zip |
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).
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpg.texi | 7 | ||||
-rw-r--r-- | doc/keyformat.txt | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 9a621c89b..5f93e9f8c 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -3157,6 +3157,13 @@ ML-KEM1024) algorithms and AES-256 are considered quantum-resistant; Kyber is always used in a composite scheme along with a classic ECC algorithm. +@item --disable-pqc-encryption +@opindex disable-pqc-encryption +This option disables the use of quantum-resistant subkeys and uses a +subkey with a non-quantum-resistant algorithm if available or throw an +error otherwise. The option is ignored if +@option{--require-pqc-encryption} is active. + @item --require-compliance @opindex require-compliance To check that data has been encrypted according to the rules of the diff --git a/doc/keyformat.txt b/doc/keyformat.txt index dadfed4eb..912e65dd9 100644 --- a/doc/keyformat.txt +++ b/doc/keyformat.txt @@ -89,6 +89,10 @@ The UTC time the key was created in ISO compressed format (yyyymmddThhmmss). This information can be used to re-create an OpenPGP key. +*** Link +For a composite key this item gives the keygrip of the other key part. +In particular Kyber keys may use this to link to the ECC part and vice versa. + *** Label This is a short human readable description for the key which can be used by the software to describe the key in a user interface. For |