feat: upload owner-private files through core fragment storage - #7
Draft
erikleblansch wants to merge 2 commits into
Draft
erikleblansch wants to merge 2 commits into
erikleblansch wants to merge 2 commits into
Conversation
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.
Change
Adds an explicitly configured owner-private upload space alongside unchanged read-only imports. The original OpenCloud Files/Uppy upload action uses authenticated loopback DAV PUT; files are privately staged and encrypted using the existing GPG helper, then sent through the existing core fragment create/deposit interface. A new file becomes visible only after confirmed redundant storage and durable encrypted-catalog publication.
Core retains placement, uniform redundancy, grants and accounting. There is no second storage ledger or application-specific copy-count option. New owner files carry distinct authenticated provenance; they do not impersonate imported OpenCloud account rights.
Working boundaries
Verification
Focused real HTTP/GPG, encrypted catalog, restart/retry, cancellation and provenance checks pass using an explicit in-memory core-provider fixture. Actual pinned OpenCloud Web8 SDK PUT/list/read/overwrite-refusal checks pass against that fixture. The source patch applies to the exact pinned upstream source. Six pure native-driver boundary checks and three asset checks pass. Independent product review found and fixed the READY interruption issue.
The new guest-only driver exercises the original Files file input/Uppy action and a fresh browser's two verified downloads. It is prepared, not yet a native browser/live-peer upload PASS. The separate core
cloud-private-uploadscenario now pins exact Cloud source3e3d6587012ed46d200218e4447506300f8a4f18.The previous live trial reached UI provisioning but the strict builder rejected noncanonical patch bytes. This revision fixes patch metadata/order/context prefixes, with all eight postimage files byte-identical and the builder guard unchanged. Two regressions execute that actual guard: canonical passes; applicable but noncanonical still fails. No upload/recovery PASS is inferred from this source-admission fix.
Remaining scope
The original server-off read-only proof remains valid only for its original sources. Full server-independent OpenCloud accounts, synchronization, sharing, cross-device key recovery, automatic repair and native upload evidence remain unfinished. Owner keys/catalogs/journals still live locally. Setup and precise limitations:
docs/OWNER_UPLOADS.md.