Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-20965

Docker Blob attribute "Content Digest" uses manifest content digest logic to calculate SHA

    XMLWordPrintable

    Details

      Description

      With our implementation for regenerating Docker assets and components from blobs, we had made a change to calculate the correct SHA for the blob, but instead of using the default logic of reading in a blob and calculating the SHA, instead the manifest content digest logic was used to calculate the blob SHA.

      This logic has special treatment for reading in the manifest, specifically the json holding the signature fields. Due to this bug we were making the manifest content digest logic read in a whole blob, which with docker can be extremely large and could cause out of memory issues.

      This issue has been created to correct this behaviour.

        Attachments

          Activity

            People

            Assignee:
            moncef Moncef Ben-Soula
            Reporter:
            moncef Moncef Ben-Soula
            Last Updated By:
            Michael Prescott Michael Prescott
            Team:
            NXRM - Cypher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                tigCommentSecurity.panel-title