The Ceph Object Gateway supports server-side compression of uploaded objects,
using any of Ceph's existing compression plugins.
+.. note:: The Reef release added a :ref:`feature_compress_encrypted` zonegroup
+ feature to enable compression with `Server-Side Encryption`_.
+
Configuration
=============
size of compressed data, in bytes and kilobytes respectively.
+.. _`Server-Side Encryption`: ../encryption
.. _`Multisite Configuration`: ../multisite
Supported Features
------------------
-+---------------------------+---------+----------+
-| Feature | Release | Default |
-+===========================+=========+==========+
-| :ref:`feature_resharding` | Reef | Enabled |
-+---------------------------+---------+----------+
++-----------------------------------+---------+----------+
+| Feature | Release | Default |
++===================================+=========+==========+
+| :ref:`feature_resharding` | Reef | Enabled |
++-----------------------------------+---------+----------+
+| :ref:`feature_compress_encrypted` | Reef | Disabled |
++-----------------------------------+---------+----------+
.. _feature_resharding:
the Reef release.
+.. _feature_compress_encrypted:
+
+compress-encrypted
+~~~~~~~~~~~~~~~~~~
+
+This feature enables support for combining `Server-Side Encryption`_ and
+`Compression`_ on the same object. Object data gets compressed before encryption.
+Prior to Reef, multisite would not replicate such objects correctly, so all zones
+must upgrade to Reef or later before enabling.
+
+.. warning:: The compression ratio may leak information about the encrypted data,
+ and allow attackers to distinguish whether two same-sized objects might contain
+ the same data. Due to these security considerations, this feature is disabled
+ by default.
+
Commands
--------
.. _`Pools`: ../pools
.. _`Sync Policy Config`: ../multisite-sync-policy
+.. _`Server-Side Encryption`: ../encryption
+.. _`Compression`: ../compression