Skip to content

Enable sub-attesters content type selection and minor fixes#43

Merged
cowbon merged 3 commits intomainfrom
cowbon-patch-8
Sep 4, 2025
Merged

Enable sub-attesters content type selection and minor fixes#43
cowbon merged 3 commits intomainfrom
cowbon-patch-8

Conversation

@cowbon
Copy link
Copy Markdown
Collaborator

@cowbon cowbon commented Mar 19, 2025

Now users may pick the desired output content type of each sub-attester
by specifying field "content-type" in "attester-selection" as shown in
the following example:

    "attester-selection": {
        "mocktsm":{
            "content-type": "application/vnd.veraison.configfs-tsm+json",
            "privilege_level": 3
        }
    }

@cowbon cowbon force-pushed the cowbon-patch-8 branch 2 times, most recently from fb9331a to c970d61 Compare July 2, 2025 16:58
Copy link
Copy Markdown
Contributor

@thomas-fossati thomas-fossati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks! There’s just one easy to fix bug in the documentation.

Comment thread README.md Outdated
the following example:
```json
"attester-selection": {
mocktsm:{
Copy link
Copy Markdown
Contributor

@thomas-fossati thomas-fossati Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

invalid JSON (missing quotes)

Suggested change
mocktsm:{
mocktsm”: {

Also, should it be "mock-tsm” instead?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the right name should be mock-tsm (has a dash)

@cowbon cowbon mentioned this pull request Aug 20, 2025
Copy link
Copy Markdown
Contributor

@thomas-fossati thomas-fossati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for addressing my comments!

:shipit:

Signed-off-by: Ian Chin Wang <ian.chin.wang@oracle.com>
Now users may pick the desired output content type of each sub-attester
by specifying field "content-type" in "attester-selection" as shown in
the following example:

"attester-selection": {
    "mock-tsm":{
        "content-type": "application/vnd.veraison.configfs-tsm+json",
        "privilege_level": "3"
    }
}

Signed-off-by: Ian Chin Wang <ian.chin.wang@oracle.com>
"selecton" to "selection"

Signed-off-by: Ian Chin Wang <ian.chin.wang@oracle.com>
@cowbon cowbon merged commit deca591 into main Sep 4, 2025
3 checks passed
@cowbon cowbon deleted the cowbon-patch-8 branch December 18, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants