Deployment overview

OpenSeal runs on your own infrastructure as a handful of containers. Pick the guide for what you are doing: trying it on one machine, or running it for others.

OpenSeal is pre-release. v0.1.0 is for evaluation and for rehearsing a production deployment, not yet for production agreements. Nothing on these pages makes a deployment legally valid or compliant: that depends on your certificates, your processes and your counsel.

The services

OpenSeal is three programs of its own (the server, the worker and the key daemon) beside PostgreSQL and an S3-compatible object store. The same images run in both stacks; the production profile adds the hardening and a proxy in front of two server replicas.

ServiceWhat it doesEvaluation stackProduction profile
serverThe REST API, the signing ceremony and the web app, on port 8080OneTwo replicas, server and server-2
proxyHAProxy in front of the replicas; health-checks each at /readyz—Yes, bound to the host's loopback address
workerJobs from a PostgreSQL queue: email, reminders and expiry, sealing through keyd and the timestamp authority, webhooks, daily anchoring and retentionOneOne (more can run)
keydHolds the seal key behind PKCS#11 and signs only for the worker, over mutual TLS, with its own hash-chained logSoftHSM token, generated keyYour HSM's PKCS#11 library
migrateOne-shot: every migration, as the schema owner, before the server startsYesYes
postgresThe record and the audit trail; the application role is bound by row-level securityPlain, localTLS 1.3 only, verify-full
s3SeaweedFS, an S3-compatible store for documents, written once and addressed by hashPlain HTTP inside the stackTLS with the internal CA
pki, tsa, mailpitDevelopment stand-ins: generated keys and CA, a local timestamp authority, a mail catcherYes— (you bring the real ones)
clamavMalware scanning of every upload before the server reads itOptional (profile production)Optional

Which stack

docker-compose.yml (evaluation)deploy/compose.production.yml (production profile)
Seal keyGenerated on first start, in SoftHSMYours, generated in your HSM; keyd reaches it through PKCS#11
Seals validate inOnly against the generated rootWhatever trusts your seal certificate's CA (for example Adobe's AATL)
TimestampsA local development TSAYour RFC 3161 TSAs
EmailCaught by MailpitYour SMTP relay, STARTTLS
SecretsA generated volumeDocker secrets from init-secrets.sh and your own files, mounted only where needed
ContainersDefaultsNon-root, read-only, no capabilities, resource limits, internal networks, configuration manifests
RestartsA short outageRolling, behind proxy, without dropping requests

Images

Every OpenSeal release publishes three images to GitHub Container Registry, ghcr.io/casualoffice/openseal-server, -worker and -keyd, for linux/amd64. Each digest is signed with keyless cosign by the release workflow and carries an SBOM and build provenance, so you can check exactly what you run before you run it: see Use the signed images. Third-party images (PostgreSQL, SeaweedFS, HAProxy, ClamAV, Mailpit) are pinned by digest in the Compose files. You can also build every image from source with docker compose build.

Platform console

casual-sign-console is a separate program for the people who run a deployment: health, organizations, approvals, keys and certificates, timestamp authorities, plans and usage limits, operators and the operator log. It is not yet a Compose service or a release image: build it with cargo build --release -p casual-sign-console, create the first operator with casual-sign-console bootstrap-operator, and run casual-sign-console serve, which listens on 127.0.0.1:8090 and refuses to start if its operator log does not verify. Its settings are in docs/65.

Kubernetes and high availability

A Helm chart and a multi-node reference are planned (VS-20). Until then, the production profile is the tested reference: the same images, environment variables and secret files carry over to any orchestrator.