trusted-artifact-signer
by tjungbauer
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:
| Component | Storage Type | Minimum Size | Recommended Size | Notes |
|---|---|---|---|---|
| Rekor | PVC | 5Gi | 20Gi+ | Grows with number of signatures |
| Trillian DB | PVC | 5Gi | 20Gi+ | Stores Merkle tree data |
| TUF | PVC | 100Mi | 500Mi | Stores 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:
| Repository | Name | Version |
|---|---|---|
| https://charts.stderr.at/ | tpl | ~1.0.27 |
Maintainers
| Name | Url | |
|---|---|---|
| tjungbauer | [email protected] | https://blog.stderr.at/ |
Sources
Source:
- https://github.com/tjungbauer/helm-charts
- https://charts.stderr.at/
- https://github.com/tjungbauer/openshift-clusterconfig-gitops
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:
- Wave 0: RHTAS Operator installation (via
helper-operator) - Wave 2: Operator readiness check (via
helper-status-checker) - 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
- 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
- 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 emptyIssuer: Must not be emptyIssuerURL: 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
| Key | Type | Default | Description |
|---|---|---|---|
| securesign.additionalAnnotations | object | {} | Additional annotations to add to the Securesign instance as key: value pairs. |
| securesign.additionalLabels | object | {} | Additional labels to add to the Securesign instance as key: value pairs. |
Other Values
| Key | Type | Default | Description |
|---|---|---|---|
| securesign.ctlog | object | {"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.monitoring | object | {"enabled":false} | Monitoring configuration for CT Log |
| securesign.ctlog.monitoring.enabled | bool | false | Enable or disable monitoring for CT Log. |
| securesign.ctlog.privateKeyPasswordRef | object | {} | Private key password reference for the certificate. |
| securesign.ctlog.publicKeyRef | object | {} | Public key reference for the certificate. |
| securesign.ctlog.replicas | int | 1 | Replicas for CT Log. |
| securesign.ctlog.resources | object | {} | 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.rootCertificates | list | [] | Root certificate references for the certificate. |
| securesign.ctlog.serverConfigRef | object | {} | server config reference for the CT Log |
| securesign.ctlog.tls | object | {"certificateRef":{},"privateKeyRef":{}} | TLS configuration for CT Log |
| securesign.ctlog.tls.certificateRef | object | {} | Reference to the secret containing the certificate for TLS encryption. |
| securesign.ctlog.tls.privateKeyRef | object | {} | Reference to the secret containing the private key for TLS encryption. |
| securesign.ctlog.tolerations | object | {} | You can configure tolerations of tainted nodes. |
| securesign.ctlog.treeID | string | '' | Tree ID for the CT Log. |
| securesign.ctlog.trillian | object | {"address":"","port":8091} | Trillian configuration for CT Log |
| securesign.ctlog.trillian.address | string | '' | Address of the Trillian server. |
| securesign.ctlog.trillian.port | int | 8091 | Port for Trillian service. |
| securesign.enabled | bool | false | Enable or disable the Securesign resource. |
| securesign.fulcio | object | {"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.certificate | object | {"commonName":"fulcio.hostname","organizationEmail":"[email protected]","organizationName":"Example Organization","privateKeyPasswordRef":{},"privateKeyRef":{}} | Certificate configuration for Fulcio |
| securesign.fulcio.certificate.commonName | string | "fulcio.hostname" | Common Name for the Fulcio certificate. This can use templating, e.g., "{{ .Release.Name }}.example.com" |
| securesign.fulcio.certificate.organizationEmail | string | "[email protected]" | Organization email for the certificate. |
| securesign.fulcio.certificate.organizationName | string | "Example Organization" | Organization name for the certificate. |
| securesign.fulcio.certificate.privateKeyPasswordRef | object | {} | Private key password reference for the certificate. |
| securesign.fulcio.certificate.privateKeyRef | object | {} | Private key reference for the certificate. |
| securesign.fulcio.config | object | {"CIIssuerMetadata":[{"IssuerName":""}],"OIDCIssuers":[{"CIProvider":"","ChallengeClaim":"","ClientID":"trusted-artifact-signer","Issuer":"dummy","IssuerClaim":"","IssuerURL":"dummy","SPIFFETrustDomain":"","SubjectDomain":"","Type":"email"}]} | Fulcio configuration |
| securesign.fulcio.config.CIIssuerMetadata | list | [{"IssuerName":""}] | CIIssuerMetadata configuration for Fulcio |
| securesign.fulcio.config.CIIssuerMetadata[0] | object | '' | Name of the issuer |
| securesign.fulcio.config.OIDCIssuers | list | [{"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] | object | trusted-artifact-signer | Client ID for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].CIProvider | string | '' | CI Provider for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].ChallengeClaim | string | '' | Challenge Claim for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].Issuer | string | '' | OIDC Issuer URL |
| securesign.fulcio.config.OIDCIssuers[0].IssuerClaim | string | '' | Issuer Claim for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].IssuerURL | string | '' | OIDC Issuer URL (alternative field) |
| securesign.fulcio.config.OIDCIssuers[0].SPIFFETrustDomain | string | '' | SPIFFE Trust Domain for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].SubjectDomain | string | '' | Subject Domain for the OIDC Issuer. |
| securesign.fulcio.config.OIDCIssuers[0].Type | string | Type of authentication. Possible values: email, uri, username | |
| securesign.fulcio.ctlog | object | {"address":"","port":80,"prefix":"trusted-artifact-signer"} | CT Log configuration for Fulcio |
| securesign.fulcio.ctlog.address | string | '' | Address of the CT Log service. |
| securesign.fulcio.ctlog.port | int | 80 | Port for CT Log service. |
| securesign.fulcio.ctlog.prefix | string | trusted-artifact-signer | Prefix 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the charttrusted-artifact-signer is pinned at v1.0.3 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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