[PATCH] cipher:rsa:pss: Fix SALT-LENGTH handling.
NIIBE Yutaka
gniibe at fsij.org
Fri Aug 28 08:34:42 CEST 2026
* cipher/pubkey-util.c (_gcry_pk_util_data_to_mpi): For
PUBKEY_OP_SIGN, just like for PUBKEY_OP_VERIFY, reject larger
SALT-LENGTH as the comment says. Fix releasing LIST on error.
--
Fixes-commit: 0bd8137e68c201b6c2290710e348aaf57efa2b2e
GnuPG-bug-id: 8377
Reported-by: JEAN Jeremy <Jeremy.Jean at ssi.gouv.fr>
Signed-off-by: NIIBE Yutaka <gniibe at fsij.org>
---
cipher/pubkey-util.c | 6 ++++++
1 file changed, 6 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cipher-rsa-pss-Fix-SALT-LENGTH-handling.patch
Type: text/x-patch
Size: 952 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gcrypt-devel/attachments/20260828/c3c550c6/attachment-0003.bin>
More information about the Gcrypt-devel
mailing list