fix: harden and package Windows kernel tools - #1
Merged
Merged
Conversation
Validate all fixed-size UTF-16 requests, reject bridge truncation, and safely parse zeroed directory query results across multiple batches.\n\nCo-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Build the KMDF driver and Rust MCP bridge on the GitHub Windows runner, test-sign the package, and publish versioned release archives with checksums. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Use ntifs.h for the process, directory, and file structures consumed by the KMDF driver. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Define the native process information prefix used by the driver and avoid user-mode-only access constants so the WDK compiler can build it. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Flatten guarded registry value match arms so release builds remain warning-free on the current stable Rust toolchain. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Search the installed WDK tree because InfVerif and Inf2Cat are not laid out beside SignTool on every runner image. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Ship the embedded-signed SYS and public test certificate directly because Roxy installs this non-PnP driver with the Service Control Manager. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
Match the packaged driver signature to the generated certificate without blocking CI on self-signed chain or revocation checks. Co-authored-by: Roxy <299891354+roxy-commits@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Validation
cargo fmt -- --checkcargo test(7 passed)cargo clippy --bin roxy-kernel-bridge -- -D warningscargo build --releasegit diff --checkNative driver compilation was attempted but remains blocked on this workstation because Visual Studio cannot find the
WindowsKernelModeDriver10.0platform toolset. The Windows SDK headers/tools are present, but WDK Visual Studio integration is not installed correctly.