NetworkManager agent for pass
Allows NetworkManager connection secrets to be stored inside gpg-encrypted files
- WPA-PSK
- Pre-shared key
- WPA-EAP
- Client cert password
- Private key password
- Password
Prebuilt binaries are provided on each GH release
cargo build
Building may require libdbus
to be installed
- Copy the binary to
/usr/local/bin/
- Copy the systemd service (in the
systemd
folder in this repo) to/usr/local/lib/systemd/user/
- Enable and start the systemd service:
(or just find some way to run
systemctl --user enable --now pass-nm-agent
pass-nm-agent agent
at boot/login
Right now, the only ways to get a secret into pass-nm-agent
is to import it from a plaintext secret stored in NetworkManager or to add it manually.
To move any secrets that exist in plaintext in NetworkManager for a certain network, execute:
pass-nm-agent add $NETWORK_NAME