The gocryptfs encrypted filesystem, so charly can mount encrypted volumes.
gocryptfs installs the gocryptfs FUSE package — the same name on rpm (Fedora),
pac (Arch), and deb (Debian/Ubuntu) — so charly can mount encrypted volumes. The
candy's whole deliverable is the gocryptfs binary at /usr/bin/gocryptfs; the
observable proof it is present and runnable is that the binary exists and
gocryptfs -version reports a version string. charly drives the actual
encrypt/mount lifecycle, each mount running in a per-volume
charly-enc-<image>-<volume> systemd --user scope. It is usually composed
through the charly candy rather than named directly.
| Property | Value |
|---|---|
| Layer / candy | gocryptfs |
| Distro | all — gocryptfs (rpm/pac/deb) |
| Binary | gocryptfs at /usr/bin/gocryptfs |
| Service / port | none |
Compose the layer by pinning this repo in a box's candy: list:
my-image:
candy:
base: fedora
candy:
- '@github.com/opencharly/layer-gocryptfs:v2026.239.1626'Then, inside the built image:
gocryptfs -version # gocryptfs vX.Y.ZWhen charly config mount or charly start mounts encrypted volumes, each
gocryptfs daemon runs inside a systemd-run --scope --user --unit=charly-enc-<image>-<volume> scope unit. This decouples the FUSE mount
lifecycle from the container service — mounts survive container stop/restart and
remain browsable on the host. The -allow_other flag is always passed (required
for rootless podman with --userns=keep-id); gocryptfs auto-enables
default_permissions, so kernel UNIX permission checks still apply.
charly.yml— thegocryptfs:candy entity: the package and thecheck:steps..github/workflows/tag-on-merge.yml— CalVer tag +CHANGELOG/on merge.README.md— this user overview.
- Family skill:
/charly-infrastructure:gocryptfs /charly-automation:enc— full encrypted-volume operations documentation/charly-infrastructure:virtualization,/charly-infrastructure:socat— the other members of thecharlycandy's toolchainopencharly/charly— the charly CLI and image builderopencharly/opencharly— the umbrella