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

Daniel Templeton commented on HADOOP-14246:
-------------------------------------------

Changes look good.  Thanks for testing the upgrade path.  This is a good thing 
to fix, and you've covered all the bases, but I have a bad feeling that 
something will break with this change.  Only one way to find out, though. :)  
+1 from me.  I'll let this one sit a little while before I commit so that folks 
have a chance to comment.

> 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
>         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.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to