2

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?

slm
  • 363,520
  • 117
  • 767
  • 871
lofidevops
  • 2,967
  • 6
  • 39
  • 58

1 Answers1

2

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

 ss1

slm
  • 363,520
  • 117
  • 767
  • 871