Le 01/10/2014 18:10, Jacopo Cappellato a écrit :
It is a bit manual process but in my Mac I run:
md5 apache-ofbiz-13.07.01.zip
and get the output:
MD5 (apache-ofbiz-13.07.01.zip) = 2fcba7b4e7cfafe424c90bbffa2e8dc2
I then compare it with the content of apache-ofbiz-13.07.01.zip.md5 which is:
apache-ofbiz-13.07.01.zip: 2F CB A7
B4 E7 CF
AF E4 24
C9 0B BF
FA 2E 8D
C2
Aaaaaah OK :) . Too complicate for me, I prefer that my computer work !
$ flowToParse="apache-ofbiz-13.07.01.zip.md5"; echo "$(cat $flowToParse
| tr -d [:space:] | cut -f 2 -d ':') $(cat $flowToParse | tr -d
[:space:] | cut -f 1 -d ':' | tr -d [:space:])" > tmp.hash; md5sum -c
tmp.hash ;
apache-ofbiz-13.07.01.zip: OK
$ flowToParse="apache-ofbiz-13.07.01.zip.sha"; echo "$(cat $flowToParse
| tr -d [:space:] | cut -f 2 -d ':') $(cat $flowToParse | tr -d
[:space:] | cut -f 1 -d ':' | tr -d [:space:])" > tmp.hash; sha512sum -c
tmp.hash ;
apache-ofbiz-13.07.01.zip: OK
md5 and sha512 signature is good for me ^^
+1