https://bugs.kde.org/show_bug.cgi?id=424678

--- Comment #3 from Jan Grulich <jgrul...@redhat.com> ---
First of all I think this flag needs to be added to networkmanager-qt
framework, which is a library we use for communication with NetworkManager. 

We miss implementation of
https://people.freedesktop.org/~lkundrak/nm-docs/gdbus-org.freedesktop.NetworkManager.AgentManager.html#gdbus-method-org-freedesktop-NetworkManager-AgentManager.RegisterWithCapabilities

This will allow you to pass the flag you need.


Then the second part will need to be done in plasma-nm/kded/secretagent.cpp,
where we would need to pass hints to the PasswordDialog and from there to VPN
plugin and handle the hint from there.

Some links: 
Here you need to add capabilities flag: 
https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/secretagent.h

Here you need to add the missing registration method:
https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/secretagent_p.h
https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/secretagent.cpp

Plasma-nm part:
https://invent.kde.org/plasma/plasma-nm/-/blob/master/kded/secretagent.cpp
https://invent.kde.org/plasma/plasma-nm/-/blob/master/kded/passworddialog.cpp

Plasma-nm generic VPN plugin implementation where you need to add a way to pass
hints:
https://invent.kde.org/plasma/plasma-nm/-/blob/master/libs/editor/vpnuiplugin.h

And last but not least particular VPN implementations:
https://invent.kde.org/plasma/plasma-nm/-/tree/master/vpn

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to