trusted-artifact-signer

by tjungbauer

Helm chartv1.0.3Apache-2.0Verified publisher

Configure Trusted Artifact Signer

About this chart

trusted-artifact-signer

Description

Configure Trusted Artifact Signer

Introduction

This Helm chart deploys Red Hat Trusted Artifact Signer (RHTAS) on OpenShift. RHTAS is based on the Sigstore project and provides a complete solution for signing, verifying, and maintaining transparency of software artifacts.

What is RHTAS?

RHTAS provides enterprise-grade software supply chain security by offering:

  • Code Signing: Cryptographically sign software artifacts (containers, binaries, etc.)
  • Transparency Logging: Immutable audit trail of all signing events
  • Certificate Authority: Automated certificate issuance for signing
  • Timestamp Authority: RFC 3161 compliant timestamping service
  • Key Distribution: Secure distribution of public keys and certificates

Components

RHTAS consists of the following integrated components:

Core Components

  • Fulcio: A Root Certificate Authority for issuing code signing certificates based on OIDC identity

    • Issues short-lived certificates (typically 10 minutes)
    • No long-term key management required
    • Identity-based signing tied to your OIDC provider
  • Rekor: An immutable transparency log for storing artifact signatures

    • Records all signing events with cryptographic proof
    • Enables signature verification and discovery
    • Includes a Search UI for exploring the transparency log
  • TSA (Timestamp Authority): RFC 3161 compliant timestamping service

    • Provides trusted timestamps for signatures
    • Proves when artifacts were signed
    • Essential for long-term signature validity
  • CT Log: Certificate Transparency Log

    • Records all certificates issued by Fulcio
    • Provides transparency and accountability
    • Enables detection of mis-issued certificates

Supporting Infrastructure

  • Trillian: A transparent, append-only log (Merkle tree)

    • Provides the cryptographic foundation for Rekor and CT Log
    • Ensures tamper-evident storage
    • Scalable to billions of entries
  • TUF (The Update Framework): Secure key and metadata distribution

    • Distributes public keys and certificates
    • Protects against key compromise and rollback attacks
    • Enables offline signature verification

Prerequisites

Required

  • OpenShift: Version 4.12 or higher
  • OIDC Provider: A working OIDC/OAuth2 provider for authentication
    • Red Hat SSO (Keycloak)
    • GitHub Actions
    • GitLab CI
    • Google, Microsoft, or other OIDC providers
  • Storage: Persistent volumes for databases and logs
    • Dynamic provisioning recommended
    • See Storage Requirements below
  • RHTAS Operator: Must be installed (this chart can install it via helper-operator)

Optional

  • Custom Certificates: For production deployments
  • External Databases: For high-availability setups
  • Monitoring: Prometheus for metrics collection
  • Custom CA Bundle: If using internal certificate authorities

Storage Requirements

Recommended minimum storage sizes:

ComponentStorage TypeMinimum SizeRecommended SizeNotes
RekorPVC5Gi20Gi+Grows with number of signatures
Trillian DBPVC5Gi20Gi+Stores Merkle tree data
TUFPVC100Mi500MiStores keys and metadata

Note: Storage requirements scale with usage. For production deployments with high signature volumes, plan for significantly larger storage.

Dependencies

This chart has the following dependencies:

RepositoryNameVersion
https://charts.stderr.at/tpl~1.0.27

Maintainers

NameEmailUrl
tjungbauer[email protected]https://blog.stderr.at/

Sources

Source:

Source code: https://github.com/tjungbauer/helm-charts/tree/main/charts/trusted-artifact-signer

Installation

GitOps Deployment (Recommended)

This chart is designed for GitOps workflows using Argo CD or similar tools. See: https://github.com/tjungbauer/openshift-clusterconfig-gitops

The chart includes ArgoCD sync-wave annotations to ensure proper deployment order:

  1. Wave 0: RHTAS Operator installation (via helper-operator)
  2. Wave 2: Operator readiness check (via helper-status-checker)
  3. Wave 3: Securesign custom resource deployment

Quick Start

1. Add Helm Repository

helm repo add tjungbauer https://charts.stderr.at/
helm repo update

2. Basic Installation

