caddyserver / caddyserver/certmagic
Data directory should be located in APPDATA on Windows
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 5.6k
- Forks
- 354
- Avg merge
- 9d 23h
- Merged PRs (30d)
- 3
Description
What would you like to have changed?
On Windows, certmagic stores its data in %USERPROFILE%/.local/share by default at the moment, which should be located in %APPDATA% as Windows' convention.
Why is this feature a useful, necessary, and/or important addition to this project?
Following the operating system's convention gives users better understanding of the directory's function and eliminates unnecessary directory paths.
What alternatives are there, or what are you doing in the meantime to work around the lack of this feature?
Certmagic is used by Hysteria, which is considering
provide an option in "acme" for customizing the certificate storage directory.
Please link to any relevant issues, pull requests, or other discussions.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source files or tests are named in the issue. Locate the code that chooses CertMagic's default data directory on Windows, compare it with the existing behavior on other platforms, and verify that the default uses APPDATA while non-Windows behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100