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

Windows: Support LOCAL_MACHINE and CURRENT_SERVICE #476

Merged
merged 1 commit into from
Jun 22, 2024

Conversation

csstaub
Copy link
Member

@csstaub csstaub commented Jun 20, 2024

Add support for LOCAL_MACHINE and CURRENT_SERVICE keychains on Windows, because we might want to load our identities from there. We still prefer the CURRENT_USER keystore first and foremost. Also, this change adds additional logging for the certstore module.

Work in progress -- opening this up here so I can run Windows tests on Github.

Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 82.35294% with 3 lines in your changes missing coverage. Please review.

Project coverage is 81.21%. Comparing base (d6904a0) to head (82de4f1).

Files Patch % Lines
tls.go 66.66% 2 Missing ⚠️
certstore/certstore_linux.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #476      +/-   ##
==========================================
+ Coverage   81.17%   81.21%   +0.04%     
==========================================
  Files          35       35              
  Lines        1849     1853       +4     
==========================================
+ Hits         1501     1505       +4     
  Misses        258      258              
  Partials       90       90              
Flag Coverage Δ
darwin 79.16% <56.25%> (-0.07%) ⬇️
linux 85.42% <64.28%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@csstaub csstaub force-pushed the cs/windows-local-machine branch 2 times, most recently from b81f8dd to 734113e Compare June 20, 2024 23:12
@csstaub csstaub changed the title Windows: Support LOCAL_MACHINE and CURRENT_SERVICE [WIP] Windows: Support LOCAL_MACHINE and CURRENT_SERVICE Jun 20, 2024
Add support for LOCAL_MACHINE and CURRENT_SERVICE keychains on Windows,
because we might want to load our identities from there. We still prefer
the CURRENT_USER keystore first and foremost. Also, this change adds
additional logging for the certstore module.
@csstaub csstaub changed the title [WIP] Windows: Support LOCAL_MACHINE and CURRENT_SERVICE Windows: Support LOCAL_MACHINE and CURRENT_SERVICE Jun 22, 2024
@csstaub csstaub merged commit 0a4011a into master Jun 22, 2024
11 checks passed
@csstaub csstaub deleted the cs/windows-local-machine branch June 22, 2024 23:49
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

1 participant