Repository navigation
Conversation
jamesKhor
marked this pull request as draft
November 30, 2026 05:16
jamesKhor
marked this pull request as ready for review
November 30, 2026 05:46
Owner
|
Landed in main through #722 (merge Your probe change is in The tests from your branch ( |
1119738829
pushed a commit
to 1119738829/ARTEX
that referenced
this pull request
Nov 30, 2026
…scriptor metadata Rebase BaaRai#700 onto P0's isolation changes in server/isolation_unix.go (preserving LockDownKeyDir, keys/ dir checking, and fail-closed EnforceIsolation): probe each protected path directly with O_RDONLY|O_NONBLOCK|O_NOCTTY under the file- tool and Bash identities, report descriptor mode/uid/gid or unexpected open errors, and add the 0.7.1 CHANGELOG entry. Co-authored-by: BaaRai <130491490+BaaRai@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.
Related to #664. We could not reproduce the reported refusal to start with Docker inside Proxmox LXC on ZFS. The reporter saw a regular CA key owned by root with mode 0600. In the reported build, the self-test runs before traffic initialization, which can set an existing CA key to 0600. The timing of the permission check therefore matters. Follow-up with the reporter.
Both the Bash and file-tool probes now report the path, file mode, and numeric owner and group from the descriptor they opened under their respective identities. Every successful read-only open still fails the self-test. The probes never read or log key contents. A missing path or permission denial is expected. Other open errors are reported as inconclusive and fail the self-test. A FIFO at a secret path can be checked without waiting for a writer.
The tests cover a readable regular file, a missing path, a symlink loop, and a FIFO without a writer. The existing root-only Linux integration test now checks the metadata returned by both identities. The focused Windows startup tests passed and the Linux server test binary compiled locally. The PR checks run the Linux suite. The reported upgrade remains open for confirmation.
Linux CI for the revised commit passed the full Go suite on the pinned and latest stable toolchains, the race checks, and govulncheck. These jobs run as an unprivileged user and skip the root-only integration tests.