You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(Potential fix) In the CreateReproducibleTarballFromDir function a check can be made if the dirPath and filePath are equal to not write the empty header.
Additional context
It was mentioned that there are other parts of the code base where empty/unnecessary files are being written to zarf packages.
The text was updated successfully, but these errors were encountered:
Describe what should be investigated or refactored
The sboms.tar file is being created with extra empty file when doing a zarf package create. Can be recreated by
Links to any relevant code
zarf/src/pkg/utils/io.go
Line 461 in 193314b
(Potential fix) In the CreateReproducibleTarballFromDir function a check can be made if the dirPath and filePath are equal to not write the empty header.
Additional context
It was mentioned that there are other parts of the code base where empty/unnecessary files are being written to zarf packages.
The text was updated successfully, but these errors were encountered: