Bug#572118: [kwalletcli] Nothing happens when running

2010-03-03 Thread Thorsten Glaser
Werner Koch dixit: have not looked closely at the pinentry-kwallet, thus I can't decide It's a shell script... basically passing things to a sub-process but intercepting e.g. GETPIN and providing the answer from the wallet if possible. what to implenment and what not. I apparently didn't do

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Thorsten Glaser
severity 572118 normal thanks Resul Cetin dixit: Personally i doubt that gpg-agent really starts pinentry-kwallet. Does it now start it or not? I think the problem is that it doesn't support `GETINFO pid` correctly. When I remove that from gpg-agent I get the password window and the rest

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Thorsten Glaser
Resul Cetin dixit: I think the problem is that it doesn't support `GETINFO pid` correctly. When I remove that from gpg-agent I get the password window and the rest works as expected. So please implement GETINFO correctly for = gnupg2_2.0.9. I move that up to serious because this makes it

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: Personally i doubt that gpg-agent really starts pinentry-kwallet. Does it now start it or not? It seems that it start, but I don't know why it doesn't create that /tmp/blablub file. Maybe a mksh specific behavior? The debug output seems to indicate

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Thorsten Glaser
reassign 572118 gnupg-agent found 572118 gnupg-agent/2.0.14-1 thanks (Note: gnupg-agent/2.0.7-1 on Kubuntu Hardy works… the failing version is a today’s Debian sid, i386) Werner Koch dixit: What about looking at the source: pinnetry/pinentry.c: Ah, okay. My source was really the pinentry

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Werner Koch
On Tue, 2 Mar 2010 15:37, t...@mirbsd.de said: Oh. (See above on my sources…) I didn’t even know that info page exists. Is that now Ägypten or Assuan protocol, and am I supposed to implement more than just these documented in the pinentry info page? There is some percent escaping involved

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Resul Cetin
severity 572118 normal thanks Thorsten Glaser wrote: Resul Cetin dixit: Thorsten Glaser wrote: Resul Cetin dixit: Personally i doubt that gpg-agent really starts pinentry-kwallet. Does it now start it or not? It seems that it start, but I don't know why it doesn't create that

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: + kwalletcli -q -f pinentry-kwallet -e pass-v-〈〉 + pw=asd + rv=0 + print -r D asd D asd + print OK OK WTF then. Hrm. Care to try this one? It writes two log files /tmp/pkw-* (you should edit out the password with a fake one). I'm making

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Thorsten Glaser
Resul Cetin dixit: No, the stuff you send all the time were quite useless and it seems you never read the stuff I wrote in the first place. I read it but I guess I did not understand your... English. Have you restarted the gpg-agent? This was my fault yesterday. I just forgot to restart

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-02 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: No, the stuff you send all the time were quite useless and it seems you never read the stuff I wrote in the first place. I read it but I guess I did not understand your... English. Have you restarted the gpg-agent? This was my fault yesterday. I

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Package: kwalletcli Version: 2.01-1 Severity: important I used pinentry-qt4 since a while (it is still linked to /usr/bin/pinentry), but wanted to use kwallet as my personal password management. So installed kwalletcli and changed /usr/bin/pinentry ~/.gnupg/gpg-agent.conf to

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: kwalletcli and changed /usr/bin/pinentry ~/.gnupg/gpg-agent.conf to /usr/bin/pinentry-kwallet. I locked out and locked back in. So the new gpg- What exactly did you change? You're supposed to have the line | pinentry-program /usr/bin/pinentry-kwallet in your

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: kwalletcli and changed /usr/bin/pinentry ~/.gnupg/gpg-agent.conf to /usr/bin/pinentry-kwallet. I locked out and locked back in. So the new gpg- What exactly did you change? Exact what I said. I've attached the config. You're supposed to have

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: Exact what I said. I've attached the config. OK, thanks. I misunderstood, then. Can you please try, on the command line: $ PINENTRY=/usr/bin/pinentry-kwallet kwalletcli_getpin -t 'Enter password' (Of course, from an uxterm or so, make sure $DISPLAY is set and the KDE Wallet

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: Exact what I said. I've attached the config. OK, thanks. I misunderstood, then. Can you please try, on the command line: $ PINENTRY=/usr/bin/pinentry-kwallet kwalletcli_getpin -t 'Enter password' Only shows the question and then prints the

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: $ PINENTRY=/usr/bin/pinentry-kwallet kwalletcli_getpin -t 'Enter password' Only shows the question and then prints the password in commandline. Tried $ PINENTRY=/usr/bin/pinentry-qt4 kwalletcli_getpin -t 'Enter password' Looks like PINENTRY=/usr/bin/pinentry-kwallet

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: $ PINENTRY=/usr/bin/pinentry-kwallet kwalletcli_getpin -t 'Enter password' Only shows the question and then prints the password in commandline. Tried $ PINENTRY=/usr/bin/pinentry-qt4 kwalletcli_getpin -t 'Enter password' Looks like

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: Does it question you in the terminal or with a graphical dialogue? Graphical Qt4 pinentry. Good. I just realised kwalletcli_getpin strips the -kwallet from $PINENTRY... Can you: $ mksh -x /usr/bin/pinentry-kwallet GETPIN and paste the output? //mirabilos -- FWIW, I'm

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Dixi quod... Can you: $ mksh -x /usr/bin/pinentry-kwallet GETPIN and paste the output? On second thoughts... this is probably better: $ cp /usr/bin/pinentry-kwallet . $ chmod +w pinentry-kwallet Edit it and add set -x directly below function getit { $ mksh -x pinentry-kwallet GETPIN 10x,

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: mksh -x /usr/bin/pinentry-kwallet + rcsid=$MirOS: contrib/hosted/tg/code/kwalletcli/pinentry-kwallet,v 1.5 2009/07/12 17:57:33 tg Exp $ + unset LC_ALL LANGUAGE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: Dixi quod... Can you: $ mksh -x /usr/bin/pinentry-kwallet GETPIN and paste the output? On second thoughts... this is probably better: $ cp /usr/bin/pinentry-kwallet . $ chmod +w pinentry-kwallet Edit it and add set -x directly below function getit { $ mksh -x

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: + kwalletcli -q -f pinentry-kwallet -e pass-v-〈〉 + pw=asd + rv=0 + print -r D asd D asd + print OK OK WTF then. Hrm. Care to try this one? It writes two log files /tmp/pkw-* (you should edit out the password with a fake one). I'm making this up on the fly (protocol debugging)

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
Thorsten Glaser wrote: Resul Cetin dixit: + kwalletcli -q -f pinentry-kwallet -e pass-v-〈〉 + pw=asd + rv=0 + print -r D asd D asd + print OK OK WTF then. Hrm. Care to try this one? It writes two log files /tmp/pkw-* (you should edit out the password with a fake one). I'm making

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Thorsten Glaser
Resul Cetin dixit: Personally i doubt that gpg-agent really starts pinentry-kwallet. Oh... that one would of course work too. Try killing it, or maybe ph33r the healing powers of the reboot... ... it's really late, no wonder I hadn't thought about it... gn8, //mirabilos -- Using Lynx is

Bug#572118: [kwalletcli] Nothing happens when running

2010-03-01 Thread Resul Cetin
severity 572118 serious thanks Thorsten Glaser wrote: Resul Cetin dixit: Personally i doubt that gpg-agent really starts pinentry-kwallet. Oh... that one would of course work too. Try killing it, or maybe ph33r the healing powers of the reboot... ... it's really late, no wonder I hadn't