Tom Fonteyne created SECURITY-698:
-------------------------------------
Summary: command line utility to generate hashed passwords
Key: SECURITY-698
URL:
https://issues.jboss.org/browse/SECURITY-698
Project: PicketBox
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: JBossSX
Affects Versions: JBossSecurity_2.0.4.SP8
Reporter: Tom Fonteyne
Assignee: Anil Saldhana
Priority: Trivial
org/ jboss/ security/ auth/ spi/ UsernamePasswordLoginModule.java supports
"hashAlgorithm" setting to allow encrypted passwords to be used.
Current options to generate the passwords is with:
echo -n <password> | openssl dgst -md5 -binary | openssl base64
or with:
org.jboss.crypto.CryptoUtil:
String hashedPassword = CryptoUtil.createPasswordHash("MD5",
CryptoUtil.BASE64_ENCODING, null, null, password);
It would be nice if we added a little class with a main method that taked the encoding +
the password and generates the hashed password.
--
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