Keyless storage-only members of an encrypted filesystem
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 12/100
Research direction
Start with ADR 0010 and ADR 0002, then find where join --storage-only refuses encrypted filesystems with StorageOnlyEncrypted. The work touches chunk sealing, integrity trailers, scrub, GC and repair, and a protocol version bump, so read the design thread in #184 first. Done means a keyless member can join, hold sealed replicas, and pass scrub, and scripts/check.sh passes. This is blocked by #237, so wait for that before starting.
Written by the indexing model from the issue text.
Description
What to build
A storage-only member of an encrypted filesystem (ADR 0010, #184/#237) should hold chunks without ever holding the filesystem key: it never encrypts or decrypts, it is just chunk storage. Today join --storage-only to an encrypted filesystem is refused (StorageOnlyEncrypted).
Chosen design (discussed in #184):
- Chunks travel to and from a keyless member sealed (the stored envelope), never as plaintext.
- A keyless member cannot hash plaintext to verify a chunk. It verifies integrity by a hash of the sealed bytes (an integrity trailer on the sealed envelope), and scrub uses the same check.
- It does not take part in the metadata log (no plaintext entries, no readable database). GC and repair learn which chunks are referenced from a separate plaintext list of chunk ids and holders that keyed members publish.
- It does not hold
fs.key, and no recovery key is accepted on it.
Acceptance criteria
- A storage-only member joins an encrypted filesystem with no key and holds replicas; its data directory contains no key and no plaintext chunk, name or metadata.
- Replication, repair, GC and scrub work with it as a holder.
- Keyed members read chunks that were fetched back from it.
- Unencrypted filesystems and ordinary storage-only members behave as before.
- Protocol bump (ADR 0002); ADR 0010 updated;
scripts/check.shpasses.
Blocked by
#237 (encryption at rest).
- Dominant language
- Rust
- Stars
- 0
- Forks
- 0
- Avg merge
- 56m
- Merged PRs (30d)
- 55
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bmaltais/StartFS
-
enhancement ready-for-agent
Difficulty 5/5 Over a week Newbie friendliness 24/100
Maintainers usually reply within 1 day
-
enhancement needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Maintainers usually reply within 1 day
-
ready-for-agent
Difficulty 5/5 Over a week Newbie friendliness 15/100
Maintainers usually reply within 1 day
All issues in bmaltais/StartFS
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
jelmer/buildlog-consultant#364 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
solutionscay/skiff#310 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
valkey-io/valkey-large-object#222 ·
Maintainers usually reply within 1 day
-
bug user-priority/P1
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day