{"action":"opened","issue":{"url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/237","labels_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/237/labels{/name}","comments_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/237/comments","events_url":"https://api.github.com/repos/ilgrosso/oldSyncopeIdM/issues/237/events","html_url":"https://github.com/ilgrosso/oldSyncopeIdM/issues/237","id":61138440,"number":237,"title":"AES password chiper algoritm Exception","user":{"login":"ilgrosso","id":1064664,"avatar_url":"https://avatars.githubusercontent.com/u/1064664?v=3","gravatar_id":"","url":"https://api.github.com/users/ilgrosso","html_url":"https://github.com/ilgrosso","followers_url":"https://api.github.com/users/ilgrosso/followers","following_url":"https://api.github.com/users/ilgrosso/following{/other_user}","gists_url":"https://api.github.com/users/ilgrosso/gists{/gist_id}","starred_url":"https://api.github.com/users/ilgrosso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilgrosso/subscriptions","organizations_url":"https://api.github.com/users/ilgrosso/orgs","repos_url":"https://api.github.com/users/ilgrosso/repos","events_url":"https://api.github.com/users/ilgrosso/events{/privacy}","received_events_url":"https://api.github.com/users/ilgrosso/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-13T17:02:59Z","updated_at":"2015-03-13T17:02:59Z","closed_at":null,"body":"_From [denis.si...@gmail.com](https://code.google.com/u/105548482992247672762/) on December 06, 2011 10:04:23_\n\nWhat steps will reproduce the problem? 1. Configure parameter \"password.cipher.algorithm\" with \"AES\" value\r\n2. Save settings\r\n3. Create a new user What version of the product are you using? On what operating system? - Product rev: trunk,\r\n- Operative System: x86_64 x86_64 GNU/Linux, \r\n- JVM: Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) Please provide any additional information below. ==> /opt/syncope/trunk/core/target/log/core-persistence.log \\<==\r\n09:59:07.492 ERROR org.syncope.core.persistence.beans.AbstractBaseBean - Could not encode password\r\njava.security.InvalidKeyException: Illegal key size or default parameters\r\n   at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1010) ~[na:1.7.0-ea]\r\n   at javax.crypto.Cipher.implInit(Cipher.java:785) ~[na:1.7.0-ea]\r\n   at javax.crypto.Cipher.chooseProvider(Cipher.java:848) ~[na:1.7.0-ea]\r\n   at javax.crypto.Cipher.init(Cipher.java:1212) ~[na:1.7.0-ea]\r\n   at javax.crypto.Cipher.init(Cipher.java:1152) ~[na:1.7.0-ea]\r\n   at org.syncope.core.persistence.beans.user.SyncopeUser.encodePassword(SyncopeUser.java:490) ~[SyncopeUser.class:na]\r\n   at org.syncope.core.persistence.beans.user.SyncopeUser.setPassword(SyncopeUser.java:288) ~[SyncopeUser.class:na]\r\n   at org.syncope.core.rest.data.UserDataBinder.create(UserDataBinder.java:206) [UserDataBinder.class:na]\r\n   at org.syncope.core.rest.data.UserDataBinder$$FastClassByCGLIB$$33c4cc9.invoke(<generated>) [cglib-2.2.jar:na]\r\n   at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191) [cglib-2.2.jar:na]\r\n\r\n\r\nCan you give me some information how to store password\r\nwith symmetric-key algorithm and how can I setup a connector\r\nto retrive the clear text password?\r\n\r\nThanks,\r\nDenis.\n\n_Original issue: http://code.google.com/p/syncope/issues/detail?id=237_"}}