Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-20756

Client-side S3 encryption breaks blob length

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 6.0
    • Fix Version/s: 6.0-HF33
    • Component/s: S3
    • Tags:
    • Backlog priority:
      900
    • Sprint:
      nxFG 8.10.1
    • Story Points:
      2

      Description

      When using client-side encryption with the S3 binary manager, a blob length is computed from the length of the encrypted binary in the S3 storage, which is slightly bigger than the un-encrypted file. This breaks some download methods which expect the Content-Length to be consistent.

      The fix is to consider the length stored as metadata in the database as authoritative and stop relying on a binarymanager-provided length (NXP-14256).

      This ticket is similar to NXP-19852 but is only for Nuxeo 6.0 where the code from the binary manager is slightly different.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h