keyring location is not documented and differs between installations
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-keyring (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I found keyrings on different locations.
Sometime below ~/.gnome2/keyrings, sometimes below ~/.local/
The README.Debian is only mentioning: .gnome2/keyrings
The man page for gnome-keyring-
The problem for me is that I want to consolidates of the login.keyring between several installations.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: gnome-keyring 3.18.3-0ubuntu2
ProcVersionSign
Uname: Linux 4.10.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: amd64
Date: Tue Aug 1 17:32:26 2017
SourcePackage: gnome-keyring
UpgradeStatus: No upgrade log present (probably fresh install)
upstart.
The undocumented location is implemented in the file pkcs11/ gkm/gkm- util.c
gkm_util_ locate_ keyrings_ directory (void)
old_directory = g_build_filename (g_get_home_dir (), ".gnome2", "keyrings", NULL);
new_directory = g_build_filename (g_get_ user_data_ dir (), "keyrings", NULL);
{
[…]
/*
* If the new XDG directory doesn't exist, and the old one does,
* use the old one, otherwise create/use the new XDG location.
*/
[…]}