After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 734161 - Prompt for VPN secrets, as GUI client does
Prompt for VPN secrets, as GUI client does
Status: RESOLVED DUPLICATE of bug 705998
Product: NetworkManager
Classification: Platform
Component: nmcli
0.9.x
Other Linux
: Normal enhancement
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2014-08-02 05:11 UTC by Adam Williamson
Modified: 2014-08-02 16:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Adam Williamson 2014-08-02 05:11:15 UTC
I use a VPN with 2FA for the password. This means I can't store the authentication 'secret' - it has to be entered interactively at each VPN connect.

Hence my VPN configuration is intentionally 'incomplete', with the username specified but the password not. GUI clients like nm-applet and GNOME handle this fine, prompting for the password on each connect. nmcli, however, won't let me go to the ball:

[root@adam clients (master)]# nmcli con up "Red Hat OpenVPN"
Error: Connection activation failed: no valid VPN secrets.

awww.

It'd be great if I could get this going, as then I could use NM's dnsmasq split-DNS support rather than the hacky, semi-broken dnsmasq/openvpn config I use atm...

this is valid with NetworkManager in current F21 (and F19 and F20), NetworkManager-0.9.10.0-2.git20140704.fc21.x86_64 .
Comment 1 Dan Winship 2014-08-02 13:29:48 UTC

*** This bug has been marked as a duplicate of bug 705998 ***
Comment 2 Adam Williamson 2014-08-02 16:41:33 UTC
I painstakingly searched the list of open bugs with "secrets" in the search field before filing...sigh.