SHA1 and RIPEMD160 are not declared insecure until widely deployed
This commit is contained in:
@@ -79,8 +79,8 @@ public class PgpSecurityConstants {
|
|||||||
*/
|
*/
|
||||||
private static HashSet<Integer> sHashAlgorithmsWhitelist = new HashSet<>(Arrays.asList(
|
private static HashSet<Integer> sHashAlgorithmsWhitelist = new HashSet<>(Arrays.asList(
|
||||||
// MD5: broken
|
// MD5: broken
|
||||||
// SHA1: broken
|
HashAlgorithmTags.SHA1, // TODO: disable when SHA256 is widely deployed
|
||||||
// RIPEMD160: same security properties as SHA1
|
HashAlgorithmTags.RIPEMD160, // same security properties as SHA1, TODO: disable when SHA256 is widely deployed
|
||||||
// DOUBLE_SHA: not used widely
|
// DOUBLE_SHA: not used widely
|
||||||
// MD2: not used widely
|
// MD2: not used widely
|
||||||
// TIGER_192: not used widely
|
// TIGER_192: not used widely
|
||||||
|
|||||||
Reference in New Issue
Block a user