git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] request-pull: filter out SSH/X.509 tag signatures
@ 2023-01-25 23:01 Gwyneth Morgan
  2023-01-25 23:19 ` Junio C Hamano
  2023-01-25 23:47 ` [PATCH v2] " Gwyneth Morgan
  0 siblings, 2 replies; 5+ messages in thread
From: Gwyneth Morgan @ 2023-01-25 23:01 UTC (permalink / raw)
  To: git; +Cc: Junio C Hamano, Gwyneth Morgan

git request-pull filters PGP signatures out of the tag message, but not
SSH or X.509 signatures.
---
 git-request-pull.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/git-request-pull.sh b/git-request-pull.sh
index 2d0e44656c..01640a044b 100755
--- a/git-request-pull.sh
+++ b/git-request-pull.sh
@@ -153,7 +153,7 @@ for you to fetch changes up to %H:
 if test $(git cat-file -t "$head") = tag
 then
 	git cat-file tag "$head" |
-	sed -n -e '1,/^$/d' -e '/^-----BEGIN PGP /q' -e p
+	sed -n -e '1,/^$/d' -e '/^-----BEGIN \(PGP\|SSH\|SIGNED\) /q' -e p
 	echo
 	echo "----------------------------------------------------------------"
 fi &&

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-01-26  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-25 23:01 [PATCH] request-pull: filter out SSH/X.509 tag signatures Gwyneth Morgan
2023-01-25 23:19 ` Junio C Hamano
2023-01-25 23:45   ` Gwyneth Morgan
2023-01-25 23:47 ` [PATCH v2] " Gwyneth Morgan
2023-01-26  0:18   ` Junio C Hamano

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).