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?


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

  • 3
    verified also on recent Fedora
    – Simon B.
    Nov 12 '18 at 10:03
  • Verified on recent Arch (Garuda Linux) as well May 9 at 13:16
  • verified on Ubuntu 20.04
    – danilo
    Sep 11 at 16:49

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

  • 4
    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 '20 at 9:39

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.