Skip to content

Store Dat config data, secret keys, etc. in default platform folders #1093

Description

@RangerMauve

As mentioned on IRC (thanks @da2x ), it'd be good for Dat to avoid putting folders into the home directory and to instead follow the standards used by other applications like XDG.

We could make use of the platform-folders module in order to move the dat secret keys and other relevant storage somewhere that makes sense for the user's OS.

Some considerations:

  • How will we migrate the data?
  • What names should we use across platforms?
  • Is this worth the breaking changes?

Also related to #1063

This will probably involve a change to dat-storage. Maybe we can have it search for ~/.dat as a fallback and create new keys in the appropriate dir.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions