[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2021-06-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=376318

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #20 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2021-05-22 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #19 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2021-05-08 Thread postix
https://bugs.kde.org/show_bug.cgi?id=376318

postix  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||pos...@posteo.eu

--- Comment #18 from postix  ---
Christian, can you still reproduce it?

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-22 Thread Fuchs
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #17 from Fuchs  ---
I'd say the main problem here is that it does not only break for special use
cases, but for some people (e.g. me) for the very standard usecase of ssh. 

So it's completely unusable for me right now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-21 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #16 from Christoph Feck  ---
Well, we had developers looking at the patches that broke your use case, so I
guess the chances are high that someone understands your position and accepts a
patch to restore that.

In any case, if you add it to
https://phabricator.kde.org/differential/diff/create/ please also add the
Differential link here.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-21 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #15 from Moritz Bunkus  ---
I get that, believe me. However, ksshaskpass is a very convenient tool for
storing & retrieving passwords securely without having to write a whole script
around dbus calls. Excellent for one-liner use such as the use cases I've
listed before.

One solution I can see is to simply introduce another command line parameter
that specifies the key to store/retrieve. If that option is given all the
prompt parsing would be skipped.

If I wrote such a patch, would there be a non-trivial chance it'd get looked at
and (assuming it's fine) applied? Or is there not being a maintainer basically
a guarantee such a patch would not get looked at?

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-21 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #14 from Christoph Feck  ---
I do not know if we have a maintainer for ksshaskpass, it looks like someone
else (i.e. not the developer) imported the code.

Reading the commit log of 9dbabcb38862c1590503169be3ae7806e6673dba I understand
it was intended for ssh, not for custom uses. The name suggests the same.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-06 Thread Fuchs
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #13 from Fuchs  ---
(In reply to Moritz Bunkus from comment #12)
>  [...] 
> 
> In each case I simply execute ksshaskpass with a custom prompt, e.g.
> "ksshaskpass 'IMAP password'". I've modified my scripts and configurations
> to adhere to ksshaskpass' new expectations; e.g. "ksshaskpass 'Enter
> passphrase for IMAP password: '", and that works for me. However, I'd rather
> this wouldn't be necessary,

Also this sounds like something that is going horribly wrong as soon as
localization comes into play, which might explain why it is broken here. 

Can that commit please either be fixed properly or reverted? 

Thank you very much for your work in bisecting this :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-06 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #12 from Moritz Bunkus  ---
Sorry for spamming, but I think I should explain my use case here. I'm using
ksshaskpass not just with ssh-add via SSH_ASKPASS, but also for other purposes,
including:

* letting mutt retrieve the password to my IMAP server login,
* retrieving a password for the OpenConnect VPN client from the wallet,
* automatically mounting encrypted file systems with encfs and its support for
external password programs

In each case I simply execute ksshaskpass with a custom prompt, e.g.
"ksshaskpass 'IMAP password'". I've modified my scripts and configurations to
adhere to ksshaskpass' new expectations; e.g. "ksshaskpass 'Enter passphrase
for IMAP password: '", and that works for me. However, I'd rather this wouldn't
be necessary, and that ksshaskpass would simply fall back to using the whole
prompt as the storage key if the prompt wasn't recognized as one from ssh-add
instead of refusing to work. Otherwise all use cases apart from ssh-add will
run into this problem because they're not aware that the prompt must follow
pattern (including the trailing colon and space — the RegExes are that
strict!).

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-06 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #11 from Moritz Bunkus  ---
More information. Running the compiled ksshaskpass from the command line shows
the following debug information:

> ksshaskpass: Unable to extract keyFile from phrase "wuff"

"wuff" is the sole argument I've executed ksshaskpass with, as in:

> ./ksshaskpass wuff

My wallet does contain a password entry named "wuff", and ksshaskpass prior to
commit 9dbabcb38862c1590503169be3ae7806e6673dba simply outputs that password.

This seems to me to be a case of wrong expectation of what the prompt contains…
As soon as I call ksshaskpass with something that
9dbabcb38862c1590503169be3ae7806e6673dba expects it works, e.g.

> ./ksshaskpass "Enter passphrase for wuff: "

This works as expected.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-04-06 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #10 from Moritz Bunkus  ---
I've just bisected the problem. The first bad commit is
9dbabcb38862c1590503169be3ae7806e6673dba.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-03-28 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=376318

andreas.sturmlech...@gmail.com changed:

   What|Removed |Added

 CC||andreas.sturmlechner@gmail.
   ||com

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-03-19 Thread Fuchs
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #9 from Fuchs  ---
(In reply to Moritz Bunkus from comment #8)

> Still completely useless.

And still completeley broken and useless in 5.9.3, I think I'll ask gentoo to
mask it as it is apparently broken.

And no, it doesn't give any useful error messages. 

Pretty sure it is due to the "fix" with spaces in the entries, but I don't see
why it would break.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-24 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #8 from Moritz Bunkus  ---
I've tried the following with 5.9.2:

[0 mbunkus@chai-latte ~/tmp/askpass] export
QT_LOGGING_RULES='ksshaskpass.*=true'
[0 mbunkus@chai-latte ~/tmp/askpass] ksshaskpass wuff   
ksshaskpass: Unable to extract keyFile from phrase "wuff"
Pass a valid window to KWallet::Wallet::openWallet().
miau%  
   
 [0
mbunkus@chai-latte ~/tmp/askpass]

At the same time I had "journalctl -f" open as root. No message was written to
the journal either. A regular syslog daemon is not running; I'm solely using
systemd's journal for that.

Still completely useless.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-23 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #7 from Christoph Feck  ---
Your distribution might also have configured Qt to redirect any logging to the
syslog daemon instead of to the Konsole. In that case, please ask in a forum of
your distribution how to search for ksshaskpass messages in the system wide log
files.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-23 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #6 from Christoph Feck  ---
ksshaskpass uses the new Qt logging. To get the debug output, please add
ksshaskpass.*=true to your QT_LOGGING_RULES as described at
http://doc.qt.io/qt-5/qloggingcategory.html

Either put it into your qtlogging.ini file or set the QT_LOGGING_RULES
environment variable.

It should then display the failing prompt it needs to recognize.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-21 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #5 from Moritz Bunkus  ---
I can confirm that for me 5.9.2 doesn't save anything at all. Reverting to
5.9.0 fixes the problem. ksshaskpass itself doesn't output anything useful.
Neither does the wallet subsystem, even if I turn on "285 kdeui (wallet)" and
"kwalletd" in kdebugdialog.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-21 Thread Moritz Bunkus
https://bugs.kde.org/show_bug.cgi?id=376318

Moritz Bunkus  changed:

   What|Removed |Added

 CC||mor...@bunkus.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-19 Thread Fuchs
https://bugs.kde.org/show_bug.cgi?id=376318

Fuchs  changed:

   What|Removed |Added

 Status|RESOLVED|UNCONFIRMED
 Resolution|DUPLICATE   |---

--- Comment #4 from Fuchs  ---
Hm, no, not fixed, 

unfortunately ksshaskpass gives zero usable debug output (is there a switch I
don't know?), it just re-asks for the passphrase even though the keys have a
valid entry in kwalletmanager. 

Removing all of them and re-adding them didn't help either. 

Fuchs

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-18 Thread Fuchs
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #3 from Fuchs  ---
Hi, seems to work so far with 5.9.3, otherwise I shall re-open. 

Kind regards, 

Christian

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-17 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

--- Comment #2 from Christoph Feck  ---
We could not verify if the issue from bug 376228 is indeed a duplicate.

If your issue is not fixed with Plasma 5.9.3, please add a comment, ideally
with the debug output of the ksshaskpass program.

-- 
You are receiving this mail because:
You are watching all bug changes.

[ksshaskpass] [Bug 376318] Regression: passwords no longer remembered, asks every time I open a shell

2017-02-10 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=376318

Christoph Feck  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|UNCONFIRMED |RESOLVED

--- Comment #1 from Christoph Feck  ---
This is a regression in 5.9.1. There is a patch posted to bug 376228.

*** This bug has been marked as a duplicate of bug 376228 ***

-- 
You are receiving this mail because:
You are watching all bug changes.