Bug#842877: apt: does not set HOME before invoking gnupg

2016-11-01 Thread brian m. carlson
severity 842877 minor retitle 842877 apt: should sanitize environment more thoroughly kthxbye On Wed, Nov 02, 2016 at 02:38:20AM +0100, David Kalnischkies wrote: > On Tue, Nov 01, 2016 at 11:49:39PM +, brian m. carlson wrote: > > 1. Add a new mirror to /etc/apt/sources.list. > > Can you go in

Bug#842877: apt: does not set HOME before invoking gnupg

2016-11-01 Thread David Kalnischkies
Hi On Tue, Nov 01, 2016 at 11:49:39PM +, brian m. carlson wrote: > 1. Add a new mirror to /etc/apt/sources.list. Can you go into more detail what you do in this step please? Are you installing -keyring packages perhaps? > 2. Set "extra-socket ~/.gnupg/S.gpg-agent-extra" in your user's >

Bug#842877: apt: does not set HOME before invoking gnupg

2016-11-01 Thread brian m. carlson
Package: apt Version: 1.3.1 Severity: important Steps to reproduce: 1. Add a new mirror to /etc/apt/sources.list. 2. Set "extra-socket ~/.gnupg/S.gpg-agent-extra" in your user's ~/.gnupg/gpg-agent.conf 3. As an unprivileged user in the sudo group, run "sudo -E apt-get update". 4. Notice that t