sbom-tool icon indicating copy to clipboard operation
sbom-tool copied to clipboard

Can we handle case-variant names in the same folder?

Open DaveTryon opened this issue 5 months ago • 0 comments

#1082 surfaced a case where we might have a problem with case-differing file names. We should investigate this on a linux system to be sure. Scenario is as follows:

  1. Create a folder with files foo.txt and FOO.TXT in the same folder
  2. Make sure that they have different contents so their hashes are different
  3. Generate an SBOM of the folder containing the files
  4. Look at the SBOM and confirm that the hashes are different
  5. Run the validate action to ensure that the SBOM meets all validation criteria

In theory, the validation should succeed as long as it is run on Linux.

This should be simple to code up as an E2E test that runs only on non-windows systems.

DaveTryon avatar May 26 '25 22:05 DaveTryon