You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Bhavik Patel (Jira)" <ji...@apache.org> on 2023/11/10 08:49:00 UTC

[jira] [Commented] (RANGER-4454) RangerKMS adds support for the SM4 encryption algorithm.

    [ https://issues.apache.org/jira/browse/RANGER-4454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17784731#comment-17784731 ] 

Bhavik Patel commented on RANGER-4454:
--------------------------------------

Can you confirm this change will not break existing keys functioning?

> RangerKMS adds support for the SM4 encryption algorithm.
> --------------------------------------------------------
>
>                 Key: RANGER-4454
>                 URL: https://issues.apache.org/jira/browse/RANGER-4454
>             Project: Ranger
>          Issue Type: New Feature
>          Components: kms, Ranger
>    Affects Versions: 2.3.0
>         Environment:  !image-2023-10-04-08-31-03-261.png! 
>            Reporter: xiaojunxiang
>            Priority: Major
>         Attachments: HDFS_SM4.jpg, Jira_HDFS_SM4.jpg, RANGER-4454-000.patch, SM4_NotAvaliable.jpg
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> SM4 is already supported in recent versions (3.4.0) of hdfs transparent encryption, 
> So RangerKMS should adapt to this.
> 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"
>  
> 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  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)