Image encryption and integrity

Image integrity is checked with the SHA-256 digest and byte count recorded for every artifact in the manifest. Repository access controls and authenticated transport provide the trust boundary.

Optional age encryption

Artifact encryption is optional and uses the upstream age tools. Feclora does not implement cryptographic primitives or key derivation.

SHA-256 integrity checks

For each artifact, the manifest records its stored byte count and SHA-256 digest. Feclora verifies these values during local image verification, TLS image-set transfer, multicast staging and restore preflight. Compressed and age-encrypted artifacts are also decoded/authenticated as applicable before a destructive restore is allowed to proceed.

A digest stored in the same manifest as the artifact is an integrity check, not an independent authenticity proof. The trust boundary therefore comes from the authenticated transport or the operator-controlled local repository:

An attacker able to replace both a manifest and its artifacts in a trusted repository or transport endpoint can replace the image coherently. SHA-256 alone does not prevent that. Protect repository write access and the transport trust anchors accordingly.

Unattended restore profiles

Unattended profiles are authorized by local filesystem policy. The profile and its containing directory must be root-owned; the profile must have mode 0600 and the directory must not be writable by group or other users. Profiles remain single-use, expire, bind to stable target identity and require post-write verification. The replay ledger must be on persistent storage.

This policy assumes the local root account and boot environment are trusted. Profiles are intended for local use, not distribution across mutually untrusted systems.

Operational acceptance

Unit tests cover digest mismatch, interrupted transfers, no-overwrite publication and age encryption/decryption paths. Operators must still perform the documented physical-device acceptance tests on their target Fedora Live environment.