ylxdzsw / dssd

Dead Simple Secret Daemon
MIT License
10 stars 2 forks source link

Put data files into ~/.local/state #2

Closed sunng87 closed 1 year ago

sunng87 commented 1 year ago

~/.config is where configuration files stored, ~/.local/share/ matches what we designed to store.

ylxdzsw commented 1 year ago

Ok, can confirm that gnome-keyring stores the secrets in ~/.local/share/keyrings/. I agree that we should follow this.

sunng87 commented 1 year ago

I just realized there is new XGD directory called XDG_STATE_HOME designed to hold state and we'd better use that folder.

https://wiki.archlinux.org/title/XDG_Base_Directory

ylxdzsw commented 1 year ago

Sounds reasonable. I have change it to XDG_STATE_HOME in the last commit and released a new version. That's a breaking change but the alpha state of the project should be obvious so I think that fine.