wapt-signpackages md5 sum
Published: May 11, 2020 - 7:38 PM
Good morning
When I re-sign a package on the WAPT server (version 1.8.1 community), the MD5 hash used to rename the file is incorrect
e.g. I download from your repository
The file has the md5 hash 557a981985944927c5a819589e2bb51f, which is found in the file name
I sign this package with my private key
but the file name does not contain the new md5 checksum, but the old one
Is this normal?
I have the impression that this prevents the package from being installed on the agent because the calculated MD5 checksum does not match either the one in the file name or in the Packages file...
When I re-sign a package on the WAPT server (version 1.8.1 community), the MD5 hash used to rename the file is incorrect
e.g. I download from your repository
Code: Select all
wget https://wapt.tranquil.it/wapt/tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.waptCode: Select all
root@wapt:/home/waptrepo/wapt# md5sum tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt
557a981985944927c5a819589e2bb51f tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt
Code: Select all
root@wapt:/home/waptrepo/wapt# wapt-signpackages -c /tmp/key.crt tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt -l debug
2020-05-11 19:26:20,379 DEBUG SUCCESS key /tmp/key.pem match certificate /tmp/key.crt
Processing tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt
2020-05-11 19:26:20,381 DEBUG Signing /home/waptrepo/wapt/tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt with key <SSLPrivateKey u'/tmp/key.pem'>, and certificate CN "afl0423"
Done
Don't forget to rescan your repository with wapt-scanpackages
Code: Select all
root@wapt :/home/waptrepo/wapt# md5sum tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.wapt
db9dd60b5d040fbc38b4debea67e1ab6 tis-dnsutils_9.9.6-6_557a981985944927c5a819589e2bb51f.waptIs this normal?
I have the impression that this prevents the package from being installed on the agent because the calculated MD5 checksum does not match either the one in the file name or in the Packages file...