Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #179838

Re: Almost all gpg2 operations hang after upgrade to stretch/testing

From Nathanael Schweers <Nathanael.Schweers@outdooractive.com>
Newsgroups linux.debian.user
Subject Re: Almost all gpg2 operations hang after upgrade to stretch/testing
Date 2017-04-06 10:30 +0200
Message-ID <ttaXL-63S-15@gated-at.bofh.it> (permalink)
References <ttaEq-5XA-7@gated-at.bofh.it> <ttaO5-60K-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


When I run strace gpg2 -d notes.org.gpg strace stops output in mid
syscall(?)

[... cut ...]

open("/usr/share/locale/en_US/LC_MESSAGES/libgpg-error.mo", O_RDONLY) =
-1 ENOENT (No such file or directory)
open("/usr/share/locale/en/LC_MESSAGES/libgpg-error.mo", O_RDONLY) = -1
ENOENT (No such file or directory)
getuid()                                = 1000
stat("/run/user/1000", {st_mode=S_IFDIR|0700, st_size=160, ...}) = 0
getuid()                                = 1000
stat("/run/user/1000/gnupg", {st_mode=S_IFDIR|0700, st_size=140, ...}) = 0
getuid()                                = 1000
stat("/run/user/1000/gnupg/S.gpg-agent", {st_mode=S_IFSOCK|0600,
st_size=0, ...}) = 0
socket(AF_UNIX, SOCK_STREAM, 0)         = 6
stat("/run/user/1000/gnupg/S.gpg-agent", {st_mode=S_IFSOCK|0600,
st_size=0, ...}) = 0
connect(6, {sa_family=AF_UNIX,
sun_path="/run/user/1000/gnupg/S.gpg-agent"}, 34) = 0
read(6,


It seems to me that strace shouldn’t just stop in the middle of an
argument list, but I might be wrong.


I ran ps in a different terminal to see what gpg stuff is running:

$ ps ax | grep -i gpg
 5230 pts/1    S+     0:00 strace gpg2 -d notes.org.gpg
 5232 pts/1    SL+    0:00 gpg2 -d notes.org.gpg
 5260 ?        SLs    0:00 /usr/bin/gpg-agent --daemon
--enable-ssh-support --use-standard-socket --write-env-file
/run/user/1000/gpg-agent.info
 5307 pts/4    S+     0:00 grep --color=auto --exclude-dir=.bzr
--exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg
--exclude-dir=.svn -i gpg


Also the socket file seems fine:

$ ls -l /run/user/1000/gnupg/S.gpg-agent
srw------- 1 schweers schweers 0 Apr  6 08:54
/run/user/1000/gnupg/S.gpg-agent


On 04/06/2017 10:15 AM, Nicolas George wrote:
> Le septidi 17 germinal, an CCXXV, Nathanael Schweers a écrit :
>> For instance gpg2 -K --verbose prints "gpg: using pgp trust model", but
>> then just hangs.  Trying to decrypt a file via gpg2 -d --verbose
>> <filename> simply outputs what my public key is (I think a fingerprint
>> is listed), and then also hangs.
>>
>> gpg2 -k on the other hand works.
> Is the GPG agent running correctly?
>
> You could try strace to see what exactly is blocking.
>
> Regards,
>

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:10 +0200
  Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nicolas George <george@nsup.org> - 2017-04-06 10:20 +0200
    Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:30 +0200
      Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nicolas George <george@nsup.org> - 2017-04-06 10:40 +0200
        Re: Almost all gpg2 operations hang after upgrade to stretch/testing Nathanael Schweers <Nathanael.Schweers@outdooractive.com> - 2017-04-06 10:50 +0200
        Re: Almost all gpg2 operations hang after upgrade to stretch/testing Darac Marjal <mailinglist@darac.org.uk> - 2017-04-06 10:50 +0200
          Re: Almost all gpg2 operations hang after upgrade to stretch/testing Richard Owlett <rowlett@cloud85.net> - 2017-04-06 13:30 +0200
            Re: Almost all gpg2 operations hang after upgrade to stretch/testing Curt <curty@free.fr> - 2017-04-06 16:50 +0200
              Re: Almost all gpg2 operations hang after upgrade to stretch/testing Richard Owlett <rowlett@cloud85.net> - 2017-04-06 20:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing Brian <ad44@cityscape.co.uk> - 2017-04-06 21:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing Lisi Reisz <lisi.reisz@gmail.com> - 2017-04-13 15:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing <tomas@tuxteam.de> - 2017-04-13 16:30 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing John Hasler <jhasler@newsguy.com> - 2017-04-13 16:50 +0200
                Re: Almost all gpg2 operations hang after upgrade to  stretch/testing Celejar <celejar@gmail.com> - 2017-04-13 18:00 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing John Hasler <jhasler@newsguy.com> - 2017-04-13 18:20 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing GiaThnYgeia <GiaThnYgeia@openmailbox.org> - 2017-04-13 18:40 +0200
                Re: Almost all gpg2 operations hang after upgrade to stretch/testing <tomas@tuxteam.de> - 2017-04-14 10:50 +0200

csiph-web