33

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

48

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

3
  • 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
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 at 14:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.