Skip to content

Commit

Permalink
Temporary disable AES256ColumnEncryptionPolicy
Browse files Browse the repository at this point in the history
There was some seriouse issues in policy implementation in `3.27.0`.
We want to inspect the feature before making it available.
  • Loading branch information
dkropachev committed Aug 13, 2024
1 parent df3e5be commit 5357c34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cassandra/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -2686,6 +2686,8 @@ def __init__(self, cluster, hosts, keyspace=None):
{"column_encryption_policy": self.cluster.column_encryption_policy})
except AttributeError:
log.info("Unable to set column encryption policy for session")
raise Exception(
"column_encryption_policy is temporary disabled, until https://github.com/scylladb/python-driver/issues/365 is sorted out")

if self.cluster.monitor_reporting_enabled:
cc_host = self.cluster.get_control_connection_host()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
def setup_module():
use_singledc()

@unittest.skip("Skip until https://github.com/scylladb/python-driver/issues/365 is sorted out")
class ColumnEncryptionPolicyTest(unittest.TestCase):

def _recreate_keyspace(self, session):
Expand Down
1 change: 1 addition & 0 deletions tests/unit/column_encryption/test_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
from cassandra.column_encryption.policies import AES256ColumnEncryptionPolicy, \
AES256_BLOCK_SIZE_BYTES, AES256_KEY_SIZE_BYTES

@unittest.skip("Skip until https://github.com/scylladb/python-driver/issues/365 is sorted out")
class AES256ColumnEncryptionPolicyTest(unittest.TestCase):

def _random_block(self):
Expand Down

0 comments on commit 5357c34

Please sign in to comment.