Bug 338080 - Failed to input verification code if pam-google-authenticator is setuped
Summary: Failed to input verification code if pam-google-authenticator is setuped
Status: REPORTED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Dario Freddi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-06 22:07 UTC by V字龍(Vdragon)
Modified: 2019-09-23 17:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot describes this issue. (83.26 KB, image/png)
2014-08-06 22:07 UTC, V字龍(Vdragon)
Details
authentication required (80.59 KB, image/png)
2019-09-23 17:27 UTC, skaumo
Details
Requesting verification code before password (74.60 KB, image/png)
2019-09-23 17:33 UTC, skaumo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description V字龍(Vdragon) 2014-08-06 22:07:37 UTC
Created attachment 88139 [details]
Screenshot describes this issue.

Issue reproduce steps
-------------------------------
1. Install and properly setup to use pam-google-authenticator package
2. Try to authenticate yourself using PolicyKit1-KDE

Expected behavior
-------------------------------
User successfully authenticated after input account password, then the TOTP generated by Google Authenticator

Abnormal behavior
--------------------------------
The "Verification code:" textbox appeared non-modifyable thus the authentication process can't complete.(as the attached screenshot shown)

Reporter's environment
--------------------------------
* Ubuntu 14.04LTS using kubuntu-ppa/backports PPA
* polkit-kde-1 package version: 0.99.1-1
Comment 1 V字龍(Vdragon) 2014-08-06 22:36:33 UTC
Downstream bug report:
https://bugs.launchpad.net/ubuntu/+source/polkit-kde-1/+bug/1353704
Comment 2 Andrew Crouthamel 2018-11-12 02:46:42 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-21 04:32:48 UTC
Dear Bug Submitter,

This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand.

Thank you for helping us make KDE software even better for everyone!
Comment 4 skaumo 2019-09-23 17:26:14 UTC
I confirm this still happens, exactly as per original description
Comment 5 skaumo 2019-09-23 17:27:39 UTC
Created attachment 122823 [details]
authentication required

Screenshot: requesting root access to change printer settings, where the root user has google authenticator configured in PAM
Comment 6 skaumo 2019-09-23 17:33:36 UTC
Created attachment 122824 [details]
Requesting verification code before password

Verification code is being requested first, as when logging via terminal.

Please remember the TOTP verification code can be made sufficient&optional via PAM.
If that's the case, but the user wishes to login normally, the other authentication methods should follow.

If the verification code is entered, it should let the user in.
If the verification code is skipped or entered incorrectly, it should ask for a password, but as per screenshots, it's disabled, non editable.