[PATCH util-modular] release.sh: redefine GPGKEY if already existing

Andres Gomez agomez at igalia.com
Wed Apr 19 12:36:15 UTC 2017


On Tue, 2017-04-18 at 12:08 +1000, Peter Hutterer wrote:
> On Fri, Apr 07, 2017 at 04:26:35PM +0300, Andres Gomez wrote:
> > GPGKEY may already exist in the environment. In that case, just
> > redefine it adding "-u"
> 
> Is GPGKEY a common thing used in other scripts? I honestly don't know. If
> not, then I wonder if redefining it is risky to pick the wrong key and it
> may be better to just zero it out, requiring the use of --gpgkey for th
> release script.

GPGKEY is mentioned in several receipts and scripts such as:
https://help.ubuntu.com/community/GnuPrivacyGuardHowto#Setting_the_key_to_be_the_default
https://wiki.debian.org/DebianRepository/SetupWithMinidinstall

But it is true that it is not used in other scripts in util-modular and
I have not found an actual use in other widespread scripts and programs
so I can agree zeroing it out is harmless and safer.

I new patch will follow.

-- 
Br,

Andres


More information about the xorg-devel mailing list