Re: [PATCH] Fix CVE-2025-68972: Form feed detection in cleartext signatures

Werner Koch via Gnupg-devel <[email protected]> Thu, 15 Jan 2026 17:11:28 +0100
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On Thu, 15 Jan 2026 17:09, Shani Yosef said:

> The code inserts '\f' when lines are truncated, but I didn't
> find where '\f' is detected during verification to trigger the "bad
> signature

Well, if the truncated stuff is part of the signed text the \f chnages
the signed text and thus you will get a bad signature.  If it was not
part of the signed text you would anyway not see it in the file created
with --output.


Shalom-Salam,

   Werner


-- 
The pioneers of a warless world are the youth that
refuse military service.             - A. Einstein

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
openpgp-digital-signature.asc (application/pgp-signature, 284 B)
-----BEGIN PGP SIGNATURE-----

iJ8EARYKAEcWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCaWkRsBsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMSwyLDINHHdrQGdudXBnLm9yZwAKCRAZzByeCFsQeprRAP9m
WQS4n+2xfDyDpEo10XcCrxilVeCyfvBWoJ/6Yuhu+gD/SWM1Tq21Q5iGvpTMWHxK
YgZI0KBv8OhlbYpMd1c9NQA=
=Yxxi
-----END PGP SIGNATURE-----