# Install with operator
helm install rhtas tjungbauer/trusted-artifact-signer \
  --create-namespace \
  --namespace trusted-artifact-signer \
  --set securesign.enabled=true \
  --set securesign.fulcio.config.OIDCIssuers[0].Issuer=https://your-oidc-provider.com \
  --set securesign.fulcio.config.OIDCIssuers[0].IssuerURL=https://your-oidc-provider.com

3. Custom Installation

  1. Create your (minimum) values file:
---
securesign:
  # Enable the Securesign resource
  enabled: true

  name: securesign
  namespace: trusted-artifact-signer
  syncwave: '3'

  # Fulcio Configuration - Certificate Authority for Code Signing
  fulcio:
    config:
      OIDCIssuers:
        - ClientID: trusted-artifact-signer
          Issuer: 'https://keycloak-rhsso.apps.cluster.example.com/auth/realms/openshift'
          IssuerURL: 'https://keycloak-rhsso.apps.cluster.example.com/auth/realms/openshift'
          Type: email

  # Trillian Configuration
  trillian:
    database:
      create: true
  1. Install the chart:
helm install rhtas tjungbauer/trusted-artifact-signer \
  --create-namespace \
  --namespace trusted-artifact-signer \
  -f my-values.yaml

4. Verify Installation

# Check operator status
oc get csv -n openshift-operators | grep rhtas

# Check Securesign resource
oc get securesign -n trusted-artifact-signer

# Check all components
oc get pods -n trusted-artifact-signer

Configuration

Critical Configuration Requirements

OIDC Issuer Configuration (Required)

RHTAS requires at least one OIDC issuer for Fulcio. The following fields are mandatory and validated:

  • ClientID: Must not be empty
  • Issuer: Must not be empty
  • IssuerURL: Must not be empty

Component Configuration

Each component can be individually configured with:

  • Replicas: Scale components independently
  • Resources: CPU and memory requests/limits
  • Tolerations: Schedule on specific nodes
  • External Access: Configure ingress/routes with custom hostnames
  • Monitoring: Enable Prometheus metrics endpoints
  • Storage: Customize PVC sizes and storage classes

Parameters

Values

namespace

KeyTypeDefaultDescription
securesign.additionalAnnotationsobject{}Additional annotations to add to the Securesign instance as key: value pairs.
securesign.additionalLabelsobject{}Additional labels to add to the Securesign instance as key: value pairs.

Other Values

