Home GnuPG
Diffusion GnuPG fd79cadf7ba5

gpg: ECDH: Accept longer padding.

Description

gpg: ECDH: Accept longer padding.

* g10/pubkey-enc.c (get_it): Remove check which mandates shorter
padding.

According to the section 8 of RFC 6637, the sender MAY use 21 bytes of
padding for AES-128 to provide 40-byte "m".

  • Reported-by: Metin Savignano
  • GnuPG-bug-id: T4908
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Apr 8 2020, 2:29 AM
Parents
rG9ec8d984be46: scd:p15: Show a pretty PIN prompt.
Branches
Unknown
Tags
Unknown
Tasks
T4908: ECDH with AES-128 decryption failure when fully padded