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 468f921
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cassandra/column_encryption/_policies.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ class AES256ColumnEncryptionPolicy(ColumnEncryptionPolicy):
# preserved or else you will not be able to decrypt any data encrypted by this
# policy.
def __init__(self, iv=None):
raise Exception("AES256ColumnEncryptionPolicy is temporary disabled, until https://github.com/scylladb/python-driver/issues/365 is sorted out")

# CBC uses an IV that's the same size as the block size
#
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

0 comments on commit 468f921

Please sign in to comment.