Skip to content

Nuget package from private feed not found on nuget.org results in error ("Central Directory corrupt.")#748

Open
dreammaster38 wants to merge 4 commits intoCycloneDX:masterfrom
dreammaster38:package_unknown_on_nuget_org
Open

Nuget package from private feed not found on nuget.org results in error ("Central Directory corrupt.")#748
dreammaster38 wants to merge 4 commits intoCycloneDX:masterfrom
dreammaster38:package_unknown_on_nuget_org

Conversation

@dreammaster38
Copy link
Copy Markdown

Hi,

I just stumbled about an error while trying to create SBOM from nuget packages not found on public nuget.org.
The error message was "Central Directory corrupt." because the package couldn't be downloaded from nuget.org by default.
Now i just check if the package really exists on nuget.org before trying to read any info.

Feel free to integrate this bugfix into your release if you like.

Kind regards
Thomas

@NextFreeUsername
Copy link
Copy Markdown

We run into this issue with the 2.8.1 version as well, but only with prerelease nugets. With release nugets this works fine, with prerelease nugets we get the same error.
So I don't think the issue is with private feed or not, our release nugets are also on private feeds.

@mtsfoni
Copy link
Copy Markdown
Member

mtsfoni commented Sep 27, 2023

Hello dreammaster38,

unfortunately, you didn't sign-off your commits, thus I cannot merge them. Please consider signing them off.

See here for some more information: https://github.com/CycloneDX/cyclonedx-dotnet/pull/748/checks?check_run_id=15953566656

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants