accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ctubbsii commented on a change in pull request #628: Add sec-bugs plugin. Closes #618
Date Tue, 04 Sep 2018 22:00:37 GMT
ctubbsii commented on a change in pull request #628: Add sec-bugs plugin. Closes #618
URL: https://github.com/apache/accumulo/pull/628#discussion_r215080004
 
 

 ##########
 File path: server/monitor/src/main/java/org/apache/accumulo/monitor/rest/tservers/TabletServerResource.java
 ##########
 @@ -316,7 +316,7 @@ private CurrentTabletResults doCurrentTabletResults(double currentMinorAvg,
 
       KeyExtent extent = new KeyExtent(info.extent);
       Table.ID tableId = extent.getTableId();
-      MessageDigest digester = MessageDigest.getInstance("MD5");
+      MessageDigest digester = MessageDigest.getInstance(Constants.PW_HASH_ALGORITHM);
 
 Review comment:
   Maybe we should just have a util method to return the digester directly rather than the
parameter to construct one?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message