Skip to content

Commit ad15d4d

Browse files
committed
Temporary disable AES256ColumnEncryptionPolicy
There was some seriouse issues in policy implementation in `3.27.0`. We want to inspect the feature before making it available.
1 parent 54df37f commit ad15d4d

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

cassandra/cluster.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2686,6 +2686,8 @@ def __init__(self, cluster, hosts, keyspace=None):
26862686
{"column_encryption_policy": self.cluster.column_encryption_policy})
26872687
except AttributeError:
26882688
log.info("Unable to set column encryption policy for session")
2689+
raise Exception(
2690+
"column_encryption_policy is temporary disabled, until https://github.com/scylladb/python-driver/issues/365 is sorted out")
26892691

26902692
if self.cluster.monitor_reporting_enabled:
26912693
cc_host = self.cluster.get_control_connection_host()

tests/integration/standard/column_encryption/test_policies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
def setup_module():
2626
use_singledc()
2727

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

3031
def _recreate_keyspace(self, session):

tests/unit/column_encryption/test_policies.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from cassandra.column_encryption.policies import AES256ColumnEncryptionPolicy, \
2020
AES256_BLOCK_SIZE_BYTES, AES256_KEY_SIZE_BYTES
2121

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

2425
def _random_block(self):

0 commit comments

Comments
 (0)