Skip to content

Commit 569271f

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 1c5edd7 commit 569271f

File tree

5 files changed

+4
-113
lines changed

5 files changed

+4
-113
lines changed

cassandra/cluster.py

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

27002702
if self.cluster.monitor_reporting_enabled:
27012703
cc_host = self.cluster.get_control_connection_host()

docs/column_encryption.rst

Lines changed: 0 additions & 109 deletions
This file was deleted.

docs/index.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,6 @@ Contents
5656
:doc:`scylla-cloud-serverless`
5757
Connect to ScyllaDB Cloud Serverless
5858

59-
:doc:`column_encryption`
60-
Transparent client-side per-column encryption and decryption
61-
6259
:doc:`faq`
6360
A collection of Frequently Asked Questions
6461

@@ -83,7 +80,6 @@ Contents
8380
dates-and-times
8481
scylla-cloud
8582
scylla-cloud-serverless
86-
column-encryption
8783
faq
8884

8985
Getting Help

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)