ref: ff2ebe6cfdacd890a74a6d2f9b0acd062d2633b7
parent: 4055404c1b93b6b5b1a8858dc7286e875cd31bbf
author: Ori Bernstein <[email protected]>
date: Sat Nov 26 18:47:48 EST 2022
git: add support for another signed message format
--- a/sys/src/cmd/git/pack.c
+++ b/sys/src/cmd/git/pack.c
@@ -885,6 +885,7 @@
/* just drop it */
if((t = strstr(p, "-----END PGP SIGNATURE-----")) == nil)
if((t = strstr(p, "-----END SSH SIGNATURE-----")) == nil)
+ if((t = strstr(p, "-----END SIGNED MESSAGE-----")) == nil)
sysfatal("malformed gpg signature");
np -= t - p;
p = t;