-
Bug
-
Resolution: Done
-
Medium
-
Frankfurt Release
-
None
running 'oclip --product onap-dublin csar-validate-r130206 --csar /tmp/output11.csar' with csar files generated on linux machine would fail because of signature match error.
However, csar files generated on windows machines is fine.
The error is caused by how we recreate the manifest file during signature verification, https://git.onap.org/vnfsdk/validation/tree/csarvalidation/src/main/java/org/onap/cvc/csar/cc/sol004/VTPValidateCSARR130206.java?id=d20bea49fb797bc5a530d7ac854e5e8d3034785f#n265, it treats the manifest file always containing windows style newline. We should differentiate different file format of the manifest file between windows style, linux style and old mac style, and take that into consideration during recreating manifest file.