Bug#835629: [pkg-gnupg-maint] Bug#835629: gnupg2: “unsafe ownership” is based on uid instead of euid

2016-08-30 Thread Val Lorentz
On 30/08/2016 10:16, Daniel Kahn Gillmor wrote: > Is the goal to allow the use of specific secret keys? if so, maybe what > you really want is a forwarded gpg-agent or something? Yes, that's what I am trying to do, but I can't find any way that fits my needs (no ssh, and an X11 dialog to ask fo

Bug#835629: [pkg-gnupg-maint] Bug#835629: gnupg2: “unsafe ownership” is based on uid instead of euid

2016-08-30 Thread Daniel Kahn Gillmor
Control: done 835629 On Sat 2016-08-27 14:25:50 -0400, Valentin Lorentz wrote: > When running gnupg2 from an executable with a SUID, gnupg2 wrongly warns > about “unsafe ownership on homedir”. well, right. this is a pretty non-standard way to run gpg, and it seems likely that there's a way to g

Bug#835629: gnupg2: “unsafe ownership” is based on uid instead of euid

2016-08-27 Thread Valentin Lorentz
Package: gnupg2 Version: 2.1.11-7 When running gnupg2 from an executable with a SUID, gnupg2 wrongly warns about “unsafe ownership on homedir”. Here is how to reproduce the bug: val@particle:/tmp $ cat foo.c #include #include #include void main(int argc, char* argv[]) { system("gpg2 --l