Register a new secret agent #73
Answered
by
igo95862
benjamin-grzimek
asked this question in
Q&A
|
Hi, |
Answered by
igo95862
May 12, 2025
Replies: 1 comment 4 replies
|
Hello @benjamin-grzimek This probably involves the https://www.networkmanager.dev/docs/api/latest/gdbus-org.freedesktop.NetworkManager.SecretAgent.html From the documentation it seems like you have to create your own secret agent object and then export it. I can look in to it more in the future. |
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After reading NetworkManager documentation I realized that the agent is not required to obtain any D-Bus names.
So I fixed your code and added example of overriding the agent methods: