[pkg-gnupg-maint] Bug#919856: Bug#919856: gpg-agent: agent refuses operation again

Norbert Preining norbert at preining.info
Thu Jan 24 03:09:16 GMT 2019


Hi,

thanks for your detailed explanations and help!

I followed your procedure to the point (besides location of mypinentry
and the respective setting in gpg-agent.conf).

I attach the two files that are generated in /run/user/1000

The output on screen was as ususal 
	sign_and_send_pubkey: signing failed: agent refused operation
	sign_and_send_pubkey: signing failed: agent refused operation

In the log there is the following finish:

	> 2019/01/24 12:02:47.159342  length=7 from=723 to=729
	GETPIN
	< 2019/01/24 12:02:47.175799  length=25 from=202 to=226
	S PASSWORD_FROM_CACHE
	OK

I hope you can make something out of all that.

Thanks a lot

Norbert

--
PREINING Norbert                               http://www.preining.info
Accelia Inc.     +    JAIST     +    TeX Live     +    Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
-------------- next part --------------
Thu 24 Jan 2019 12:02:47 PM JST
lrwxrwxrwx 1 root root 24 Jan 24 12:01 /etc/alternatives/pinentry -> /usr/bin/pinentry-gnome3
--display \:0
LANGUAGE=en_US:en
USER=norbert
XDG_SEAT=seat0
XDG_SESSION_TYPE=x11
HOME=/home/norbert
QT4_IM_MODULE=fcitx
LISTEN_PID=3343
LISTEN_FDS=4
DESKTOP_SESSION=cinnamon
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
MANAGERPID=2300
GSM_SKIP_SSH_AGENT_WORKAROUND=true
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
IM_CONFIG_PHASE=1
QT_QPA_PLATFORMTHEME=qt5ct
LOGNAME=norbert
GTK_IM_MODULE=fcitx
JOURNAL_STREAM=9:40941
XDG_SESSION_CLASS=user
GTK_OVERLAY_SCROLLING=0
XDG_SESSION_ID=2
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
GDM_LANG=en_US.utf8
SESSION_MANAGER=local/bulldog:@/tmp/.ICE-unix/2318,unix/bulldog:/tmp/.ICE-unix/2318
INVOCATION_ID=b1ed65195af44acf8a15ad708d1c8431
XDG_RUNTIME_DIR=/run/user/1000
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
LISTEN_FDNAMES=browser:ssh:std:extra
LANG=en_US.UTF-8
XDG_CURRENT_DESKTOP=X-Cinnamon
XAUTHORITY=/home/norbert/.Xauthority
XDG_SESSION_DESKTOP=cinnamon
XMODIFIERS=@im=fcitx
SSH_AUTH_SOCK=/run/user/1000/gnupg/S.gpg-agent.ssh
XDG_GREETER_DATA_DIR=/var/lib/lightdm/data/norbert
SHELL=/bin/bash
_assuan_pipe_connect_pid=3343
GDMSESSION=cinnamon
QT_ACCESSIBILITY=1
GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
QT_IM_MODULE=fcitx
XDG_VTNR=7
PWD=/home/norbert
CLUTTER_IM_MODULE=xim
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
-------------- next part --------------
< 2019/01/24 12:02:47.157402  length=37 from=0 to=36
OK Pleased to meet you, process 3343
> 2019/01/24 12:02:47.157570  length=15 from=0 to=14
OPTION no-grab
< 2019/01/24 12:02:47.157656  length=3 from=37 to=39
OK
> 2019/01/24 12:02:47.157702  length=37 from=15 to=51
OPTION allow-external-password-cache
< 2019/01/24 12:02:47.157773  length=3 from=40 to=42
OK
> 2019/01/24 12:02:47.157843  length=22 from=52 to=73
OPTION default-ok=_OK
< 2019/01/24 12:02:47.157932  length=3 from=43 to=45
OK
> 2019/01/24 12:02:47.157967  length=30 from=74 to=103
OPTION default-cancel=_Cancel
< 2019/01/24 12:02:47.158014  length=3 from=46 to=48
OK
> 2019/01/24 12:02:47.158039  length=24 from=104 to=127
OPTION default-yes=_Yes
< 2019/01/24 12:02:47.158085  length=39 from=49 to=87
ERR 83886254 Unknown option <Pinentry>
> 2019/01/24 12:02:47.158136  length=22 from=128 to=149
OPTION default-no=_No
< 2019/01/24 12:02:47.158177  length=39 from=88 to=126
ERR 83886254 Unknown option <Pinentry>
> 2019/01/24 12:02:47.158228  length=27 from=150 to=176
OPTION default-prompt=PIN:
< 2019/01/24 12:02:47.158271  length=3 from=127 to=129
OK
> 2019/01/24 12:02:47.158292  length=48 from=177 to=224
OPTION default-pwmngr=_Save in password manager
< 2019/01/24 12:02:47.158354  length=3 from=130 to=132
OK
> 2019/01/24 12:02:47.158375  length=89 from=225 to=313
OPTION default-cf-visi=Do you really want to make your passphrase visible on the screen?
< 2019/01/24 12:02:47.158496  length=3 from=133 to=135
OK
> 2019/01/24 12:02:47.158520  length=47 from=314 to=360
OPTION default-tt-visi=Make passphrase visible
< 2019/01/24 12:02:47.158580  length=3 from=136 to=138
OK
> 2019/01/24 12:02:47.158602  length=39 from=361 to=399
OPTION default-tt-hide=Hide passphrase
< 2019/01/24 12:02:47.158655  length=3 from=139 to=141
OK
> 2019/01/24 12:02:47.158677  length=51 from=400 to=450
OPTION touch-file=/run/user/1000/gnupg/S.gpg-agent
< 2019/01/24 12:02:47.158740  length=3 from=142 to=144
OK
> 2019/01/24 12:02:47.158762  length=26 from=451 to=476
OPTION owner=3336 bulldog
< 2019/01/24 12:02:47.158807  length=3 from=145 to=147
OK
> 2019/01/24 12:02:47.158825  length=15 from=477 to=491
GETINFO flavor
< 2019/01/24 12:02:47.158861  length=12 from=148 to=159
D gnome3
OK
> 2019/01/24 12:02:47.158886  length=16 from=492 to=507
GETINFO version
< 2019/01/24 12:02:47.158918  length=11 from=160 to=170
D 1.1.0
OK
> 2019/01/24 12:02:47.158942  length=16 from=508 to=523
GETINFO ttyinfo
< 2019/01/24 12:02:47.158977  length=12 from=171 to=182
D - - :0
OK
> 2019/01/24 12:02:47.159002  length=12 from=524 to=535
GETINFO pid
< 2019/01/24 12:02:47.159035  length=10 from=183 to=192
D 3387
OK
> 2019/01/24 12:02:47.159062  length=54 from=536 to=589
SETKEYINFO s/A337DE390143074C6DBFEA64224359B9859B02FC
< 2019/01/24 12:02:47.159127  length=3 from=193 to=195
OK
> 2019/01/24 12:02:47.159149  length=111 from=590 to=700
SETDESC Please enter the passphrase for the ssh key%0A  MD5:15:20:05:90:e4:a3:b7:40:4f:f2:cf:ca:eb:bb:eb:64%0A
< 2019/01/24 12:02:47.159259  length=3 from=196 to=198
OK
> 2019/01/24 12:02:47.159280  length=22 from=701 to=722
SETPROMPT Passphrase:
< 2019/01/24 12:02:47.159319  length=3 from=199 to=201
OK
> 2019/01/24 12:02:47.159342  length=7 from=723 to=729
GETPIN
< 2019/01/24 12:02:47.175799  length=25 from=202 to=226
S PASSWORD_FROM_CACHE
OK
> 2019/01/24 12:02:47.175915  length=4 from=730 to=733
BYE
< 2019/01/24 12:02:47.175994  length=22 from=227 to=248
OK closing connection
2019/01/24 12:02:47 socat[3377] E write(1, 0x55b96b510ec0, 22): Broken pipe


More information about the pkg-gnupg-maint mailing list