git/list[1] front-page[2] threads[3] people[4] search[5] about
 

saving "git push --signed" certificate blobs

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Dec 30, 2014, 04:09 UTC
Message-ID
<54A22586.70001@gmail.com>
In-Reply-To
<54A10ED1.9020704@gmail.com>
Hello,

Just wanted to say there's a little script at [1] that saves the certificate blobs generated on the server side by "git push --signed".

Quoting from the source:

# Collects the cert blob on push and saves it, then, if a certain number of # signed pushes have been seen, processes all the "saved" blobs in one go, # adding them to the special ref 'refs/push-certs'. This is done in a way # that allows searching for all the certs pertaining to one specific branch # (thanks to Junio Hamano for this idea plus general brainstorming).

Note that although I posted it in the gitolite ML, this has very little to do with gitolite. Any git server can use it, with only one very minor change [2] needed.

sitaram
[1]: https://groups.google.com/forum/#!topic/gitolite/7cSrU6JorEY

[2]: Either set the GL_OPTIONS_GPC_PENDING environment variable by reading its value from 'git config', or replace the only line that uses that variable, with some other "test".

Next: Junio C Hamano
Message 1 of 3 in “saving "git push --signed" certificate blobs”
  1. Sitaram ChamartyDec 30, 2014
  2. Junio C HamanoDec 30, 2014
  3. Sitaram ChamartyJan 1, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.