-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.os-windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Milestone
Description
Extracted from #13980.
This code needs to be expanded to find the root certificates on Windows:
zig/lib/std/crypto/Certificate/Bundle.zig
Lines 57 to 68 in c9ef277
| pub fn rescan(cb: *Bundle, gpa: Allocator) !void { | |
| switch (builtin.os.tag) { | |
| .linux => return rescanLinux(cb, gpa), | |
| .windows => { | |
| // TODO | |
| }, | |
| .macos => { | |
| // TODO | |
| }, | |
| else => {}, | |
| } | |
| } |
Hint: this is typically done with CertOpenStore from Crypt32.dll. This has been available since Windows XP.
Related:
Metadata
Metadata
Assignees
Labels
contributor friendlyThis issue is limited in scope and/or knowledge of Zig internals.This issue is limited in scope and/or knowledge of Zig internals.enhancementSolving this issue will likely involve adding new logic or components to the codebase.Solving this issue will likely involve adding new logic or components to the codebase.os-windowsstandard libraryThis issue involves writing Zig code for the standard library.This issue involves writing Zig code for the standard library.
Type
Projects
Status
Quality Assurance