Bugzilla – Bug 612829
ksshaskpass fails to use kwallet
Last modified: 2012-01-29 07:31:28 UTC
User-Agent: Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.3 (like Gecko) SUSE ksshaskpass fails to store ssh key passwords in kwallet, although it asks for the wallet password. Reproducible: Always Steps to Reproduce: 1. Install ksshaskpass and set up your .xsession file to use it (see below) 2. Log in to KDE4 3. ksshaskpass asks for the wallet password, enter it 4. ksshaskpass asks for the ssh key password, enter it and check the "Remember password" box. Actual Results: ksshaskpass keeps asking for the ssh key password upon each login. There is no discernible ssh-related entry in the wallet. Expected Results: ksshaskpass should only ask for the ssh key password once and store it in the wallet. In order to use ksshaskpass you'll have to modify your .xsession file to prefer ksshaskpass over other alternatives: [snip] # # Run ssh-agent only if ssh is configured and avaliable. # SSH_ASKPASS="" if test "$usessh" = "yes" -a -d $HOME/.ssh ; then if test -x /usr/lib64/ssh/ksshaskpass ; then SSH_ASKPASS="/usr/lib64/ssh/ksshaskpass" export SSH_ASKPASS elif test -x /usr/lib/ssh/x11-ssh-askpass ; then SSH_ASKPASS="/usr/lib/ssh/x11-ssh-askpass" export SSH_ASKPASS elif test -x /usr/lib64/ssh/x11-ssh-askpass ; then SSH_ASKPASS="/usr/lib64/ssh/x11-ssh-askpass" export SSH_ASKPASS fi fi [snap]
I can confirm the bug, but in my case, I have the error with x11-ssh-askpass! Specifically, I have not configured the xsession to use the ksshaskpass. It is the default x11-ssh-askpass. However, it executes the ksshaskpass. And I have the following error message (in .xsession-errors file): .xsession-errors:kwalletd(3640) KWalletD::setupDialog: Application ' "Ksshaskpass" ' using kwallet without parent window!
openSUSE 11.3 is out of maintenance. Is this bug still valid with openSUSE 12.1?
Thanks for reminding me. Indeed, the bug got fixed in 12.1.
Thanks, closing.