Universal newline support is enabled by default in all calls that read data. This means that any non-binary evidence with a foreign newline convention cannot be verified. When the evidence is read, all line endings are converted to '\n' which changes the expected digest.
Overview
Universal newline support is enabled by default in all calls that read data. This means that any non-binary evidence with a foreign newline convention cannot be verified. When the evidence is read, all line endings are converted to '\n' which changes the expected digest.
Example
Actual Digest
Digest Mismatch
Expected Digest
Proposed Solution
Set
universal_newlines=True
when fetching local commands here.If you must retain evidence with foreign newline conventions then set
binary_content = True
.