Skip to content

Allow providing pre-computed file digests instead of requiring full model directory input #568

@SequeI

Description

@SequeI

Description

Currently, the model-signing tool requires the full model directory as input and computes all file digests internally before producing a Sigstore bundle. This works, but it creates unnecessary overhead when the file digests are already known, especially in OCI-based workflows.

Proposed Enhancement

Add an option to provide a list or mapping of file paths → digests directly to the signing tool. If digests are supplied, the tool should:

  • use the provided digest values instead of reading and hashing the model files
  • proceed to generate the Sigstore bundle using these digests

This would allow signing directly from OCI metadata (e.g., using digests extracted via skopeo inspect --raw ...) without requiring access to or re-hashing the underlying model blobs.

Metadata

Metadata

Assignees

No one assigned

    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