Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness
-
Normal
-
Normal
-
Code Inspection
-
All
-
None
-
Description
CASSANDRA-16669 introduced support for obfuscating passwords for audit log statements, but there are a few cases where the obfuscation logic can destroy some of the contents of the original/provided string.
ex. This is perfectly valid...
WITH LOGIN = false AND PASSWORD = 'bar' AND SUPERUSER = false
...but calling obfuscate() on it will produce...
WITH LOGIN = false AND PASSWORD *******
We should be able to create a reasonable RegEx and use String#replaceAll() to both simplify and correct PasswordObfuscator#obfuscate().
Attachments
Issue Links
- is a parent of
-
CASSANDRA-17334 Pre hashed passwords in CQL
- Resolved
- is related to
-
CASSANDRA-16669 Password obfuscation for DCL audit log statements
- Resolved
- links to