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 682575 - cannot store vpnc passwords in config file
cannot store vpnc passwords in config file
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: VPN: vpnc
0.9.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-08-24 01:04 UTC by Matthew Monaco
Modified: 2020-11-12 14:25 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Matthew Monaco 2012-08-24 01:04:59 UTC
networkmanager-vpnc is insisting on storing the xauth password and ipsec secret it my gnome keyring. I tried manually placing them in the conf file under /etc/NetworkManager/system-connections but they are ignored. Last I remembered (a year or so) this was possible.
Comment 1 Matthew Monaco 2012-08-24 15:57:15 UTC
For whatever reason, the vpnc plugin decided to store my Xauth password in the config file, and from this I was able to figure the rest out.

[vpn]
xauth-password-type=save
Xauth password-flags=0
ipsec-secret-type=save
IPSec secret-flags=0

[vpn-secrets]
Xauth password=XXX
IPSec secret=XXX

This is not obvious at all. If it's a connection that's available to all users, why does NM even try to use my personal keyring?
Comment 2 Dan Winship 2014-01-02 15:30:23 UTC
(In reply to comment #1)
> This is not obvious at all. If it's a connection that's available to all users,
> why does NM even try to use my personal keyring?

The expectation with connection types that have a username is that if it's "available to all users", that means that all users can use it, but each user will have their own username and password.

Anyway, this might be fixed now... Jirka, did your password-saving changes affect VPNs too?
Comment 3 André Klapper 2020-11-12 14:25:52 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).