You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Encryption at rest: server rebuild staging directory setting, and the Raft log and snapshots #1955
P2Scheduled: real but not urgentarea:serverHTTP surface, routes, error mapping, swagger, timeouts/admission, config graphenhancementNew feature or request
Encryption at rest (docs/security/encryption.md) covers blobs written through the storage layer. Two server-side locations still hold plaintext ledger state on a server configured with a key:
Raft log and snapshots. Under Raft, nameservice state (ledger and branch names, heads, graph-source definitions and their configuration) is also held in each node's Raft log and snapshots under --raft-storage-path. The consensus crate has no encryption.
Index rebuild staging on the server. A full rebuild stages sorted commit runs, dictionaries and leaves in plaintext under IndexerConfig::data_dir. The server exposes no setting for it (build_direct_fluree never sets it, and the Raft leader-scope indexer uses IndexerConfig::default()), so server rebuilds always stage under $TMPDIR/fluree-index. The docs tell operators to point TMPDIR at an encrypted volume as a workaround.
Wanted
A server setting for the indexer data_dir, so rebuild staging can go to a chosen (encrypted) volume without changing TMPDIR for the whole process.
A decision on the Raft log and snapshots: encrypt them with the storage key set, or document them as a location that needs an encrypted volume.
Done when
The server accepts an indexer data directory setting, and the rebuild uses it.
The Raft log and snapshots are either encrypted or explicitly documented as requiring an encrypted volume, and docs/security/encryption.md says which.
P2Scheduled: real but not urgentarea:serverHTTP surface, routes, error mapping, swagger, timeouts/admission, config graphenhancementNew feature or request
Activity
docs(encryption): audit encryption and key rotation docs against the …