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

PAH: Sign collections during approval process

    • Icon: Task Task
    • Resolution: Done
    • Icon: Normal Normal
    • 2.2
    • None
    • None
    • None
    • 4.5.0 Sprint 7

      Problem Description: 

      During "approval" task (regardless if is manual or auto approval)
      or as a subtask in the same task group
      if a `settings.COLLECTION_SIGNING_SERVICE` is defined.

      1. Query pulp.SigningService to load the pre-configured signing service
      2. If the collection artifact is stored in an external storage it needs to be
        downloaded locally in a temporary location.
      3. Invoke the sign method on the SigningService to produce the signature
        Artifact for the collection content.
      4. Store the SignatureContentType in the same repo where the
        collection is included.
      5. Approve the collection and move to published repository.

      QA Criteria: 

      • Ensure an approved collection has a signature when the Signing Service is Enabled
      • Ensure that on a system without an enabled signing service, approved collection is not signed

      Reminder: Backend task

              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: