Missing gnome-keyring / kwallet (secret service) interface

Bug #1653769 reported by Kyle Fazzari
46
This bug affects 8 people
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Medium
Jamie Strandboge

Bug Description

As discussed in the mailing list[1], snapd is missing an interface that allows snaps on classic Ubuntu to communicate with the session keyring.

[1]: https://lists.ubuntu.com/archives/snapcraft/2017-January/002227.html

Kyle Fazzari (kyrofa)
tags: added: snapd-interface
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

For whoever implements this, this should (likely) be named 'gnome-keyring' and implemented as an implicit classic slot. Further discussion regarding the implementation can be discussed in the PR.

Changed in snappy:
status: New → Triaged
Changed in snappy:
importance: Undecided → Medium
Kyle Fazzari (kyrofa)
affects: snappy → snapd
Tyler Hicks (tyhicks)
summary: - Missing keyring interface
+ Missing gnome-keyring interface
Revision history for this message
Kyle Fazzari (kyrofa) wrote : Re: Missing gnome-keyring interface

Perhaps the same interface could be used for KWallet (I assume it works similarly?). If so, we might want to use a more generic name.

Revision history for this message
Marco Trevisan (Treviño) (3v1n0) wrote :

Marked lp:1663220 as duplicated of this bug.

FYI, Secret service APIs definition is at https://standards.freedesktop.org/secret-service/

tags: added: isv
Revision history for this message
Martin Wimpress  (flexiondotorg) wrote :

I've run into help an ISV to snap their application:

Gkr-Message: secret service operation failed: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.680" (uid=1000 pid=19545 comm="/snap/xxxxxxxxxxxxx-test/x14/usr/share/xxxxxxxxxxx") interface="org.freedesktop.Secret.Service" member="SearchItems" error name="(unset)" requested_reply="0" destination="org.freedesktop.secrets" (uid=1000 pid=18007 comm="/usr/bin/gnome-keyring-daemon --daemonize --login ")

Revision history for this message
Work Time Assistant (worktimeassistant) wrote :

I run into this when creating an electron application that uses the keytar module.

Same error as: https://bugs.launchpad.net/snapd/+bug/1653769/comments/4

summary: - Missing gnome-keyring interface
+ Missing gnome-keyring / kwallet (secret service) interface
Revision history for this message
Michael Vogt (mvo) wrote :
Changed in snapd:
status: Triaged → In Progress
Changed in snapd:
assignee: nobody → Jamie Strandboge (jdstrand)
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

FYI, I'm taking over the work from Michael and will be proposing a new PR.

description: updated
Revision history for this message
Jamie Strandboge (jdstrand) wrote :
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

This is fixed in the upcoming 2.27.

Changed in snapd:
status: In Progress → Fix Released
Revision history for this message
Work Time Assistant (worktimeassistant) wrote :

Thank you!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.