fapifta opened a new pull request, #6580:
URL: https://github.com/apache/ozone/pull/6580

   ## What changes were proposed in this pull request?
   Remove org.bouncycastle.util.Strings usage from RocksDBStoreMetrics there 
are more standrad way to convert a byte array to a string.
   
   Strings.fromByteArray is a method that converts the byte array to a char 
array, then from that it creates a String.
   new String(byte[]) is a regular String constructor that uses string encoders 
in the background without bothering the first conversion, so it is a reasonable 
switch from the previous to this approach.
   
   On the other hand, when it comes to crypto compliance, as bouncycastle might 
not be compliant as the community does not deal with certifications, we should 
not statically be linked to neither parts of the bouncycastle libraries.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-10744
   
   ## How was this patch tested?
   
   CI
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to