KMSCNG: Please make the path to config.yaml configurable

Open Beginner friendly
#68 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
68/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp
Domain
security

Research direction

Read the configuration section of kmscng/docs/user_guide.md, then search the C++ source for the hardcoded C:\Windows\KMSCNG\config.yaml path. Add the requested environment-variable override while preserving the existing default, and verify the configuration-loading behavior with the relevant tests or a local KMSCNG run.

Written by the indexing model from the issue text.

Description

changes pending feature request

I have an application which tries to deal with the public key versions. I can load the correct version of a key to use dynamically. However, this application is not running as Administrator, so it cannot automatically create or edit files in C:\Windows\KMSCNG. Could you add an environment variable to allow overriding the hardcoded path to C:\Windows\KMSCNG\config.yaml described at https://github.com/GoogleCloudPlatform/kms-integrations/blob/master/kmscng/docs/user_guide.md#configuration ?

Thanks.

Dominant language
C++
Stars
47
Forks
24
PR merge metrics
No merged PRs in 30d

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.

More from GoogleCloudPlatform/kms-integrations

All issues in GoogleCloudPlatform/kms-integrations

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.