iwasakims commented on pull request #3019: URL: https://github.com/apache/hadoop/pull/3019#issuecomment-842335209
On Ubuntu 18.04, OpensslSm4CtrCryptoCodec was available and worked. ``` $ bin/hadoop key create key-sm4 -cipher 'SM4/CTR/NoPadding' $ bin/hdfs dfs -mkdir /zone1 $ bin/hdfs crypto -createZone -path /zone1 -keyName key-sm4 $ bin/hdfs dfs -put README.txt /zone1/ 2021-05-17 13:39:45,686 DEBUG crypto.OpensslSm4CtrCryptoCodec: Using org.apache.hadoop.crypto.random.OpensslSecureRandom as random number generator. 2021-05-17 13:39:45,687 DEBUG util.PerformanceAdvisory: Using crypto codec org.apache.hadoop.crypto.OpensslSm4CtrCryptoCodec. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
