F45 Change Proposal: oo7 Secrets Service Provider (system-wide)

oo7 Secrets Service Provider

This is a proposed Change for Fedora Linux.
This document represents a proposed Change. As part of the Changes process, proposals are publicly announced in order to receive community feedback. This proposal will only be implemented if approved by the Fedora Engineering Steering Committee.

Wiki
Announced

:link: Summary

Switch the default Secrets Service provider for Fedora desktops from KWallet and GNOME Keyring to oo7.

:link: Owner

:link: Current status

  • Targeted release: Fedora Linux 45
  • Last updated: 2026-06-30
  • [ Announced]
  • [ Discussion thread]
  • FESCo issue:
  • Tracker bug:
  • Release notes tracker:

:link: Detailed Description

A new universal secrets storage system has been developed in the form of oo7 that replaces KWallet’s backend and GNOME Keyring. Package up oo7-daemon and associated support code and change the Fedora default secrets storage backend to it across all desktops.

:link: Feedback

:link: Benefit to Fedora

The idea with this new secrets storage system is to support a new model for credentials where scoped authorization is possible for applications and services. Additionally, it opens the door for mediating access to FIDO2-based authentication mechanisms. This lends itself well to enabling limited trust to secrets for sandboxed applications, among other things. KDE Plasma, COSMIC, and GNOME (among others) are all converging on this and so enabling this allows Fedora to remain at the forefront of supporting desktop technologies.

:link: Scope

  • Proposal owners:

    • Package oo7-daemon, PAM module, and other support code
    • Add oo7 PAM module to relevant PAM configs where gnome-keyring and kwallet PAM modules are listed
    • Adjust comps to replace gnome-keyring with oo7-daemon
    • Adjust dependencies in desktops to use oo7 instead of gnome-keyring
  • Other developers: N/A (not needed for this Change)

  • Release engineering: #13405

  • Policies and guidelines: N/A (not needed for this Change)

  • Trademark approval: N/A (not needed for this Change)

  • Alignment with the Fedora Strategy: N/A (not needed for this Change)

:link: Upgrade/compatibility impact

The oo7 service will automatically migrate existing data from GNOME Keyring and KWallet, so no user interaction is required to handle the transition.

:link: How To Test

Once oo7-daemon and related code are packaged and updated configuration lands in Rawhide, users can test this simply by upgrading and using things that leverage the secrets service like normal.

:link: User Experience

This is expected to be fairly transparent to the user.

:link: Dependencies

This will involve updating the PAM configuration files for the desktops and login managers used across Fedora deliverables.

:link: Contingency Plan

  • Contingency mechanism: Revert swap to oo7 and defer to the next release
  • Contingency deadline: Beta freeze
  • Blocks release? Yes

:link: Documentation

More information about oo7 is present in the upstream project documentation.

:link: Release Notes

Fedora Linux now uses the oo7 as the default secrets service provider, replacing older solutions like GNOME Keyring. This brings enhanced security to secrets management, particularly for sandboxed applications, and enables FIDO2 authentication secrets.

Last edited by @amoloney 2026-06-30T17:27:41Z

Last edited by @amoloney 2026-06-30T17:27:41Z

1 Like

How do you feel about the proposal as written?

  • Strongly in favor
  • In favor, with reservations
  • Neutral
  • Opposed, but could be convinced
  • Strongly opposed
0 voters

If you are in favor but have reservations, or are opposed but something could change your mind, please explain in a reply.

We want everyone to be heard, but many posts repeating the same thing actually makes that harder. If you have something new to say, please say it. If, instead, you find someone has already covered what you’d like to express, please simply give that post a :heart: instead of reiterating. You can even do this by email, by replying with the heart emoji or just “+1”. This will make long topics easier to follow.

Please note that this is an advisory “straw poll” meant to gauge sentiment. It isn’t a vote or a scientific survey. See About the Change Proposals category for more about the Change Process and moderation policy.

This change proposal has now been submitted to FESCo with ticket #3640 for voting.

To find out more, please visit our Changes Policy documentation.

Hi there!

Note that since the proposal, oo7 has became the default keyring provider in GNOME OS nightly and most of the bugs were squashed. At least the ones I was made aware of, so hopefully the migration would be less painful for Fedora.

Cheers

3 Likes

I upgraded a Silverblue installation from fedora 44 to fedora 45 beta, and as far as I can tell, the migration from gnome keyring to oo7 didn’t work.

I found this topic, after I already opened one to describe my issue: Issues with credentials on Fedora 45 beta

I did some more tests.

  1. Installed a fresh fedora silverblue 44 VM
  2. Updated the system to the latest 44 deployment available
  3. Installed Vivaldi and enabled desktop sharing, to populate some secrets in gnome keyring.
  4. Rebooted
  5. Rebased with rpm-ostree rebase fedora:fedora/45/x86_64/silverblue
  6. Rebooted

