WIP: Add native SHA-2 hashing through shared command clients #2
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/sha2-tool!2
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/posix-compat"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Run the shared SHA-256 and SHA-512 command on EriX through explicit native file and stream clients. The Linux backend keeps the same grammar, digest records and exit statuses. Complete parsing precedes input binding, and file length does not determine temporary memory use.
Tracking and scope
Native image packaging and guest file/stdin/redirection and denied-authority scenarios remain open.
Architecture, authority and failure behavior
The native entry validates the authenticated startup, command entry, descriptor bindings and complete capability inventory. Selected file operands request exact invocation-lifetime READ leases through the inherited job broker; stdin is consumed at most once. No filesystem root, lifecycle, clock, network or launch route is needed. Output uses selected inherited descriptors only.
Digest finalization requires confirmed EOF and successful input retirement. Original grants and shared stream cursors survive through cleanup; uncertain calls are never replayed. The first operation and cleanup observations remain distinct, and unresolved owners stay alive at the fail-stop boundary.
Native allocations use one explicitly packaged writable workspace. The recycling allocator's unsafe operations are confined to that original mapped arena; transport and input buffers have exclusive execution-long borrows. There is no libc or host-helper fallback.
Validation evidence
New wire and lifecycle controls are authored. Matching component, native-target, parity and guest acceptance remain open; earlier host results cover their original revisions.
Review checklist
main.Keep this review WIP until its remaining scope is complete.
WIP: Align signed runtime dependenciesto WIP: Prepare digest commands for native EriX I/OPrepared input occurrences now retain their original argument indices. Repeated paths, stdin operands and non-UTF-8 bytes keep their exact positions and borrowed buffers. This gives the native backend a way to match each operand to its producer-supplied association.
Added the complete offline command page and source bindings in 5204253. The page describes the existing Linux executable and shared library without claiming a finished native backend.
WIP: Prepare digest commands for native EriX I/Oto WIP: Add native SHA-2 hashing through shared command clientsThis source is now split into feature PRs, starting at #8 and ending at #27. Each PR links its prerequisite. The complete stack preserves the runtime changes and dependency declarations; obsolete pin checkpoints and documented source-acquisition differences are separated from feature behavior.
Closing this aggregate without merging. The replacement PRs remain WIP for their remaining integration and review.
Pull request closed