git404hub

what is gh-action-adapt-sigstore-pypi fr?

trailofbits/gh-action-adapt-sigstore-pypi — explained in plain English

Analysis updated 2026-07-25 · repo last pushed 2026-07-24

2PythonAudience · ops devopsComplexity · 2/5ActiveSetup · easy

tl;dr

A GitHub Actions step that converts GitHub Sigstore build-proof bundles into the format PyPI expects, so Python package publishers can attach verifiable build attestations to their releases.

vibe map

mindmap
  root((repo))
    What it does
      Converts Sigstore bundles
      Outputs PyPI attestations
      One focused step
    How it fits
      Runs in GitHub Actions
      After bundle generation
      Before PyPI upload
    Use cases
      Secure package releases
      Supply chain hardening
      Prove build source
    Audience
      Python package maintainers
      Security-conscious projects

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Add a step to your GitHub Actions release workflow so your PyPI package includes verifiable build provenance.

VIBE 2

Convert GitHub-generated Sigstore bundles into PyPI-compatible attestation files before publishing a new package version.

VIBE 3

Give package installers cryptographic proof that your PyPI release was built from a specific GitHub commit.

what's the stack?

PythonGitHub ActionsSigstorePyPI

how it stacks up fr

trailofbits/gh-action-adapt-sigstore-pypi0-bingwu-0/live-interpreter010zx00x1/faresnipe
Stars222
LanguagePythonPythonPython
Last pushed2026-07-24
MaintenanceActive
Setup difficultyeasymoderateeasy
Complexity2/52/52/5
Audienceops devopsgeneralgeneral

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Requires an existing GitHub Actions release workflow that already generates Sigstore bundles, this action only does the conversion step.

in plain english

When you publish a Python package to PyPI, you may want to prove to users exactly how it was built, what source code it came from, what build system was used, and so on. GitHub offers a tool that generates this kind of "proof" in a format called a Sigstore bundle. The problem is that PyPI expects this proof in a slightly different format, called a PyPI attestation. This action bridges that gap by converting GitHub's Sigstore bundles into the format PyPI can actually understand and display. In practice, you use it as a step in your GitHub Actions release workflow. First, another GitHub action generates the Sigstore bundles that describe your build. Then this action takes those bundles as input, translates them, and writes out converted attestation files to a directory you specify (or a temporary one if you don't). From there, you can upload those attestations alongside your package when publishing to PyPI. This is most useful for Python package maintainers who want to give their users strong, verifiable assurance that the package on PyPI was built from the expected source, not tampered with or replaced. For example, a library author releasing a new version to PyPI could use this so that anyone who installs the package can cryptographically verify it was built from the correct GitHub commit. It's particularly relevant for security-conscious projects or those following supply-chain hardening practices. The tool is narrowly scoped, it does one conversion step and nothing else. The README doesn't go into detail about the underlying differences between the two formats or what happens to fields that don't map cleanly between them. It's a small, focused utility designed to slot into an existing publishing pipeline rather than stand on its own.

prompts (copy fr)

prompt 1
Add a GitHub Actions step to my Python release workflow that converts Sigstore bundles into PyPI attestations using trailofbits/gh-action-adapt-sigstore-pypi, placing the output in a directory called attestations.
prompt 2
Show me a complete GitHub Actions workflow for publishing a Python package to PyPI that includes generating Sigstore bundles and then converting them to PyPI attestations with the trailofbits/gh-action-adapt-sigstore-pypi action.
prompt 3
How do I configure the trailofbits/gh-action-adapt-sigstore-pypi action to read Sigstore bundles from my build output and write converted attestation files so I can upload them with twine to PyPI?

Frequently asked questions

what is gh-action-adapt-sigstore-pypi fr?

A GitHub Actions step that converts GitHub Sigstore build-proof bundles into the format PyPI expects, so Python package publishers can attach verifiable build attestations to their releases.

What language is gh-action-adapt-sigstore-pypi written in?

Mainly Python. The stack also includes Python, GitHub Actions, Sigstore.

Is gh-action-adapt-sigstore-pypi actively maintained?

Active — commit in last 30 days (last push 2026-07-24).

How hard is gh-action-adapt-sigstore-pypi to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is gh-action-adapt-sigstore-pypi for?

Mainly ops devops.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.