Skip to content

Externalize API or library for writing/parsing Sigstore bundles #1132

Open
@di

Description

Description

Currently this project publicly provides models.Bundle which supports to_json and from_json, but does not expose a lower-level API to create/modify specific fields of the Sigstore bundle, read/write the bundle to/from a file, etc. This makes it challenging to use the Sigstore bundle format from within other Python libraries/applications, including use cases that include non-signing bundle operations, PKI based signing, etc.

Desired outcome

Either:

  • expand the public API of sigstore-python to include a lower-level API to create/modify a Sigstore bundle
  • break out the relevant functionality into a separate sigstore-bundle library with a public API that this project can consume as a sub-dependency

(cc @haydentherapper @mihaimaruseac @woodruffw)

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions