fix(network): register secret agent at NetworkManager's expected object path

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
LKramer 2026-06-25 13:05:36 +01:00 • committed by GitHub
parent 2c95057716
commit 1473e1f008
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 1 deletions

View file

@ -405,6 +405,7 @@ fn secret_agent_task(identifier: String) -> Task<NmAgentEvent> {
cosmic::Task::stream(async_fn_stream::fn_stream(move |emitter| async move {
let registration = SecretAgent::builder()
.with_identifier(identifier)
.with_object_path("/org/freedesktop/NetworkManager/SecretAgent")
.with_capabilities(SecretAgentCapabilities::VPN_HINTS)
.register()
.await;