As part of a code-signing initiative, I am working with SHA256 digests on z/OS. In the past, I would download files to a Linux or Windows machine and verify that the hashes matched expected values. But for some reason, Rocket openssl (OpenSSL 1.1.1h 22 Sep 2020) yields different digest values (openssl dgst -sha256) than Linux or WIndows.
The only way to get the same hash is to tag the file on z/OS before creating the hash:
chtag -tc ISO8859-1 <filename>
This feels really odd, since the original file is binary. Is this working as designed?
------------------------------
Jeff Mierzejewski
Advisory Software Engineer
IBM Global Services
Austin TX US
------------------------------
