Checksum of compiled output changes even if input is exactly the same
felipecrs opened this issue · comments
I would expect the compiled output to match the checksum in case nothing has changed.
git clone https://github.com/felipecrs/fixdockergid
cd fixdockergid
$ shc -S -r -f _fixdockergid.sh -o _fixdockergid && sha256sum _fixdockergid
a19bcd70436a7b4842f2db297b7c8c6ac48034fe329b35225bd2dea39a3cbbfd _fixdockergid
$ shc -S -r -f _fixdockergid.sh -o _fixdockergid && sha256sum _fixdockergid
a41a0d0a40270c063d72fed85fa4df3692b047a2a3e4f03d2d243c828b3cdc74 _fixdockergid
Or if this has something to do with traceability or security, it would be nice to have a flag to control such behavior (I already tried toggling several flags with no difference in the results).