Skip to content

Commit

Permalink
NM: Store password using the user keyring
Browse files Browse the repository at this point in the history
This prevents the password from being used by other users. I think it's good that this is off by default

See https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html#secrets-flags

and

GEANT/CAT#264
  • Loading branch information
jwijenbergh authored Apr 26, 2023
1 parent 010aee5 commit 5dfa412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/nm/nm.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func Install(n network.NonTLS) error {
"ca-cert": cert,
"anonymous-identity": n.AnonIdentity,
"password": n.Credentials.Password,
"password-flags": 0,
"password-flags": 1,
"altsubject-matches": sids,
}
if n.InnerAuth.EAP() && n.MethodType == method.TTLS {
Expand Down

0 comments on commit 5dfa412

Please sign in to comment.