caddyserver / caddyserver/certmagic

Data directory should be located in APPDATA on Windows

Open
#186 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
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.

My issue in Hysteria repo

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.