Bug 508342 - Cannot elevate using polkit-kde by password when a fingerprint has been configured
Summary: Cannot elevate using polkit-kde by password when a fingerprint has been confi...
Status: REPORTED
Alias: None
Product: policykit-kde-agent-1
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.4.4
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Unassigned bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-08-16 14:12 UTC by livechatter
Modified: 2025-08-23 13:07 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Screenshot-1 (49.45 KB, image/png)
2025-08-16 14:12 UTC, livechatter
Details
Screenshot-2 (66.17 KB, image/png)
2025-08-16 14:13 UTC, livechatter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description livechatter 2025-08-16 14:12:23 UTC
SUMMARY
When trying to elevate using a GUI application I get asked to authenticate using either my registered fingerprint or the user account password by dialog.
Using my finger gives no problem but typing my password makes the authentication dialog "think" for about 20 seconds and then close. I say think because the dialog is not completely frozen; the password field becomes greyed out but you can still cancel and move the dialog box. See screenshot-1.

The "requesting" application seems to be complaining about the lack of reply from polkit/polkit-kde. Dolphin for example reports: "org.freedesktop.DBus.Error.NoReply" "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."

Clicking "cancel" on the dialog seems to send back a message, the requesting application notes that the request was denied. Example: dolphin will give the error message: "Access denied to ."


STEPS TO REPRODUCE
In dolphin:
1. Open dolphin in the home directory
2. Click View>Act as Administrator
3. In the "Authentication required" dialog, don´t authenticate by fingerprint but type a password (correct or wrong password give the same result)

OBSERVED RESULT
The password field greys out. After +-20 secs it closes and Dolphin shows the error "Unknown error" (see screenshot-2).
In the log of Dolphin following line is logged:
"org.freedesktop.DBus.Error.NoReply" "Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken."


EXPECTED RESULT
I am elevated using my account password even when a fingerprint is set up.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora KDE Plasma Desktop Edition 42 with Kernel 6.15.9-201.fc42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Polkit version: 126-3.fc42.1
Polkit-kde version: 6.4.4-1.fc42
polkit-qt6-1 version: 0.200.0-3.fc42

ADDITIONAL INFORMATION
Elevating in the GUI with fingerprint works fine.
Elevating (with sudo) with fingerprint or password works fine in Konsole (after pressing Ctrl+C to cancel fingerprint auth)
Reported to Fedora in https://bugzilla.redhat.com/show_bug.cgi?id=2335477
Comment 1 livechatter 2025-08-16 14:12:49 UTC
Created attachment 184144 [details]
Screenshot-1
Comment 2 livechatter 2025-08-16 14:13:10 UTC
Created attachment 184145 [details]
Screenshot-2
Comment 3 Nate Graham 2025-08-18 20:28:31 UTC
Looks quite similar to Bug 494168, though in there, the password is eventually accepted.
Comment 4 livechatter 2025-08-23 13:07:45 UTC
(In reply to Nate Graham from comment #3)
> Looks quite similar to Bug 494168, though in there, the password is
> eventually accepted.

Checked again just now. The password does not get accepted eventually. The attempt ends with a timeout (seen in the aforementioned log entry) and the auth dialog closing.