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

Client-side S3 encryption breaks blob length

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.10-HF12, 8.3
    • Component/s: S3

      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).

        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