Bug 401596 - Openconnect VPN with 2-factor Authentication Shows Only 1 Password Field
Summary: Openconnect VPN with 2-factor Authentication Shows Only 1 Password Field
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networks widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-01 03:21 UTC by darehanl
Modified: 2024-12-23 18:25 UTC (History)
1 user (show)

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


Attachments
Intial Dialog Shown (10.63 KB, image/png)
2018-12-01 03:21 UTC, darehanl
Details
Proper Dialog with both Password Fields Shown (14.11 KB, image/png)
2018-12-01 03:21 UTC, darehanl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description darehanl 2018-12-01 03:21:02 UTC
SUMMARY
We use DUO two-factor authentication through openconnect at my workspace. After connecting to the VPN host and clicking "connect" (the globe icon), I need to provide 2 different passwords. The first is the regular user password, the second is a one-time password by DUO.

However, I only see 1 password field initially. In version 5.14.3, I was able to see 2 fields just fine.

STEPS TO REPRODUCE
1. Connect to VPN Host
2. Attempt to input 2 passwords
3. 

OBSERVED RESULT
See only 1 password field

EXPECTED RESULT
See 2 password fields

WORKAROUND
If I try to switch the "GROUP" field to a different entry and then switch back, the dialog shows the proper 2 entry version. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux 4.19.4-arch1-1-ARCH
(available in About System)
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
networkmanager: 1.14.5dev+17+gba83251bb
openconnect: 1:7.08
NetworkManager-openconnect: 1.2.4
Comment 1 darehanl 2018-12-01 03:21:27 UTC
Created attachment 116596 [details]
Intial Dialog Shown
Comment 2 darehanl 2018-12-01 03:21:53 UTC
Created attachment 116597 [details]
Proper Dialog with both Password Fields Shown
Comment 3 Jan Grulich 2018-12-01 12:35:03 UTC
Does it work when you downgrade plasma-nm to 5.14.3? I believe this is the same or similar problem as bug 401554.
Comment 4 Jan Grulich 2018-12-03 13:46:57 UTC
Can you please try patch from https://bugs.kde.org/show_bug.cgi?id=401554#c8?
Comment 5 Jan Grulich 2018-12-03 13:58:33 UTC
Ignore the proposed patch, I reverted the change which broke it.
Comment 6 darehanl 2018-12-04 01:05:04 UTC
(In reply to Jan Grulich from comment #3)
> Does it work when you downgrade plasma-nm to 5.14.3? I believe this is the
> same or similar problem as bug 401554.

Sorry for the delay. It works when I downgrade to 5.14.3.
Comment 7 Ben Cooksley 2024-12-23 18:25:49 UTC
Bulk transfer as requested in T17796