Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-1055

CRC: Upload signatures during certification process

    • False
    • False
    • Hide
      • Partner Eng is able to upload signature on approval dashboard
      • Partner Eng is able to add signature to published collections
      • Only Partner Eng user or admin can access that feature
      • Approve button is disabled until a valid signature is provided
      Show
      Partner Eng is able to upload signature on approval dashboard Partner Eng is able to add signature to published collections Only Partner Eng user or admin can access that feature Approve button is disabled until a valid signature is provided
    • ANSTRAT-411 - Content Signing

      1. Partner publishes a collection version to c.r.c and the artifact goes to /staging/ repository and keeps waiting for approval/certification
        (at that point content is unpublished and not consumable)
      2. Partner Engineer goes to c.r.c /approval-dashboard/ and for each item in the approval queue will: 
      3. Download the .tar.gz artifact, unpack it locally, run tests and verifications in order to ensure the quality of its contents.
      4. Once artifact is verified, Partner Engineer will run `rpm-sign` command to create a signature based on the `MANIFEST.json` file
        (to be confirmed the exact syntax but something like:
        `rpm-sign collection/path/MANIFEST.json`)
        and this command will generate a signature file named e.g: `namespace.collection.x-y-z.asc`
      5. The Partner Engineer will go back to `/approval-dashboard/` and click “upload signature” on that collection and a signature file will be added to the collection repository. Only the signature is uploaded in this step.
      6. During the upload, the backend will perform the verification of the signature against the official public_key to ensure only valid signatures are uploaded.
      1. Partner Engineer now is able to click the `approve` button on the collections where the signature is added and verified.
      2. Collection + Signature are moved to `/published` repository and show a “Certified/Signed” badge and are now ready to be consumed by end-users.
      1. When installing the collection, the end-user will call the `--verify` command on the `ansible-galaxy` CLI to perform a verification before installation.
      2. When another server (private/on-prem HUB, satellite) syncs content from c.r.c the signatures will also be synchronized allowing later verification.

       

              rochacbruno@redhat.com Bruno Rocha
              rochacbruno@redhat.com Bruno Rocha
              Clara Spealman Clara Spealman (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: