You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Benjamin Marwell (Jira)" <ji...@apache.org> on 2021/05/21 19:00:00 UTC

[jira] [Created] (SHIRO-820) Remove [INFO] from HasherUtil output

Benjamin Marwell created SHIRO-820:
--------------------------------------

             Summary: Remove [INFO] from HasherUtil output
                 Key: SHIRO-820
                 URL: https://issues.apache.org/jira/browse/SHIRO-820
             Project: Shiro
          Issue Type: Bug
          Components: Cryptography &amp; Hashing
            Reporter: Benjamin Marwell
             Fix For: 2.0.0


Hasher now prints an "[INFO] " prefix before the generated hash.

I think it is okay for other lines (e.g. debug and other info messages), but the actual tool output should not have such a prefix.

Example:
{code:java}
$ java -jar shiro-tools-hasher-2.0.0-SNAPSHOT.jar --debug --password --pnoconfirm Password to hash: 
[INFO ] $shiro2$argon2id$v=19$t=1,m=65536,p=4$YXtfOFJc1eLfOV55dm4EMQ$hjH5d91V1Vh50/2lfYdfCfvgSODZ/WDMIu549gvD/BU
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)