You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Thomas Andraschko (Jira)" <de...@myfaces.apache.org> on 2021/01/13 19:53:00 UTC

[jira] [Commented] (MYFACES-4373) Use SecureRandom for Token Generation

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

Thomas Andraschko commented on MYFACES-4373:
--------------------------------------------

Merged all, looks good. Thanks!
Please set the "fix versions" here and update the homepage!

> Use SecureRandom for Token Generation
> -------------------------------------
>
>                 Key: MYFACES-4373
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4373
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Bill Lucy
>            Assignee: Bill Lucy
>            Priority: Major
>
> We should default to using _java.security.SecureRandom_ instead of _java.util.Random_ for ViewState and CSRF token generation.  The default values for the following two props will be updated:
> org.apache.myfaces.RANDOM_KEY_IN_CSRF_SESSION_TOKEN to "secureRandom"
> org.apache.myfaces.RANDOM_KEY_IN_VIEW_STATE_SESSION_TOKEN to "secureRandom"



--
This message was sent by Atlassian Jira
(v8.3.4#803005)