[Popcon-developers] Bug#714917: Bug#714917: encrypting submissions creates /root/.gnupg/

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Fri Jul 5 13:30:56 UTC 2013


On Fri, Jul 05, 2013 at 03:03:27PM +0200, Ansgar Burchardt wrote:
> On 07/05/2013 14:44, Bill Allombert wrote:
> > On Thu, Jul 04, 2013 at 11:22:29AM +0200, Ansgar Burchardt wrote:
> >> Enabling the encryption of submissions will result in creating a /root/.gnupg
> >> directory including a gpg.conf, secring.gpg, trustdb.gpg, random_seed.
> >>
> >> Just using popularity-contest shouldn't do this. Maybe passing --no-config or
> >> --homedir /some/temporary/directory to gpg would be a good idea. It would also
> >> result in not using (maybe unwanted) settings from root's gpg.conf.

Does --no-config exist ? It is not documented and gpg just say
Invalid option.

It is rather painful to create dummy gpg HOME directories for no good reason.
Maybe we should ask the gpg maintainers
 
> It also looks like the script continues even though calling gpg failed.
> Maybe you want to use "set -e"?

Yes. Strange I never noticed it was missing before.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Popcon-developers mailing list