KeyTypeDefaultDescription
securesign.ctlogobject{"maxCertChainSize":153600,"monitoring":{"enabled":false},"privateKeyPasswordRef":{},"publicKeyRef":{},"replicas":1,"resources":{},"rootCertificates":[],"serverConfigRef":{},"tls":{"certificateRef":{},"privateKeyRef":{}},"tolerations":{},"treeID":"","trillian":{"address":"","port":8091}}Certificate Transparency Log configuration
securesign.ctlog.monitoringobject{"enabled":false}Monitoring configuration for CT Log
securesign.ctlog.monitoring.enabledboolfalseEnable or disable monitoring for CT Log.
securesign.ctlog.privateKeyPasswordRefobject{}Private key password reference for the certificate.
securesign.ctlog.publicKeyRefobject{}Public key reference for the certificate.
securesign.ctlog.replicasint1Replicas for CT Log.
securesign.ctlog.resourcesobject{}Set resources.requests and resources.limits. Per default this block can be omitted. ONLY set this if you know what you are doing.
securesign.ctlog.rootCertificateslist[]Root certificate references for the certificate.
securesign.ctlog.serverConfigRefobject{}server config reference for the CT Log
securesign.ctlog.tlsobject{"certificateRef":{},"privateKeyRef":{}}TLS configuration for CT Log
securesign.ctlog.tls.certificateRefobject{}Reference to the secret containing the certificate for TLS encryption.
securesign.ctlog.tls.privateKeyRefobject{}Reference to the secret containing the private key for TLS encryption.
securesign.ctlog.tolerationsobject{}You can configure tolerations of tainted nodes.
securesign.ctlog.treeIDstring''Tree ID for the CT Log.
securesign.ctlog.trillianobject{"address":"","port":8091}Trillian configuration for CT Log
securesign.ctlog.trillian.addressstring''Address of the Trillian server.
securesign.ctlog.trillian.portint8091Port for Trillian service.
securesign.enabledboolfalseEnable or disable the Securesign resource.
securesign.fulcioobject{"certificate":{"commonName":"fulcio.hostname","organizationEmail":"[email protected]","organizationName":"Example Organization","privateKeyPasswordRef":{},"privateKeyRef":{}},"config":{"CIIssuerMetadata":[{"IssuerName":""}],"OIDCIssuers":[{"CIProvider":"","ChallengeClaim":"","ClientID":"trusted-artifact-signer","Issuer":"dummy","IssuerClaim":"","IssuerURL":"dummy","SPIFFETrustDomain":"","SubjectDomain":"","Type":"email"}]},"ctlog":{"address":"","port":80,"prefix":"trusted-artifact-signer"},"externalAccess":{"enabled":true,"host":""},"monitoring":{"enabled":false},"replicas":1,"resources":{},"tolerations":{},"trustedCA":{}}Fulcio is a free Root-CA for code signing certs
securesign.fulcio.certificateobject{"commonName":"fulcio.hostname","organizationEmail":"[email protected]","organizationName":"Example Organization","privateKeyPasswordRef":{},"privateKeyRef":{}}Certificate configuration for Fulcio
securesign.fulcio.certificate.commonNamestring"fulcio.hostname"Common Name for the Fulcio certificate. This can use templating, e.g., "{{ .Release.Name }}.example.com"
securesign.fulcio.certificate.organizationEmailstring"[email protected]"Organization email for the certificate.
securesign.fulcio.certificate.organizationNamestring"Example Organization"Organization name for the certificate.
securesign.fulcio.certificate.privateKeyPasswordRefobject{}Private key password reference for the certificate.
securesign.fulcio.certificate.privateKeyRefobject{}Private key reference for the certificate.
securesign.fulcio.configobject{"CIIssuerMetadata":[{"IssuerName":""}],"OIDCIssuers":[{"CIProvider":"","ChallengeClaim":"","ClientID":"trusted-artifact-signer","Issuer":"dummy","IssuerClaim":"","IssuerURL":"dummy","SPIFFETrustDomain":"","SubjectDomain":"","Type":"email"}]}Fulcio configuration
securesign.fulcio.config.CIIssuerMetadatalist[{"IssuerName":""}]CIIssuerMetadata configuration for Fulcio
securesign.fulcio.config.CIIssuerMetadata[0]object''Name of the issuer
securesign.fulcio.config.OIDCIssuerslist[{"CIProvider":"","ChallengeClaim":"","ClientID":"trusted-artifact-signer","Issuer":"dummy","IssuerClaim":"","IssuerURL":"dummy","SPIFFETrustDomain":"","SubjectDomain":"","Type":"email"}]List of OIDC Issuers for authentication
securesign.fulcio.config.OIDCIssuers[0]objecttrusted-artifact-signerClient ID for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].CIProviderstring''CI Provider for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].ChallengeClaimstring''Challenge Claim for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].Issuerstring''OIDC Issuer URL
securesign.fulcio.config.OIDCIssuers[0].IssuerClaimstring''Issuer Claim for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].IssuerURLstring''OIDC Issuer URL (alternative field)
securesign.fulcio.config.OIDCIssuers[0].SPIFFETrustDomainstring''SPIFFE Trust Domain for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].SubjectDomainstring''Subject Domain for the OIDC Issuer.
securesign.fulcio.config.OIDCIssuers[0].TypestringemailType of authentication. Possible values: email, uri, username
securesign.fulcio.ctlogobject{"address":"","port":80,"prefix":"trusted-artifact-signer"}CT Log configuration for Fulcio
securesign.fulcio.ctlog.addressstring''Address of the CT Log service.
securesign.fulcio.ctlog.portint80Port for CT Log service.
securesign.fulcio.ctlog.prefixstringtrusted-artifact-signerPrefix for CT Log.

|

Deploy trusted-artifact-signer with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has trusted-artifact-signer on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charttrusted-artifact-signer is pinned at v1.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply