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

Re: [PATCH 0/3] Raw gpg output support for verify-commit and verify-tag

From
Junio C Hamano <gitster@pobox.com>
Date
Jun 14, 2015, 21:23 UTC
Message-ID
<xmqqd20ym1b0.fsf@gitster.dls.corp.google.com>
In-Reply-To
<1434307910-705555-1-git-send-email-sandals@crustytoothpaste.net>
"brian m. carlson" <sandals@crustytoothpaste.net> writes:
Show 9 quoted lines
> Currently, verify-commit and verify-tag produce human-readable output.
> This is great for humans, and awful for machines.  It also lacks a lot
> of the information that GnuPG's --status-fd output provides.
>
> For example, if you wanted to know
> * the hash algorithm;
> * whether the signature was made with a subkey; or
> * the OpenPGP signature version
> none of that information is available in the human-readable output.

What this series wants to achieve makes a lot of sense to me. One comment I have after skimming the patfches is that I want the new "raw" bit added not as a yet another parameter after "verbose", but by turning the existing "verbose" into an "unsigned flag" flag word (with "#define GPG_VERIFY_VERBOSE 01") and then defining use of a new bit in the same flag word "#define GPG_VERIFY_RAW 01" or something. That way, over time other people add differnt things to the interface, we would not have to end up with 47 different parameters each of which signals a single bit.

Thanks.
Previous: brian m. carlsonNext: brian m. carlson
Message 5 of 7 in “Raw gpg output support for verify-commit and verify-tag”
  1. 0/3 Raw gpg output support for verify-commit and verify-tagbrian m. carlson, Jun 14, 2015
  2. 1/3 verify-commit: add option to print raw gpg status informationbrian m. carlson, Jun 14, 2015
  3. 2/3 verify-tag: add testsbrian m. carlson, Jun 14, 2015
  4. 3/3 verify-tag: add option to print raw gpg status informationbrian m. carlson, Jun 14, 2015
  5. Junio C HamanoJun 14, 2015
  6. brian m. carlsonJun 14, 2015
  7. Michael J GruberJun 15, 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.