Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncrypt: open cert store in readonly mode #344

Merged
merged 2 commits into from
Sep 21, 2023

Conversation

kenjenkins
Copy link
Contributor

Summary

On Windows, trying to open the LocalMachine cert store may require administrator permissions for the default mode (read/write). However, if we include the CERT_STORE_READONLY_FLAG option this appears to allow opening the cert store without running as admin.

Add a Pomerium copyright line to the modified file, to serve as "prominent notice" that this file has been modified, per clause 4(b) of the Apache License 2.0 (on the recommendation of https://opensource.stackexchange.com/a/13150).

Related issues

Checklist

  • reference any related issues
  • updated docs
  • updated unit tests
  • updated UPGRADING.md
  • add appropriate tag (improvement / bug / etc)
  • ready for review

@kenjenkins kenjenkins requested a review from a team as a code owner September 21, 2023 20:26
@kenjenkins kenjenkins merged commit 26d49fe into main Sep 21, 2023
3 checks passed
@kenjenkins kenjenkins deleted the kenjenkins/cert-store-readonly branch September 21, 2023 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants