Home GnuPG
Diffusion GnuPG 2f08a4f25df7

gpg: ECDH: Accept longer padding.

Description

gpg: ECDH: Accept longer padding.

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

Cherry-picked master commit of:
fd79cadf7ba5ce45dfb5e266975f58bf5c7ce145

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