Some file formats can carry a Content Credential inside the file. Others cannot. For those assets, Stencila writes a detached .c2pa sidecar next to the asset.
PNG, JPEG, WebP, SVG, and PDF receive embedded manifests by default. For other formats that cannot be embedded by Stencila or the C2PA SDK, Stencila writes a sidecar.
Browser-based verification tools often work best with embedded manifests because single-file upload forms may not preserve sidecars. For manual web checks, use an embedded format such as PNG unless the tool explicitly supports sidecar uploads.
Sidecars use the same file stem as the signed asset with a .c2pa extension:
asset.ext -> asset.c2pa
dataset.csv -> dataset.c2pa
Keep the asset and sidecar together. If a sidecar-backed asset is copied without its .c2pa file, verifiers will not find the manifest.
When sending sidecar-backed assets to another person or system, copy both files:
If you rename the asset, rename the sidecar stem to match:
dataset-v2.csv
dataset-v2.c2pa
Stencila looks for embedded manifests first when the media type supports them. If no embedded manifest is found, it then looks for a nearby sidecar using the same naming convention.
For sidecar-backed assets, stencila credentials verify reports the manifest as coming from a sidecar.