aboutsummaryrefslogtreecommitdiffstats
path: root/g10/encrypt.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2017-07-27 11:56:38 +0000
committerWerner Koch <[email protected]>2017-07-27 11:56:38 +0000
commita0d0cbee7654ad7582400efaa92d493cd8e669e9 (patch)
tree20bfb26e2b78690f8ab54dc115dd5543f3331618 /g10/encrypt.c
parentindent: Wrap an overlong line. (diff)
downloadgnupg-a0d0cbee7654ad7582400efaa92d493cd8e669e9.tar.gz
gnupg-a0d0cbee7654ad7582400efaa92d493cd8e669e9.zip
gpg,sm: Fix compliance checking for decryption.
* common/compliance.c (gnupg_pk_is_compliant): Remove the Elgamal signing check. We don't support Elgamal signing at all. (gnupg_pk_is_allowed) <de-vs>: Revert encryption/decryption for RSA. Check the curvenames for ECDH. * g10/pubkey-enc.c (get_session_key): Print only a warning if the key is not compliant. * sm/decrypt.c (gpgsm_decrypt): Ditto. Use the same string as in gpg so that we have only one translation. -- We always allow decryption and print only a note if the key was not complaint at the encryption site. GnuPG-bug-id: 3308 Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/encrypt.c')
0 files changed, 0 insertions, 0 deletions