ranger
ranger copied to clipboard
RANGER-4454. KMS: adds support for the SM4 encryption algorithm.
SM4 is already supported in recent versions (3.4.0) of hdfs transparent encryption:
- Hadoop website: https://apache.github.io/hadoop/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html
- Jira(HDFS supported SM4): https://issues.apache.org/jira/browse/HDFS-15098
When I add in the region of the Encryption key used "SM4 / CTR/NoPadding" algorithm, RangerKMS background will print "under Caused by: Java security. NoSuchAlgorithmException: SM4 KeyGenerator not available"
So RangerKMS should adapt to this.
@bhavikpatel9977 @vikaskr22 , hi, I just responded to you on issues “https://issues.apache.org/jira/browse/RANGER-4454”. Please help me review it, thanks.