Skip to content

Trustpoint v1.0.3

Latest

Choose a tag to compare

@FHatCSW FHatCSW released this 02 Dec 20:44
· 18 commits to main since this release
d6f4c54

Changelog

1.0.3

Trustpoint 1.0.3 is the current release. It keeps the existing database, keys,
and persistent state. Pending migrations apply at startup.

Changes since 1.0.2

  • Added tested PKCS#11 support for the Swissbit PU-50n iShield HSM and the
    Nitrokey HSM 2 (SmartCard-HSM), including host-attached and external proxy
    deployments.
  • Added pkcs11-proxy compose overrides and setup documentation for hosts where
    USB passthrough is unavailable.
  • Added setup-wizard discovery of the PKCS#11 token serial, so a token can be
    selected by label or slot before the serial is known.
  • Fixed the completed-runtime backend check so a PKCS#11 crypto backend can use
    the software application-secret backend when HSM protection is not enforced.
  • The setup wizard now fails clearly when a PKCS#11 token does not report a
    serial, instead of deferring the failure to startup.
  • Added regression tests for the app-secret backend selection and probe serial
    persistence.
  • Updated the PKCS#11 documentation with tested devices, deployment options, and
    limitations.

Upgrade notes

  • Back up the database, signing key, software or HSM KEK material, .env, and
    persistent volumes before upgrading. Apply migrations at startup.
  • Existing PKCS#11 profiles and keys are unchanged. The token-serial discovery
    only affects new setup-wizard probes.
  • The PKCS#11 fixes previously applied locally on 1.0.2 are included; remove the
    local code mounts when upgrading to 1.0.3.
  • The 1.0.2 upgrade notes still apply.

1.0.2

Trustpoint 1.0.2 was the previous release. It keeps the existing database, keys,
and persistent state. Pending migrations apply at startup.

Changes since 1.0.1

  • OPC UA GDS Push now supports Application Credential Mappings, including
    per-group and per-type certificate profiles and independent deployment status.
  • GDS Push certificate inventory, server certificate discovery/download, and
    mapped-certificate verification were added.
  • GDS Push TrustList management now supports managed and authoritative modes,
    additional trust material, configurable entry and element limits, required
    CRLs, and post-deployment verification.
  • GDS Push operations now use a per-device lock, queued or immediate execution,
    periodic reconciliation, retry handling, and CA-rollover TrustList deployment
    tracking.
  • GDS Push can generate a new server key on renewal and can replace a server
    certificate after the new TrustList is verified.
  • GDS Push certificate checks now use the central security policy for permitted
    security policies, key sizes, curves, and signature hashes, and GDS Push
    operations are recorded in the audit log.
  • Service-account access tokens are bound to the credential that issued them.
    Disabling or rotating the credential immediately invalidates new and existing
    tokens that carry the binding. JWTs are also revoked after a password change.
  • DRF throttle counters now use a shared file-based cache so limits are not
    multiplied by the Gunicorn worker count.
  • Added the GDS_PUSH_TASK_TIMEOUT_SECONDS setting for long-running GDS Push
    background jobs.
  • Added 1.0.2 migrations for GDS Push fields, service-account state, and audit-log
    operation types.
  • Updated CI dependencies and removed internal GDS Push hardening/gap-analysis
    documents.
  • Updated documentation for the 1.0.2 release and the expanded GDS Push feature
    set.

Upgrade notes

  • Back up the database, signing key, software or HSM KEK material, .env, and
    persistent volumes before upgrading. Apply migrations at startup.
  • Review GDS Push device settings after upgrading. New TrustList modes default to
    managed; authoritative mode requires a removal preview before it can be enabled.
  • Lower GDS_PUSH_TASK_TIMEOUT_SECONDS only when the worker and OPC UA timeouts
    also fit the shorter limit.
  • The known limitations from 1.0.1 still apply, including AOKI as a proof of
    concept, incomplete SCEP polling operations, PKCS#11 ML-DSA being unavailable,
    and no automatic device trust distribution during CA rollover.

1.0.1

Trustpoint 1.0.1 updates 1.0.0 in place and keeps the existing database, keys,
and persistent state. Pending migrations apply at startup.

