Bug 1815747 - RFE Password input does not visualize active focus neither shows stars for any given input
Summary: RFE Password input does not visualize active focus neither shows stars for an...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pvc
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1800888
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-21 10:27 UTC by Raphael Groner
Modified: 2020-06-23 01:46 UTC (History)
2 users (show)

Fixed In Version: python-pvc-0.3.0-9.fc32 python-pvc-0.3.0-9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-16 01:28:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github dnaeon pvc issues 26 0 None open Password input 2020-06-17 17:34:25 UTC

Description Raphael Groner 2020-03-21 10:27:37 UTC
Description of problem:
python-pvc uses dialog to visualize a window to enter some credentials. When the user tries to navigate on the password field, there's no visible cursor neither any feedback for reveived input.
I'm delegating this to the dialog component because upstream refuses to implement its own component and we don't know if there's a general intention to hide any password input.

Version-Release number of selected component (if applicable):
-

How reproducible:
yes

Steps to Reproduce:
1. dnf install python-pvc
2. /usr/bin/pvc-tui
3. hit OK till the credentials are asked

Actual results:
password field seems disabled but it's not

Expected results:
visible focus navigation or at least any user feedback about password entering

Additional info:
Discussion with upstream: https://github.com/dnaeon/pvc/issues/26

Comment 1 Miroslav Lichvar 2020-03-23 15:18:40 UTC
Adding the dialog upstream maintainer to CC.

The dialog options used by pvc seem to be:
"--no-mouse" "--backtitle" "Python vSphere Client version 0.3.0" "--title" "Login Details" "--mixedform" "Enter IP address or DNS name of the VMware vSphere host you wish to connect to." "0" "0" "0" "Hostname" "1" "1" "" "1" "11" "60" "0" "0" "Username" "2" "1" "" "2" "11" "60" "0" "0" "Password" "3" "1" "" "3" "11" "60" "0" "1"

Comment 2 Raphael Groner 2020-03-23 17:50:26 UTC
Thanks. Obviously, we could skip "--no-mouse" for the package to generally improve usability.
Though, I've no idea about all those numbers in cmdline.

Comment 3 Thomas E. Dickey 2020-03-23 23:01:15 UTC
There's already a dialog option for this:

       --insecure
              Makes the password widget friendlier but less secure, by echoing
              asterisks for each character.

The password widget calls dlg_show_string, just like the form and mixedform widgets,
and that function handles the --insecure option.

Comment 4 Thomas E. Dickey 2020-03-23 23:02:36 UTC
Since dialog provides the necessary capability,
it's an issue with python-pvc
(whether to hardcode this option or make it optional).

Comment 5 Miroslav Lichvar 2020-03-24 08:01:00 UTC
Thanks. Reassigning to python-pvc.

Comment 6 Raphael Groner 2020-03-24 17:25:14 UTC
Thanks, too. I'm forwarding the available option to upstream.

Comment 7 Fedora Update System 2020-04-01 14:02:40 UTC
FEDORA-EPEL-2020-31a0760585 has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-31a0760585

Comment 8 Raphael Groner 2020-04-01 14:08:54 UTC
Ignore comment #7, done by accident.

Comment 9 Ben Cotton 2020-04-30 20:16:59 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 Ben Cotton 2020-05-26 18:34:20 UTC
Fedora 30 changed to end-of-life (EOL) status on 2020-05-26. Fedora 30 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 11 Fedora Update System 2020-06-06 18:28:50 UTC
FEDORA-2020-c638096782 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-c638096782

Comment 12 Fedora Update System 2020-06-06 18:28:51 UTC
FEDORA-EPEL-2020-35fb16f40b has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-35fb16f40b

Comment 13 Fedora Update System 2020-06-07 22:43:28 UTC
FEDORA-EPEL-2020-35fb16f40b has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-35fb16f40b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2020-06-08 01:47:31 UTC
FEDORA-2020-c638096782 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-c638096782`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-c638096782

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2020-06-16 01:28:50 UTC
python-pvc-0.3.0-9.fc32 has been pushed to the Fedora 32 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2020-06-23 01:46:30 UTC
FEDORA-EPEL-2020-35fb16f40b has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.