Network Manager Not Saving OpenVPN Passwords
I'm using "nm-connection-editor" to import VPN profiles and then am entering in the VPN login information through that. However, each time I try to connect to a saved profile through "nmtui" it asks me for my password. Is there something in setup I've missed? Why isn't my password saved?
I have done some DuckDuckGo searching on this but I'm only seeing results pertaining to cli.
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- acropx
8 comments
Have you installed any credential/secret store like GNOME keyring so the data can be stored safely?
Nope! Great tip. Should I be looking at GNOME keyring specifically or is there any other recommended one that works well with Network Manager (I know NM is a GNOME product, but I'm still curious)
It's specially build for GNOME so it integrates smoothly with all GNOME based apps without the need to create additional configurations. You can check out GNOME keyring's wikipedia page for details, there is also a list of othe related apps like KWallet which is the equivalent for KDE based apps. GNOME keyring is the same like Apple Keychain on macOS and if you'd also like to have a GUI you can install GNOME Seahorse.
It will be possible to configure apps without GNOME keyring, but this includes some custom scripts that need to pass the actual data to the apps. Then you could use any password manager like pass, but I think the effort is not worth it and you'll likely get a more insecure setup as if you were using stable and proven apps like GNOME keyring that runs native and uses kernel features like PAM.
Be aware that connection a few times drops and you might get DNS leaks. Firewall can be set up to prevent this. Can't help you with your setup though, I've set mine up through Gnome applet, runs with no problem
Dude, save your password system-wide and it will not ask again.
Explain: in nm-connection-editor in password box should be a button where you can choose "Store for all users"
This definitely works, I was just hoping that I could get encrypted storage to work for single-user due to the environment the device is in.