DuendeSoftware/Support

7.0.6 Versions raise NU3042 error in build

alm0st907 opened this issue · 1 comments

Which version of Duende IdentityServer are you using?
7.0.5, updating to latest

Which version of .NET are you using?
Latest - in Ubuntu

Describe the bug
NU3042 raises in build with new version and breaks it.

The certificate not being up to date breaks the build if you have signature verification
To Reproduce

Build a project with the latest packages and signature validation enabled. This will break

Expected behavior

The build should succeed as normal.

Log output/exception with stacktrace

error NU3042: Warning As Error: Package 'Duende.IdentityServer 7.0.6' from source 'https://api.nuget.org/v3/index.json': The following X.509 root certificate is untrusted because it is not present in the certificate bundle at /usr/share/dotnet/sdk/8.0.303/trustedroots/codesignctl.pem.

Additional context

Closing as I see this is a dupe of #1352 and I will follow that instead.