[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to