You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by Ravindra Singareddy <si...@hotmail.com> on 2017/05/01 09:37:10 UTC

AdminPasswordAlgorithm

Hi All,

Using BCRYPT as adminPasswordAlgorithm in security.properties as follows:


adminPassword=$2y$10$g.5bFpWp4j6SxSB6iGokT.Sq01SpgSSyBexppJtc9T4TlNfLWVp0q
adminPasswordAlgorithm=BCRYPT


But not able to login into syncope-console. Does BCRYPT password algorithm is supported for admin user?

Thanks a lot


Ravi

<http://www.ooftish.com>

Re: AdminPasswordAlgorithm

Posted by Francesco Chicchiriccò <il...@apache.org>.
[Please do not cross-post: user@ is enough]


On 2017-05-01 11:37 Ravindra Singareddy wrote:
> Hi All,
> 
> Using BCRYPT as adminPasswordAlgorithm in security.properties as 
> follows:
> 
> 
> adminPassword=$2y$10$g.5bFpWp4j6SxSB6iGokT.Sq01SpgSSyBexppJtc9T4TlNfLWVp0q
> adminPasswordAlgorithm=BCRYPT
> 
> 
> But not able to login into syncope-console. Does BCRYPT password
> algorithm is supported for admin user?

When setting

adminPassword=$2a$06$/LWhVDsRs7v3ldMdDzuAguJM5yli9AaSbUJYXC2DboPUwslJUrr/y
adminPasswordAlgorithm=BCRYPT

with has generated via [1] for 'password123', everything works as 
expected.

Regards.

[1] http://bcrypthashgenerator.apphb.com/?PlainText=password123

-- 
Francesco Chicchiriccò

Tirasa - Open Source Excellence
http://www.tirasa.net/

Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/