[ 
https://issues.apache.org/jira/browse/SHIRO-820?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Marwell updated SHIRO-820:
-----------------------------------
    Description: 
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}
 

  was:
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}
 


> Remove [INFO] from HasherUtil output
> ------------------------------------
>
>                 Key: SHIRO-820
>                 URL: https://issues.apache.org/jira/browse/SHIRO-820
>             Project: Shiro
>          Issue Type: Bug
>          Components: Cryptography & Hashing
>            Reporter: Benjamin Marwell
>            Priority: Major
>             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)

Reply via email to