[Bug 1207402] New: kwallet does not prompt when using grsync
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 Bug ID: 1207402 Summary: kwallet does not prompt when using grsync Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: KDE Workspace (Plasma) Assignee: opensuse-kde-bugs@opensuse.org Reporter: firelink@bluewin.ch QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- apps: kwallet, ksshaskpass, grsync 1. dolphin connects via smb to smb-server. kwallet prompts correctly for pw. 2. use grsync to sync files from local to smb-server. 3. No matter which way (with "-e ssh" or without), kwallet does NOT prompt for pw (nor for fingerprint). 4. copy the exact same command (rsync -r -t -v --progress -e ssh <source> <dest>) into terminal and it asks for pw inside terminal and the sync works. 5. bypass kwallet and use grsync with "--password-file=pw" and the sync works. (Tumbleweed 20230119, KDE plasma 5.26.5) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c1 flint fire <firelink@bluewin.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User --- Comment #1 from flint fire <firelink@bluewin.ch> --- cross-check with KDE-neon installation. ksshaskpass is correctly prompting when sync with grsync starts. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c3 --- Comment #3 from flint fire <firelink@bluewin.ch> --- (In reply to Fabian Vogt from comment #2)
Is $SSH_ASKPASS set?
Where should that be set? In grsync.ini? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c5 --- Comment #5 from flint fire <firelink@bluewin.ch> --- (In reply to Fabian Vogt from comment #4)
(In reply to flint fire from comment #3)
(In reply to Fabian Vogt from comment #2)
Is $SSH_ASKPASS set?
Where should that be set? In grsync.ini?
As environment variable.
Does it work with SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass rsync -r -t -v --progress -e ssh <source> <dest>?
In the file: /etc/sysconfig/ssh I added & tested the following settings/lines (one after one): 1) SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass -did not work. I think "ssh-askpass" was installed by me and is not in the default installation, because it simply points to ksshaskpass. 2) SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass - did not work. 3) SSHD_ASKPASS=/usr/libexec/ssh/ksshaskpass - did not work. I thought it's worth a try. 4) SSHD_ASKPASS=/usr/libexec/ssh/ssh-askpass -did not work. I thought it's worth a try. To be sure I did a restart after every change of /etc/sysconfig/ssh. On an older pc, I also have Leap 15.4 installed. There the sync with grsync and "-e ssh" works just fine. But on that linux in the file /etc/sysconfig/ssh there is no special/additional setting or line existing, so could it be that we are at the wrong spot? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c7 --- Comment #7 from flint fire <firelink@bluewin.ch> --- please read point 4. in my very first post: "4. copy the exact same command (rsync -r -t -v --progress -e ssh <source> <dest>) into terminal and it asks for pw inside terminal and the sync works. " -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c9 --- Comment #9 from flint fire <firelink@bluewin.ch> --- as commands in the konsole: 1. SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass rsync -r -t -v --progress -e ssh <source> <dest> 2. SSH_ASKPASS=/usr/libexec/ssh/ksshaskpass rsync -r -t -v --progress -e ssh <source> <dest> 3. rsync -r -t -v --progress -e ssh <source> <dest> in the konsole it asks for the pw, after enter it syncs fine. All ok, no errors and no difference between 1.-3. There is no prompt from the kwallet window outside the konsole or so (what I don't expect), if you were looking for that? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c11 --- Comment #11 from flint fire <firelink@bluewin.ch> --- Getting interesting. Command: SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass rsync -r -t -v --progress -e ssh <source> <dest> brings up error: qt.qpa.plugin: Could not load the qt platform plugin "xcb" in "" even thought it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c13 --- Comment #13 from flint fire <firelink@bluewin.ch> --- (In reply to Fabian Vogt from comment #12)
That means you're calling it from a context which is not able to connect to the X server. Is this inside a sudo session or something? That won't work with kwallet.
As normal user, I start konsole and paste-in: in Leap 15.4: SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/usr/lib/ssh/ssh-askpass rsync -r -t -v --progress -e ssh <source> <dest> =>new popup window outside of konsole comes up and kwallet needs permission. After klick allow, sync starts and is ok. In Tumbleweed: SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass rsync -r -t -v --progress -e ssh <source> <dest> =>above described error message. No popup-window. No sync. Also same result as superuser in konsole. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c15 --- Comment #15 from flint fire <firelink@bluewin.ch> --- in konsole: kdialog --msgbox Hi =>new popup window outside of konsole comes up with "Hi" in it. Click ok. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c16 --- Comment #16 from flint fire <firelink@bluewin.ch> --- in konsole: SSH_ASKPASS_REQUIRE=force SSH_ASKPASS=/usr/libexec/ssh/ssh-askpass ssh <user>@192.168.1.110 =>new popup window outside of konsole comes up. Kwallet service > allow. ksshaskpass is asking for pw. Put in pw and ok (at the end permission gets denied because admin per ssh is on server not available. But [as described] sync per ssh is ok.) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1207402 http://bugzilla.opensuse.org/show_bug.cgi?id=1207402#c18 --- Comment #18 from flint fire <firelink@bluewin.ch> --- for completion: All these test were done with rsync --version 3.2.7 protocol version 31 -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com