From: Raphael Geissert Date: Thu, 3 Nov 2016 16:00:21 +0000 (+0100) Subject: nm: Explicitly prevent the smartcard PIN from being stored X-Git-Tag: 5.5.3dr2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4b3f1454b4c44b1d23822c2c62e9a0160efab76;p=thirdparty%2Fstrongswan.git nm: Explicitly prevent the smartcard PIN from being stored The secret storage flag wasn't being saved when using smartcard authentication, resulting in the PIN being stored. Fixes #2166. --- diff --git a/src/frontends/gnome/properties/nm-strongswan.c b/src/frontends/gnome/properties/nm-strongswan.c index 8deaa8468a..e893c1de6e 100644 --- a/src/frontends/gnome/properties/nm-strongswan.c +++ b/src/frontends/gnome/properties/nm-strongswan.c @@ -509,6 +509,8 @@ update_connection (NMVpnEditor *iface, str = "agent"; break; case 2: + nm_setting_set_secret_flags (NM_SETTING (settings), "password", + NM_SETTING_SECRET_FLAG_NOT_SAVED, NULL); str = "smartcard"; break; case 3: