hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Kanter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14246) Authentication Tokens should use SecureRandom instead of Random and 256 bit secrets
Date Thu, 04 Jan 2018 23:52:01 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-14246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16312223#comment-16312223
] 

Robert Kanter commented on HADOOP-14246:
----------------------------------------

It applies cleanly if I also first backport HADOOP-12181 and HADOOP-12611, which also apply
cleanly.
So I went ahead and backported all three to branch-2.7.

> Authentication Tokens should use SecureRandom instead of Random and 256 bit secrets
> -----------------------------------------------------------------------------------
>
>                 Key: HADOOP-14246
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14246
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 2.9.0
>            Reporter: Robert Kanter
>            Assignee: Robert Kanter
>             Fix For: 2.9.0, 3.0.0-alpha4, 2.8.4, 2.7.6
>
>         Attachments: HADOOP-14246.001.patch
>
>
> {{RandomSignerSecretProvider}} and {{ZKSignerSecretProvider}} currently use a {{long}}
generated by {{Random}} (which is then converted to a {{String}} and is 160 bits) for secrets.
 
> We should improve this to use 256 bit secrets generated by {{SecureRandom}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message