bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gnupload and gpp2


From: Pádraig Brady
Subject: Re: gnupload and gpp2
Date: Mon, 6 Nov 2017 21:51:10 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0

On 06/11/17 06:47, Jim Meyering wrote:
> On Mon, Nov 6, 2017 at 2:04 AM, Phillip Lord <address@hidden> wrote:
>> Currently, gnupload defaults to GPG="gpg" which in turn defaults to gpg
>> 1. This is a little painful as the handling of gpg-agent has changed
>> substantially between gpg1 and gpg2. I notice that a lot of online
>> documentation assumes gpg2 nowadays ("gpg-agent is started on need...").
>>
>> Would it be possible to add support for gpg2 to gnupload? Just editing
>> the GPG="gpg" to GPG="gpgp2" works for me....
> 
> Hi Phillip,
> You should be able to get the desired effect without changing the
> tool: instead, create a symlink in a directory that is earlier than
> that of gpg (e.g., in your ~/bin directory) that is named "gpg" and
> that points to the program you want to use in its place.  Then it
> should just work.
> 
> The trouble with hard-coding a version number in the name of the tool
> is that many are already using a "gpg" that is version 2, and may not
> have the "2"-suffixed name around at all.

There was talk recently on Fedora about transitioning the gpg name
to start the version 2 program. Upstream is already transitioning
to gpg as default binary name for version 2.
https://lists.fedoraproject.org/archives/search?mlist=devel%40lists.fedoraproject.org&q=gpg1

cheers,
Pádraig



reply via email to

[Prev in Thread] Current Thread [Next in Thread]