Uniface checksum file's CRLF line ending breaks sha256sum -c verification
A customer app built in Uniface 10 can export all customers to a JSON file and write a SHA-256 checksum file alongside it. The in-app verification works correctly, detecting both matching and altered files. However, when the checksum file is checked externally with sha256sum -c on GNU coreutils, the command fails because the line ends in a Windows CR LF sequence. The carriage return is read as part of the file name, so the tool cannot locate the JSON file. The author traced the issue to the line break written by the service and was considering removing the carriage return to make the file portable.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.



Discussion (0)
Log in to join the discussion and vote.
Log in