Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SARIF artifact signing #607

Open
Motional-Charles-Wilson opened this issue Oct 13, 2023 · 1 comment
Open

SARIF artifact signing #607

Motional-Charles-Wilson opened this issue Oct 13, 2023 · 1 comment
Assignees
Labels
3.0 Version 3.0 candidate to-be-discussed

Comments

@Motional-Charles-Wilson
Copy link
Contributor

The integrity and source of a SARIF artifact need to be ensured when used in a supply chain context.

Microsoft recently open sourced a tool (CoseSignTool) for signing JSON files. This may be on interest as outside entities look to what the OASIS SARIF group recommends in the area of tooling.

https://github.com/microsoft/CoseSignTool

@sthagen
Copy link
Contributor

sthagen commented Nov 8, 2023

The TC will discuss and decide, but I cannot imagine that a sole signing tool or method will be recommended by the TC in the end (speculating here).

On this example: The tool

  • appears to be a bit more than one year old
  • is only based on dot net
  • has only 450 or so commits
  • most of the commits are with invalid or unverified signatures

Also, CBOR and COSE may or may not be helpful.

I think a good question to explore before considering tools and techniques for signing would be to find if it is really adding value to not simply sign the JSON text as text per long existing and widely deployed methods like mining, gpg/pgp or similar.

For text files (like JSON) it is generally a problem to maintain the relationship between a detached signature and the original object as the line end character transforms may break the link (the hash).

This is not to block or hinder anyone considering the aforementioned tool, just my feedback as a start for discussing.

@sthagen sthagen self-assigned this Nov 8, 2023
@sthagen sthagen added the 3.0 Version 3.0 candidate label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 Version 3.0 candidate to-be-discussed
Projects
None yet
Development

No branches or pull requests

2 participants