Lolly Beta
Launch App

DeployInstance configuration, SSO and signing

Configure Lolly Work export signing

Note: Lolly Work

This guide covers the optional organisation service. Configuration, console and API paths refer to your Lolly Work instance. The packaged console keeps its release-matched copy of this guide.

Give a Lolly Work deployment a signing identity and every export the server makes carries a signed C2PA Content Credential: renders, share, embed and download links, guest links and the Chromium worker's output. Anyone can check the credential and see if the file was changed. Without an identity, exports keep their unsigned provenance metadata. Signing only adds to an export and never breaks one.

What a signed server render records. Since 1.2.0, its credential carries the design system, its label and the colourway, and for a partner the company, programme and partner kit. It never records the person, a token, an agent or the contact's details. With a signing identity, an approved file can also carry a signed record of its approval (review an exported file).

A signing identity has two halves:

There are two ways to get one:

A self-made root

One command, no PKI. Signatures check as valid at once, and as trusted once you add your root certificate to each verifier's trust list.

Best when you sign for your own team, or while you wait for a certificate from your organisation.

Your organisation's CA

A certificate from the PKI you already run. Signatures check as trusted straight away, because the chain ends at a root your verifiers already trust.

Best when people outside your team check your files.

Option A: one command, no PKI

lw c2pa init --org "Acme"        # writes into ./c2pa/

This makes a self-contained identity, a root plus an issued leaf signer, and writes three files:

FileWhat it isWhere it goes
c2pa-signing-cert.pemthe chain (leaf and root), publicrender.c2pa.certFile
c2pa-signing-key.pemthe private key, secretLW_C2PA_SIGNING_KEY
c2pa-root-cert.pemthe root, publicyour verifiers' trust list

Then connect them; the command prints these exact lines:

// instance.json
"render": {
  "c2pa": {
    "certFile": "/path/to/c2pa-signing-cert.pem",
    "claimGenerator": "Acme Lolly"
  }
}
export LW_C2PA_SIGNING_KEY="$(cat /path/to/c2pa-signing-key.pem)"
# restart the server
Check: Exports are now signed

A verifier reports the signature as valid, and as trusted only after you add c2pa-root-cert.pem to that verifier's C2PA trust list: nobody trusts a root you made yourself until you hand it out, which is what the root file is for.

Warning: Never commit the signing key

Keep c2pa-signing-key.pem secret. It is written with mode 0600.

Option B: your organisation's CA

If your organisation runs a PKI, ask it for a document or email signing certificate and skip lw c2pa init. The C2PA profile wants an ECDSA P-256 key and the emailProtection extended key usage.

There is no trust list to hand out. If your key is not PKCS#8 yet, convert an EC key with openssl pkcs8 -topk8 -nocrypt -in leaf-key.pem -out leaf-key.pkcs8.pem.

On Kubernetes (Helm)

The chart carries the key in its Secret. The certificate is public, so mount it yourself and point certFile at the mount:

# values.yaml
c2pa:
  signingKey: |
    -----BEGIN PRIVATE KEY-----
    …
config:
  render:
    c2pa:
      certFile: /etc/lolly/c2pa/signing-cert.pem
      claimGenerator: "Acme Lolly"
extraVolumes:
  - name: c2pa-cert
    configMap: { name: lolly-c2pa-cert }   # kubectl create configmap lolly-c2pa-cert --from-file=signing-cert.pem=…
extraVolumeMounts:
  - name: c2pa-cert
    mountPath: /etc/lolly/c2pa
    readOnly: true

You can supply the key through existingSecret instead, under the key LW_C2PA_SIGNING_KEY.

Rotation and failures

Detecting credentials on imported assets

Everything above is about signing what this deployment makes. A separate, much smaller job looks at assets that come in from a federated DAM. A DAM asset's bytes may already carry a C2PA manifest that the DAM's own API never mentions; Brandfolder's v4 API, for one, says nothing about C2PA. The catalog can detect that.

For what a verifier reports and why, see Content Credentials.