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

Create a new attestation github repository where 3rd party can contribute a CDXA attestation document as a PR #4054

Open
Tracked by #4043
andrew-m-leonard opened this issue Nov 22, 2024 · 6 comments
Assignees
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE macos Issues that affect or relate to the MAC OS secure-dev testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS

Comments

@andrew-m-leonard
Copy link
Contributor

andrew-m-leonard commented Nov 22, 2024

A new adoptium repository is required for the new CDXA process: #3949 (comment)

Repository name: github.com/adoptium/temurin-attestations

Layout:

eg:

21/jdk_21_0_5_11_x64_linux_AcmeInc.xml
21/jdk_21_0_5_11_x64_linux_AcmeInc.xml.sign.pub
21/jdk_21_0_5_11_x64_linux_OtherOrgLtd.xml
21/jdk_21_0_5_11_x64_linux_OtherOrgLtd.xml.sign.pub

Example CDXA.xml : #3950 (comment)

Pull Request github action will run that:

  • Validates the CDXA.xml format using cyclonedx-cli validate
  • Verifies the Signature of the .xml using the supplied organization public key .sign.pub
  • Validates the CDXA bom content:
    • Contains a "claim" for "VERIFIED_REPRODUCIBLE_BUILD"
    • "claim" references a "target component" with a valid target:
    • Contains an "assessor" with an organization name
    • Contains an "attestation" by "assessor" for "claim"
    • Contains an "affirmation" with a "statement"
  • Validate xml filename and path are valid version and architecture, and match the CDXA "target component" "version" and "platform"
@andrew-m-leonard andrew-m-leonard self-assigned this Dec 9, 2024
@github-actions github-actions bot added aarch Issues that affect or relate to the aarch ARCHITECTURE macos Issues that affect or relate to the MAC OS testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS labels Dec 9, 2024
@andrew-m-leonard andrew-m-leonard moved this from Todo to In Progress in 2024 4Q Adoptium Plan Dec 9, 2024
@andrew-m-leonard
Copy link
Contributor Author

@jiekang @smlambert @tellison For comment please : #4054 (comment)

@jiekang
Copy link
Contributor

jiekang commented Dec 9, 2024

Is there an example CXDA attestation that can be looked at in reference to this?

@jiekang
Copy link
Contributor

jiekang commented Dec 9, 2024

I would lean towards a shorter repo name: github.com/adoptium/temurin-attestations

@andrew-m-leonard
Copy link
Contributor Author

Is there an example CXDA attestation that can be looked at in reference to this?

@jiekang yes here: #3950 (comment)

@jiekang
Copy link
Contributor

jiekang commented Dec 11, 2024

Thanks. Looks fine to me!

@andrew-m-leonard
Copy link
Contributor Author

New repository otterdog request: adoptium/.eclipsefdn#74

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aarch Issues that affect or relate to the aarch ARCHITECTURE macos Issues that affect or relate to the MAC OS secure-dev testing Issues that enhance or fix our test suites windows Issues that affect or relate to the WINDOWS OS
Projects
Status: In Progress
Development

No branches or pull requests

2 participants