tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: Using digest.bat or digest.sh with Tomcat version 8 gives strange results
Date Fri, 21 Oct 2016 07:53:38 GMT
On 21/10/2016 08:22, Thomas Hoffmann (Speed4Trade GmbH) wrote:
> Hello,
> 
> I am using Apache Tomcat/8.0.32 and the tool digest.sh and digest.bat returns maybe wrong
results.

Nope.

> When i test under Ubuntu Xenial i get the following results:
> ./digest.sh -a sha foo
> foo:d4b2c2a918630e63e2796a92c6269417f992ba4038811ca1711e72af772619ad$1$aa6235fbec4962c26e9ccb0efcb5aebf2af49b86
> 
> ./digest.sh -a md5 foo
> foo:4e5b42806cc055bc4b4378521f86419ce882386b15068d079e387bff8299adc2$1$adc491e6773ceb0a0463b09f322d9be3

As expected.

> With Tomcat 6.0.35 i get correct results:
> ./digest.sh -a sha foo
> foo:0beec7b5ea3f0fdbc95d0dd47f3c5bc275da8a33
> 
> ./digest.sh -a MD5 foo
> foo:acbd18db4cc2f85cedef654fccc4a4d8

Also as expected.

> Did some parameters change or how do I get an md5 or sha1 hash with digest-script?

http://tomcat.apache.org/migration-8.html#Realms

> Is the script working correctly?

Yes.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message