Steps
This guide will show you how to generate a hash256 hash value for an existing clear-text password. The hash value could be used by the SkyFormation webapp as the users passwords
if you are using the SkyFormation hashed based password mechanism.
1. Download the shiro hasher jar
Option A: Download it from this page (see attached jar)
Option B: Download the jar from maven central repository, version 1.4.0-RC2
2. Run the shiro command line hasher program
An util overview is available here: https://shiro.apache.org/command-line-hasher.html
In the same directory as the downloaded jar, run this command:
java -jar shiro-tools-hasher-1.4.0-RC2-cli.jar -i 1024 -f hex -ngs -p
Now enter the clear-text password to hash
Password to hash:
Password to hash (confirm):
and copy the hashed value you got as output.
Comments
2 comments
It doesn't appear that the mentioned JAR file is attached.
Appears to be provided here as the last item in the table:
https://shiro.apache.org/download.html
http://repo1.maven.org/maven2/org/apache/shiro/tools/shiro-tools-hasher/1.4.0/shiro-tools-hasher-1.4.0-cli.jar
Please sign in to leave a comment.