[
https://issues.apache.org/jira/browse/SYNCOPE-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13551260#comment-13551260
]
Hudson commented on SYNCOPE-269:
--------------------------------
Integrated in Syncope-1_0_X #102 (See
[https://builds.apache.org/job/Syncope-1_0_X/102/])
[SYNCOPE-269] secretKey for AES now read from security.properties and asked
during archetype:generate (Revision 1432095)
Result = SUCCESS
ilgrosso :
Files :
* /syncope/branches/1_0_X/archetype/pom.xml
*
/syncope/branches/1_0_X/archetype/src/main/resources/META-INF/maven/archetype-metadata.xml
*
/syncope/branches/1_0_X/archetype/src/main/resources/archetype-resources/console/pom.xml
*
/syncope/branches/1_0_X/archetype/src/main/resources/archetype-resources/core/pom.xml
*
/syncope/branches/1_0_X/archetype/src/main/resources/archetype-resources/core/src/main/resources
*
/syncope/branches/1_0_X/archetype/src/main/resources/archetype-resources/core/src/main/resources/security.properties
*
/syncope/branches/1_0_X/archetype/src/main/resources/archetype-resources/core/src/test/resources/security.properties
* /syncope/branches/1_0_X/console/pom.xml
* /syncope/branches/1_0_X/core/pom.xml
*
/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
* /syncope/branches/1_0_X/core/src/main/resources/security.properties
* /syncope/branches/1_0_X/core/src/test/resources/security.properties
* /syncope/branches/1_0_X/parent/pom.xml
> AES encryption key defined in source code
> -----------------------------------------
>
> Key: SYNCOPE-269
> URL: https://issues.apache.org/jira/browse/SYNCOPE-269
> Project: Syncope
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0.4, 1.1.0
> Reporter: Francesco Chicchiriccò
> Assignee: Francesco Chicchiriccò
> Priority: Critical
> Labels: security
> Fix For: 1.0.5, 1.1.0
>
>
> Currently, the encryption key is barely and statically defined in source code
> [1] for 1_0_X, [2] for trunk.
> This key must be moved to an external properties file (security.properties,
> for example).
> Nice to have: random generation of this key during 'mvn archetype:generate'.
> For 1_0_X: provide default to current key value [1] when not provided in
> security.properties.
> [1]
> http://svn.apache.org/repos/asf/syncope/branches/1_0_X/core/src/main/java/org/apache/syncope/core/persistence/beans/user/SyncopeUser.java
> [2]
> http://svn.apache.org/repos/asf/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/PasswordEncoder.java
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira