Looking into this further:

Snapd has an interface `password_manager_service` that covers
org.freedesktop.Secret.Service

```
~/source/snapd/interfaces$ grep -r "org.freedesktop.Secret"

builtin/password_manager_service_test.go:       
c.Check(apparmorSpec.SnippetForTag("snap.other.app"), testutil.Contains, 
"interface=org.freedesktop.Secret")
builtin/password_manager_service.go:    
interface=org.freedesktop.Secret.{Collection,Item,Prompt,Service,Session}

```

The version of firefox in my older daily image (148.0-1) does not use
this interface. However, the latest version (148.0.2-1) does.

```
snap connections firefox | grep password
password-manager-service  firefox:password-manager-service  
:password-manager-service       manual

```

After connecting this manually I repeated my test above:

```
snap run --shell firefox
ernest@ernest-pc:/home/ernest/source/snapd/interfaces$ gdbus call \
--session \
--dest org.freedesktop.secrets \
--object-path /org/freedesktop/secrets \
--method org.freedesktop.Secret.Service.ReadAlias \
default
(objectpath '/org/freedesktop/secrets/collection/login',)

```

So please update firefox, manually connect firefox:password-manager-
service and let me know if that helps.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2143992

Title:
  AppArmor denies audio and secret service access for snaps (Ubuntu
  26.04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2143992/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to