aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2022-08-02 16:36:56 +0000
committerWerner Koch <[email protected]>2022-08-02 16:41:23 +0000
commite542c4af182d1c6d6ecb4dc902eb331889edb27f (patch)
tree65cf18386f6ba238a168a6b68ae3187df59ca154 /common/sysutils.c
parentgpgconf: Improve registry dumping. (diff)
downloadgnupg-e542c4af182d1c6d6ecb4dc902eb331889edb27f.tar.gz
gnupg-e542c4af182d1c6d6ecb4dc902eb331889edb27f.zip
gpg: Make symmetric + pubkey encryption de-vs compliant.
* g10/mainproc.c (proc_encrypted): Make symmetric + pubkey encryption de-vs compliant. * g10/mainproc.c (struct symlist_item): New. (struct mainproc_context): Add field symenc_list. (release_list): Free that list. (proc_symkey_enc): Record infos from symmetric session packet. (proc_encrypted): Check symkey packet algos -- The original check was too strong because it is in fact compliant to encrypt with a symmetric key and and public key. Thus decryption should issue a compliance status. In addition we now check that the cipher algorithms used to symmetrically encrypt the session key are all compliant. This is similar to our check for all public key encrypted session key packets. GnuPG-bug-id: 6119 Fixes-commit: b03fab09e188f7bb10237d4f20455e4026737e4e Backported from 2.2 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions