cyclonedx-cli
cyclonedx-cli copied to clipboard
Conversion creates invalid SPDX
hello.spdx.json.txt hello-cyclonedx.json.txt hello-cyclonedx-spdx.json.txt
Convert from SPDX to CycloneDX:
cyclonedx convert --input-file hello.spdx.json --input-format spdxjson --output-file hello-cyclonedx.json --output-format json
Convert the result to SPDX:
cyclonedx convert --input-file hello-cyclonedx.json --input-format json --output-file hello-cyclonedx-spdx.json --output-format spdxjson
Resulting SPDX is invalid:
pyspdxtools -i hello-cyclonedx-spdx.json
ERROR:root:The document is invalid. The following issues have been found:
license_info_from_files must be None if files_analyzed is False, but is: [NOASSERTION]