Highlights

  • Audit events form a SHA-256 hash chain with optional signed checkpoints,
    integrity verification, and evidence exports. Traceability Credentials manage
    the signing identity, including rotation.
  • CAs now have a role: Management CAs issue user-authentication and TLS server
    certificates, while Issuing CAs are reserved for endpoint certificates.
    Auto-generated PKI is replaced by named self-signed CAs.
  • CMP adds key update (KUR/KUP) and CA certificate retrieval (genm/genp),
    with authenticated upstream responses. EST adds csrattrs, full discovery,
    and TLS channel binding. SCEP and AOKI enrollment fixes are included.
  • Notifications add alerts for credential expiry, backend availability, account
    lockouts, workflow failures/overdue approvals, and backup failures.
  • Security hardening covers permission checks, login lockout and OTP for API
    tokens, GDS key handling, enrollment validation, and concurrency.
  • SFTP backups pin a verified server host key, and backup downloads stream.

Upgrade notes

  • Back up the database and preserve the 1.0.0 signing key, KEK/HSM material,
    .env, and volumes before upgrading.
  • pki.0003_tp_v1_0_1 aborts if saved certificate-profile labels are missing or
    ambiguous. onboarding.0003_tp_v1_0_1 needs the application-secret keys to
    encrypt existing CMP/EST/REST secrets.
  • Existing SFTP backup settings need a verified server host key.
  • DATABASE_PASSWORD is now required, and unset TP_SECURITY_MODE keeps the
    stored preset.
  • Prometheus metrics require TRUSTPOINT_PROMETHEUS_METRICS_TOKEN. The bundled
    database image is PostgreSQL 18.7.
  • The default failed-login lockout is now 5 attempts.

Known limitations

  • Audit signing does not make the database write-once; retain checkpoints and
    signatures outside Trustpoint for real tamper evidence.
  • The 1.0.0 limitations remain (AOKI proof of concept, incomplete SCEP polling
    operations, PKCS#11 ML-DSA, and CA rollover distribution).

1.0.0

Trustpoint 1.0.0 is the first stable release of the platform.

Initial installation

Trustpoint 1.0.0 is the first stable version and the baseline for compatibility.
Start with a fresh database and installation-specific secrets. Preserve the
resulting database, device identities, CA trust, keys, and runtime state for
subsequent updates and recovery.

Use the Linux Docker Compose deployment and complete the setup wizard. Automatic
setup and demo data are intended for disposable testing/demo environments; demo
data is optional and must not be injected into an instance holding real data.

Capabilities

  • EST, CMP, SCEP, and Trustpoint-specific REST enrollment paths, with authentication
    and certificate-profile choices determined by device/domain/security policy.
  • Local managed CAs, upstream EST/CMP CA requests, and remote EST/CMP RA forwarding.
  • Certificate inventory, revocation/CRL management, and local-CA rollover workflows
    using imported material or generated keys with EST/CMP certificate acquisition.
  • Software and PKCS#11 cryptographic backends; application-secret envelope encryption
    using a database-held wrapped DEK and a separately retained software/HSM KEK.
  • SMTP and SFTP credentials encrypted at rest, with replacement-only secret fields
    and explicit controls for clearing stored credentials.
  • Device/agent management, OPC UA GDS Push, workflow approvals, webhooks, mail,
    notifications, and operational logging/metrics.

Protocol and backend availability depends on the configured security policy,
profiles, and provider mechanisms. The capability guide documents these
requirements and limitations.

Recovery and compatible updates

Before an update, create and download a current database backup and its matching
manifest. Preserve the Django signing key, software KEK (where used), .env, and
bootstrap/media/HSM volumes. PKCS#11 recovery also requires the original HSM KEK,
token objects, provider configuration, and authentication credentials. SoftHSM
token/configuration volumes and original PIN files must stay together.

A database dump does not contain the external KEK or hardware-HSM state. The
manifest's SHA-256 digest checks consistency with the payload; it does not make
an untrusted backup authentic or encrypt the dump. Missing original encryption
material may permanently prevent recovery. Software KEK/DEK rotation is not
implemented and must not be attempted as part of an ordinary rebuild.

Only update between releases whose notes explicitly support the installed schema
and key format. Keep the same Compose project and persistent state. Same-image
container recreation is not evidence of cross-version database compatibility.
Do not use docker compose down -v, volume pruning, or token reinitialization for
routine updates.

Known limitations

  • AOKI remains a proof of concept.
  • SCEP does not implement GetNextCACert, GetCert, GetCRL, CertPoll, or
    asynchronous PENDING responses. SCEP is not currently connected to workflow
    approval/polling processing.
  • ML-DSA key generation/signing is available through the software backend;
    PKCS#11 ML-DSA key generation/signing is not implemented.
  • Local-CA rollover does not automatically distribute replacement trust to every
    device. Remote-CA rollover is not available.