openvex / vexctl

A tool to create, transform and attest VEX metadata
Apache License 2.0
116 stars 21 forks source link

Fix bug when updating documents in place. #144

Closed puerco closed 11 months ago

puerco commented 11 months ago

This PR fixes a bug where adding vex statements to documents in place (ie, overwriting them with the new vex data) would not work. It also adds a new --document flag to specify the source document.

I've expanded the options tests to cover the new options and to improve them a little bit.

/cc @cpanato

Signed-off-by: Adolfo García Veytia (Puerco) puerco@chainguard.dev