Re: Infinite loop?

2019-06-23 Thread James Moe via Gnupg-users
On 23/06/2019 11.53 AM, James Moe via Gnupg-users wrote:

> gnupg does appear in the update log
>
  Sigh. Typo.
  gnupg does NOT appear in the update log. Nor does libscrypt.

  The repetitive part of the log starts at line 475.

-- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Infinite loop?

2019-06-23 Thread James Moe via Gnupg-users
opensuse LEAP 15.0
linux 4.12.14-lp150.12.64-default x86_64

gpg2 seems to enter an infinite loop. The system recently updated; gnupg
does appear in the update log. That is all I know.

I executed the command
  $ gpg2 --debug-all --list-keys
to get a debug output. The resulting file is really large: 8.9MB. I have
provided a Dropbox link to the debug file below.

https://www.dropbox.com/s/xc2jtntmzhr10lg/gpg2-debug.txt?dl=0


$ gpg2 --version
gpg (GnuPG) 2.2.5
libgcrypt 1.8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: /home/jmoe/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2


-- 
James Moe
moe dot james at sohnen-moe dot com
520.743.3936
Think.

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: GnuPG and SSH_AUTH_SOCK value

2019-06-23 Thread Matthias Apitz
El día sábado, junio 22, 2019 a las 09:47:12a. m. +0200, Werner Koch via 
Gnupg-users escribió:

> That seems to be deep in the innards of KDE's X startup or Wayland or
> Systemd configuration.  I try to avoid all this and use the old
> fashioned but easy to debug ~/.xsession

I'm used to use 'startx' and ~/.xinitrc to bring up Xorg+KDE:

$ cat ~/.xinitrc

# set SSH_AUTH_SOCK
#
unset SSH_AGENT_PID
unset SSH_AUTH_SOCK
SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)";
export SSH_AUTH_SOCK
echo SSH_AUTH_SOCK: $SSH_AUTH_SOCK  >> /tmp/xinit 
#
setxkbmap de,us -option terminate:ctrl_alt_bksp
xrandr --output default --mode 1366x768
/usr/local/bin/xbindkeys
exec ck-launch-session startkde

The idea is to set env var SSH_AUTH_SOCK correctly for all the xterm/urxvt
processes "below" KDE. But, before the start of KDE (last line) the
SSH_AUTH_SOCK is still 
/home/guru/.gnupg-ccid/S.gpg-agent.ssh
and later when KDE is up the 'gpgconf --list-dirs agent-ssh-socket'
returns /var/run/user/1001/gnupg/d.m4rfaasqebhjmgto9ddm6m7y/S.gpg-agent.ssh
i.e. the env var SSH_AUTH_SOCK is set wrong and I have to reset it
in any terminal.

matthias


-- 
Matthias Apitz, ✉ g...@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
May, 9: Спаси́бо освободители! Thank you very much, Russian liberators!


signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users