-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to sign bom #251
Comments
I'm also seeing this same error when attempting to sign our SBOM |
Hi @tellison Regarding the linked discussion and JSON signing, Last time I checked there wasn't a JSF library available for .NET. That's why the CLI tool doesn't yet support enveloped signing for JSON format. It's been on my todo list for a while. But keeps getting bumped as it will take some care to make sure it is implemented correctly. Are all the .NET runtime dependencies installed? In particular the required SSL library package? |
Hi @coderpatros , I have tried it from the cli docker image where I assume that the dependencies are correct, and get the same outcome.
|
I only had 30 mins to look at this as I was also getting the same error. |
I can confirm that setting true to false in the csproj file fixes this. In fact, when running the publish command, the compiler warnings already warn that trimming may result in issues. As I am not a dotnet expert I am not sure what the fix should be. But considering the age of this issue, perhaps it is worthwhile to investigate further. https://learn.microsoft.com/en-us/dotnet/core/deploying/trimming/trim-self-contained From the documentation: Perhaps trimming should be disabled as it says that Xml parsers are non-trimmable. |
issue still seems to be present in 0.24.2 on debian sid looks like merging #306 is the fix? works for me, although the binary is then about 3x the size. |
@tellison @g-sahil22 Can you confirm that this is fixed in 0.25.0 thanks to 319467b? |
Hi @tellison , |
Steps:
The text was updated successfully, but these errors were encountered: