git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Jeff King <peff@peff.net>
To: "Bernhard E. Reiter" <bernhard.reiter@intevation.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	Git Mailing List <git@vger.kernel.org>,
	gnupg-devel@gnupg.org
Subject: Re: Stable GnuPG interface, git should use GPGME
Date: Mon, 13 Mar 2017 08:53:24 -0400	[thread overview]
Message-ID: <20170313125324.ahznmrwflqvdrnnn@sigill.intra.peff.net> (raw)
In-Reply-To: <201703131214.31588.bernhard.reiter@intevation.de>

On Mon, Mar 13, 2017 at 12:14:17PM +0100, Bernhard E. Reiter wrote:

> Using a completely different OpenPGP implementation maybe a potential use case 
> for keeping a configuration option around. I did not deeply examine what git 
> really needs. Usually a different implementation will have quite a different 
> command line interface, so it may require substaintial work to come up with a 
> wrapper about that other OpenPGP implementation to provide the same command 
> line interface as GnuPG.

The existing config option will have to stay, period. If we take it
away, then we'd be breaking existing setups that do anything more exotic
than point it at a particular gpg binary.

So I think the possible patches in this area are:

  - adding gpgme support (probably as an optional build-time dependency)
    along with a config option to use it instead of gpg.program (or
    possibly just "gpg.program = gpgme" to trigger it).

  - defaulting to gpgme (when it's compiled in) instead of gpg.program

The first one by itself shouldn't hurt anybody, aside from carrying some
extra code around.

We'd have to see how the first one goes before considering the second.
If we hit a point where people have problems and the advice is "just set
gpg.program to gpgme", then that's a good sign that the default should
be flipped.

-Peff

  reply	other threads:[~2017-03-13 12:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-10 10:00 Stable GnuPG interface, git should use GPGME Bernhard E. Reiter
2017-03-10 14:23 ` Ævar Arnfjörð Bjarmason
2017-03-13 10:14   ` Michael J Gruber
2017-03-13 12:49     ` Bernhard E. Reiter
2017-03-14 10:39       ` Michael J Gruber
2017-03-17  9:56         ` Bernhard E. Reiter
2017-03-22 17:15           ` Werner Koch
2017-03-22 18:46             ` Peter Lebbing
2017-03-23  6:52               ` Werner Koch
2017-03-23  7:29             ` Bernhard E. Reiter
2017-03-23 10:56               ` Werner Koch
2017-03-13 10:30   ` Bernhard Reiter
2017-03-10 18:54 ` Linus Torvalds
2017-03-10 20:26   ` Theodore Ts'o
2017-03-13 11:14   ` Bernhard E. Reiter
2017-03-13 12:53     ` Jeff King [this message]
2017-03-11  0:10 ` brian m. carlson
2017-03-13 12:29   ` Bernhard E. Reiter
2017-03-13 19:48   ` Christian Neukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170313125324.ahznmrwflqvdrnnn@sigill.intra.peff.net \
    --to=peff@peff.net \
    --cc=bernhard.reiter@intevation.de \
    --cc=git@vger.kernel.org \
    --cc=gnupg-devel@gnupg.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).