Skip to content

feat: add testifysec platform defaults for zero-config signing#22

Closed
colek42 wants to merge 3 commits intomainfrom
feat/platform-defaults
Closed

feat: add testifysec platform defaults for zero-config signing#22
colek42 wants to merge 3 commits intomainfrom
feat/platform-defaults

Conversation

@colek42
Copy link
Member

@colek42 colek42 commented Dec 17, 2025

Summary

This PR updates the action with TestifySec Platform defaults so users can get started with minimal configuration. Users now only need to provide:

  • step name
  • command or action-ref
  • API token via ARCHIVISTA_HEADERS environment variable

Everything else just works out of the box with Sigstore signing and timestamping.

Changes

New Defaults

Setting Old Default New Default
archivista-server https://archivista.testifysec.io https://archivista.platform.testifysec.com
fulcio (none) https://fulcio.platform.testifysec.com
fulcio-oidc-issuer (none) https://token.actions.githubusercontent.com
fulcio-oidc-client-id (none) sigstore
timestamp-servers (none) https://tsa.platform.testifysec.com/api/v1/timestamp

Simplified Usage

Before:

- uses: testifysec/witness-wrapper@main
  with:
    step: build
    command: npm run build
    archivista-server: 'https://archivista.platform.testifysec.com'
    enable-sigstore: true
    fulcio: 'https://fulcio.platform.testifysec.com'
    fulcio-oidc-issuer: 'https://token.actions.githubusercontent.com'
    fulcio-oidc-client-id: 'sigstore'
    timestamp-servers: 'https://tsa.platform.testifysec.com/api/v1/timestamp'
  env:
    ARCHIVISTA_HEADERS: 'Authorization: Token ${{ secrets.WITNESS_API_TOKEN }}'

After:

- uses: testifysec/witness-wrapper@main
  with:
    step: build
    command: npm run build
  env:
    ARCHIVISTA_HEADERS: 'Authorization: Token ${{ secrets.WITNESS_API_TOKEN }}'

README Updates

  • Completely rewritten with simplified quick start
  • Added platform defaults table
  • Added examples for wrapping actions
  • Added custom configuration section for self-hosted users
  • Documented required permissions for OIDC

Test plan

  • Test action with minimal config against TestifySec Platform
  • Verify attestations are signed with Fulcio certificates
  • Verify attestations are timestamped with TSA
  • Verify attestations are uploaded to Archivista

🤖 Generated with Claude Code

cole-rgb and others added 3 commits December 17, 2025 16:04
- Default archivista-server to https://archivista.platform.testifysec.com
- Default fulcio to https://fulcio.platform.testifysec.com
- Default fulcio-oidc-issuer to https://token.actions.githubusercontent.com
- Default fulcio-oidc-client-id to sigstore
- Default timestamp-servers to https://tsa.platform.testifysec.com/api/v1/timestamp
- Update README with simplified quick start examples
- Document platform defaults and override options

Users now only need to provide step, command, and API token for full
Sigstore signing and timestamping with TestifySec Platform.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Rebuild dist/action.yml with new defaults
- Rename WITNESS_API_TOKEN to TESTIFYSEC_API_TOKEN in examples

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The correct URL for archivista access is via the gateway, not a
separate archivista subdomain.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@colek42 colek42 closed this Dec 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants