diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-08-03 11:19:48 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2021-08-03 11:23:22 -0400 |
commit | fb9c3b878d22f6e52285ebbb2c667b979bf13069 (patch) | |
tree | a564b7c75953506a5409f980289d76bb9b03d3dd /hooks/sendemail-validate-attestation-hook | |
parent | d0e8fa3bb2475187fbf9fcfe73c38ec83ad7e6b5 (diff) | |
download | b4-fb9c3b878d22f6e52285ebbb2c667b979bf13069.tar.gz |
Don't consider signature contents for trailers
Drop anything in the body below "-- " before parsing the contents for
trailers. This won't catch all possible situations, as the "-- "
standard is a bit of a dying standard, so add a list of known baddies
like "Phone:" and "Email:" that are likely to trip us up.
Reported-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/tools/20210719213535.vw3u4yg5mgxqysaf@pengutronix.de/
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Diffstat (limited to 'hooks/sendemail-validate-attestation-hook')
0 files changed, 0 insertions, 0 deletions