Foros de discusión

Password Encryption

thumbnail
Vishal Kumar, modificado hace 11 años.

Password Encryption

Regular Member Mensajes: 198 Fecha de incorporación: 12/12/12 Mensajes recientes
Is all user passwords is stored encrypted using salted SHA1 in liferay?
thumbnail
jelmer kuperus, modificado hace 11 años.

RE: Password Encryption

Liferay Legend Mensajes: 1191 Fecha de incorporación: 10/03/10 Mensajes recientes
The encryption used is determined by the passwords.encryption.algorithm property
By default it uses unsalted sha iirc, which is not very secure
thumbnail
Vishal Kumar, modificado hace 11 años.

RE: Password Encryption

Regular Member Mensajes: 198 Fecha de incorporación: 12/12/12 Mensajes recientes
jelmer kuperus:
The encryption used is determined by the passwords.encryption.algorithm property
By default it uses unsalted sha iirc, which is not very secure

Then in that case, How can i achieve Salted SHA1 algorithm.
thumbnail
jelmer kuperus, modificado hace 11 años.

RE: Password Encryption

Liferay Legend Mensajes: 1191 Fecha de incorporación: 10/03/10 Mensajes recientes
Add

passwords.encryption.algorithm=SSHA


to your portal-ext.properties

using bcrypt might be even better
thumbnail
Vishal Kumar, modificado hace 11 años.

RE: Password Encryption

Regular Member Mensajes: 198 Fecha de incorporación: 12/12/12 Mensajes recientes
jelmer kuperus:
Add

passwords.encryption.algorithm=SSHA


to your portal-ext.properties

using bcrypt might be even better


Thanks a lot jelmer