Thread (1 message) 1 message, 1 author, 2021-07-19

Re: [PATCH v4 1/9] ssh signing: preliminary refactoring and clean-up

From: Junio C Hamano <hidden>
Date: 2021-07-19 23:15:47

"Fabian Stelzer via GitGitGadget" [off-list ref] writes:
quoted hunk
diff --git a/gpg-interface.c b/gpg-interface.c
index 127aecfc2b0..31cf4ba3938 100644
--- a/gpg-interface.c
+++ b/gpg-interface.c
@@ -15,6 +15,12 @@ struct gpg_format {
 	const char *program;
 	const char **verify_args;
 	const char **sigs;
+	int (*verify_signed_buffer)(struct signature_check *sigc,
+				    struct gpg_format *fmt, const char *payload,
+				    size_t payload_size, const char *signature,
+				    size_t signature_size);
+	int (*sign_buffer)(struct strbuf *buffer, struct strbuf *signature,
+			   const char *signing_key);
 };
Thanks for a pleasant read.  Looking good.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help