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.