35

I'm wondering where exactly Seahorse is storing the keyring data?

Most available information points to ~/.gnome2/keyrings/, however, this directory contains only two very small files (login.keyring, 105 bytes and user.keystore, 207 bytes) which are definitely not large enough to contain the over 20 keys stored in my login keyring. I'd like to include the actual keyring data in my backup, so where is it?

2 Answers 2

49

In Ubuntu 17.10, this is found under ~/.local/share/keyrings

4
  • 3
    verified also on recent Fedora
    – Simon B.
    Nov 12, 2018 at 10:03
  • 1
    Verified on recent Arch (Garuda Linux) as well May 9, 2021 at 13:16
  • verified on Ubuntu 20.04
    – danilo
    Sep 11, 2021 at 16:49
  • 1
    ~/.local/share/keyrings in Ubuntu 22.04 and Debian 11 (aka bullseye), ~/.gnome2/keyrings/ in Debian 10 (aka Buster).
    – Roux
    Dec 22, 2022 at 7:26
7

sigh ~/.gnome2/keyrings/ is the correct location after all, I was ssh'd to a different machine while checking and didn't notice... :-)

2
  • 5
    Just for others that come along - ~/.gnome2/keyrings/ was the old location for keyrings, this is now ~/.local/share/keyrings in newer versions of gnome-keyring, seahorse, etc
    – shalomb
    Sep 3, 2020 at 9:39
  • 1
    Do note that gnome doesn't seem to move this directory even in new versions, so my fully upgrade gnome3 system was still happily using the .gnome2 directory because that's what existed already. Apr 13, 2022 at 14:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .