aboutsummaryrefslogtreecommitdiff
path: root/hooks/sendemail-validate-attestation-hook
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-08-03 11:19:48 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2021-08-03 11:19:48 -0400
commit6edc636bb497de461739e10000a29165df08c3dc (patch)
treeb4aa6e3576c0ab16f6990b814a7ec691b9577a88 /hooks/sendemail-validate-attestation-hook
parent98c758ff7b9ab1a571d278c74f4b6c38295fc83d (diff)
downloadb4-6edc636bb497de461739e10000a29165df08c3dc.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