And the new oo7-daemon service is not enabled for the user on reboot, leading :

$ systemctl status --user oo7-daemon
○ oo7-daemon.service - Secret service (oo7 implementation)
     Loaded: loaded (/usr/lib/systemd/user/oo7-daemon.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/dbus-.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)

And of course Vivaldi is giving an error on startup. And the desktop sharing username and password are empty.

When looking at the oo7-daemon rpm, enabling the service for the users is done inside the script section:

$ rpm -q --scripts oo7-daemon
postinstall scriptlet (using /bin/sh):

 
if [ $1 -eq 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Initial installation 
    /usr/lib/systemd/systemd-update-helper install-user-units oo7-daemon.service || : 
fi
preuninstall scriptlet (using /bin/sh):

 
if [ $1 -eq 0 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Package removal, not upgrade 
    /usr/lib/systemd/systemd-update-helper remove-user-units oo7-daemon.service || : 
fi
postuninstall scriptlet (using /bin/sh):

 
if [ $1 -ge 1 ] && [ -x "/usr/lib/systemd/systemd-update-helper" ]; then 
    # Package upgrade, not uninstall 
    /usr/lib/systemd/systemd-update-helper mark-restart-user-units oo7-daemon.service || : 
fi

But I’m not sure this is correctly executed on a Silverblue installation/upgrade.

So as far as I can tell, this is a reproducible issue with the oo7-daemon upgrade from Silverblue 44 to Silverblue 45.

Hello!

I’m a bit afraid that such critical system component contains “AI assisted” code, for example: Port to zgvariant (#552) · linux-credentials/oo7@efaddec · GitHub

Are there any related guidelines from Fedora Team on that matter?

2 Likes

Here you go: https://docs.fedoraproject.org/en-US/council/policy/ai-contribution-policy/

Thanks for pointer. Unfortunately I don’t know how to enforce this clause:

The contributor is always the author and is fully accountable for the entirety of these contributions.

I’m concerned that this project contains 7 commits containing Co-Authored-By: Claude (one example in my previous comment).

Additionally there are 6 (six) commits marked as Generated with [Claude Code](https://claude.ai/code, for example: security: Prevent information leakage in Debug output · linux-credentials/oo7@639a52f · GitHub

I see 2 issues with that:

  1. How to guarantee integrity and security of all those contributions? Keyring is extremely sensitive component - any error may leak user’s private keys and/or passwords with serious consequences
  2. How to guarantee that all those 7+6 (13) commits do not contain code published under conflicting and/or viral licenses (GPL 2 or 3, or even AGPL) instead of project’s official MIT license?

I suggest to NOT replace existing keyring implementations (it took many years to harden them and make them reasonably secure) with oo7 until these risks are understood and mitigated.

Sidenote: Please understand that we are not talking about ordinary user application (like Calculator or some Notepad clone), but security-critical component - that’s why I brought these concerns here.

4 Likes

The policy linked above, Making sure you're not a bot!, covers AI-assisted contributions to Fedora, things like spec files and downstream patches. It does not govern how software packaged in Fedora can use AI/LLMs upstream.

I’m not saying that we shouldn’t be concerned about the nature and rigor of upstream development practices in security-critical system components, only that Fedora’s AI policy isn’t directed at this situation.

2 Likes

I think I can speak for all three owners of this Change when I say that we’re aware but not … enthused about usage of “AI” in this project.

But as far as I know, we don’t have much of a choice here: GNOME OS has already replaced gnome-keyring with oo7, and gnome-keyring appears to be on its way to unmaintained / obsolete status. Unless somebody steps up to maintain gnome-keyring, we’d have to move to an actively maintained SecretService provider (i.e. oo7) at some point anyway.

And gnome-keyring isn’t exactly in the best of shape to begin with. :frowning:

1 Like

Apologies in advance if this looks out of topic, but I think solving thie below might help alleviate future mailstorms :slight_smile:

On latest Rawhide Workstation install, we currently get the following when oo7-daemon starts up:

oo7-daemon[2895]: 2026-10-14T01:11:50.222728Z WARN oo7_daemon::capability: No process capabilities; relying on RLIMIT_MEMLOCK to lock memory
oo7-daemon[2895]: 2026-10-14T01:11:50.222741Z WARN oo7_daemon::capability: Failed to lock memory pages (secrets may be swapped to disk): Cannot allocate memory (os error 12)

A setpcap cap_ipc_lock on /usr/libexec/oo7-daemon gets rid of the first one, but the second remains.

Setting unlimited limits, I can see (on my laptop, 64GB RAM) oo7-daemon claiming around 483 MiB locked memory, which upon reboot then gets properly allocated:

oo7-daemon[2705]: 2026-10-15T02:52:11.780588Z INFO oo7_daemon::capability: Successfully locked all memory pages

I am unsure as to how to properly deal with this – obviously the setpcap and the unlimited memlock allocation are no-goers – hence this post.

Comments appreciated.