]> git.ipfire.org Git - thirdparty/strongswan.git/commit
nm: Fix password entry for private keys and allow saving it
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Apr 2020 17:09:15 +0000 (19:09 +0200)
committerTobias Brunner <tobias@strongswan.org>
Fri, 8 May 2020 16:11:41 +0000 (18:11 +0200)
commit532d5fc85d8c34c059b1eebcab825fa8a00e0300
tree582bae8c613598777de3af2803904d427e05c880
parent72b282cf202dbe5f4d6bf2e232fc917dd3efe9c9
nm: Fix password entry for private keys and allow saving it

On newer desktops the auth dialog is called with --external-ui-mode and
it seems that the password flag has to be set, otherwise the password is
not stored temporarily in the profile and passed to charon-nm (not sure
how this works exactly as need_secrets() is called multiple times even
after the password was already entered, only before doing so the last
time is the password available in that callback, but only if the flag
was set).  This now also allows storing the password for the private key
with the profile.

Fixes #3428.
src/frontends/gnome/properties/nm-strongswan.c