You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinayakumar B (JIRA)" <ji...@apache.org> on 2018/01/03 09:06:00 UTC
[jira] [Commented] (HADOOP-14246) Authentication Tokens should use
SecureRandom instead of Random and 256 bit secrets
[ https://issues.apache.org/jira/browse/HADOOP-14246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16309328#comment-16309328 ]
Vinayakumar B commented on HADOOP-14246:
----------------------------------------
IMO, This could be cherry picked to branch-2.8 and branch-2.7 as well.
This is a good security improvement to have on those branches.
> 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
>
> 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