ZOSOpenTools / meta

Meta repository to tie together the various underlying z/OS Open Source tools (ZOT) repositories here
https://zosopentools.github.io/meta/
Apache License 2.0
37 stars 26 forks source link

Use checksum to validate pax files #611

Open AnthonyGiorgio opened 7 months ago

AnthonyGiorgio commented 7 months ago

I ran into a situation where zopen tried to use a pax file that had been truncated due to a full filesystem in a prior run. We should compute the checksum of a pax file and compare it with the one stored on the server before using it. This will avoid the half-baked installation problem I encountered.

We could use the checksum utilities in coreutils, or the built-in z/OS ones that require ICSF to be running.