Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-1577

Add MD5 checksum check when downloading package

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: nuxeo-connect-client

      Description

      Currently there is no checksum performed on a package downloaded by Nuxeo from Connect.

      Connect client should:

      1. download the package
      2. compute an MD5 checksum of the downloaded file
      3. compare this sum to the digest property

      All is here to do so:

      1. on Connect side there is the digest property containing a MD5 checksum of the attached package
      2. in the JAVA APIs it is also available:
        https://docs.oracle.com/javase/8/docs/api/java/security/MessageDigest.html

      a practical example:
      https://www.mkyong.com/java/java-md5-hashing-example/

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ffischer Frantz Fischer
              Participants:
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: