You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (Jira)" <ji...@apache.org> on 2019/08/22 16:20:00 UTC

[jira] [Updated] (JCLOUDS-1512) Use SecureRandom in Sha512Crypt

     [ https://issues.apache.org/jira/browse/JCLOUDS-1512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Gaul updated JCLOUDS-1512:
---------------------------------
    Component/s: jclouds-compute

> Use SecureRandom in Sha512Crypt
> -------------------------------
>
>                 Key: JCLOUDS-1512
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1512
>             Project: jclouds
>          Issue Type: Improvement
>          Components: jclouds-compute
>            Reporter: Colm O hEigeartaigh
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Sha512Crypt uses java.util.Random to generate a random salt which is not secure. For reference, the Commons Codec Sha512Crypt implementation uses SecureRandom if a user-specified salt is not supplied:
> [https://github.com/apache/commons-codec/blob/30e5768186f73552b5f1634a76cf2c12bf26b5bb/src/main/java/org/apache/commons/codec/digest/Sha2Crypt.java#L138]
> [https://github.com/apache/commons-codec/blob/30e5768186f73552b5f1634a76cf2c12bf26b5bb/src/main/java/org/apache/commons/codec/digest/B64.java#L81]
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.2#803003)