XDG defines ~/.config, ~/.cache and other shell-agnostic locations for user configuration files. Some applications define their own locations for user secrets, like ~/.ssh and ~/.gpg.

Is there an XDG-defined location for user secrets? For example, ~/.secret?


I thought that the XDG spec intended that you store secrets using the secret-storage-spec.

The Secrets API allows client applications to store secrets securely using a service running in the user's login session.

This is where GNOME Keyring and others come into play, being the backend that manages the actual secrets.

GNOME Keyring


| improve this answer | |

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.