-
Notifications
You must be signed in to change notification settings - Fork 4
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
14.0 Current: author's primary signature expired #3
Comments
Hm, please try |
Unfortunately not: The most recent versions of packages are already installed |
That's weird. I assume you did |
Everything up to date. I am on FreeBSD 14 Current. No jail active. |
This looks like certificate issue of some kind - give me few mins I will setup 14 on VM and check :) edit: At which point does it produce this error? start, middle, etc? Would you mind to share bigger part of the output? |
well, it is a certificate issue. It's nuget :/ It happens at start, when it tries to restore packages.
This is the first failing package |
I can confirm that under 14-CURRENT, didn't hit that under 12 nor 13, so I have really no idea what changed in 14 that could trigger this. I will try to dig into this and fix it somehow - if you cn you can try to build under 12 or 13 - that should work :) |
This is true. I am compiling w/o problems on GhostBSD, which means 13.0 stable. So, could it be a change in ca_root_nss? |
I bumped into the same problem when I was playing with dotnet/installer. Also FreeBSD 14, inside the jail. |
Interestingly, both |
Just extract :) there will be |
I have no idea how to turnoff the signature validation :/ And I really do not understand how this can happen on 14-Currrent only - has the signature expired or not?
may that could help? |
There's no such command in |
try this: dotnet/runtime#14537 (comment) |
Does this mean that pkgs.dev.azure.com is using nontrusted cert? |
did it work? if yes, that means...well, its complicated...that cert was removed from |
I called
and now I get " The author primary signature validity period has expired", but mixed with "The repository countersignature validity period has expired" |
Yeah, it didn't help. Wonder why I can Also the certifacte from the comment, looking at bug report, it was removed/fixed in 3.63 - I have 3.63 on one machine and it's fine there, but using 3.69 produce this error :D But also removing ca_root_nss from 14 system, still produce this error (I assume they imported newest trusted/untrusted into base system). BUT I just wan't to know which certificate it's failing :D |
Wild guess, but looking at NuGet/Home#10491 - does this mean that those CA's are "embedded" into SDK? So we need to crossbuild "new" SDK or what? :) |
I tried a
(on FreeBSD 13 with ca_root_nss 3.69_1) |
You tried to run |
Sorry, dotnet restore |
@Slesa which SDK did you use and which project did you try to restore? |
I am checking out the main branch of this repo. I called init.sh and install_tools.sh (and get a mismatch for the kernel from the latter). Then I call build_runtime.sh, which means the project is the runtime itself. When I checked out the sdk itself, I got the same errors when calling build.sh there. Now I've extracted a 6.0.100-rc.1.21458.71 - and I have no idea what to do with it |
You want to compile the SDK yourself or just want to use SDK? If you want to just use SDK, then just extract it somewhere, add this directory to PATH (so that you have dotnet available) and you can use it like |
I am trying to build this repo exactly as it is and exactly as described in Readme.md and I am getting the error exactly in those build scripts. Can't we ask the maintainers of the ca_root_nss package, or is there a way to use old versions of it and find the differences? |
The packages on the NuGet server must be resigned, or the signature stuff must be turned off somehow. I've called build directly in runtime and the NuGet.conf points there. Or am I missing someting? |
I have no idea why this error is throwing out and to fix it without doing magic with certificates from ca_root_nss package - that should be question to .NET team I think or someone who's more familiar with those kind of stuff :( |
Other things to check for: expired certs ( e.g., |
I don't get this. Using the same ca_root_nss version 3.69 - under 13 build runs fine, under 14 there are errors about those signatures expired. Only diffrence is openssl 1.1.1k vs 1.1.1l but I don't think it should be that... |
Ok I know what's up and it's working on some of my VM's and on some not - @Slesa I will follow up on this tomorow :) |
@Slesa this should fix the error:
also added info about this to main branch. |
Is this a workaround or a correct fix? |
@arrowd to be honest - I have no idea why this cert got blacklisted... This is just a temp fix I assume to get the build going. |
Then closing this issue may be a bit premature? |
Maybe, I can leave it open, but nothing more I can do about this :) edit: as you can read on https://bugzilla.mozilla.org/show_bug.cgi?id=1686854 - this cert was removed - wodner why MS is still using those? edit 2: reading this and that - looks like the issue is known, but msbuild is still doing that verification :) |
Good to see that blacklist overrides trustlist even if its causing all this confusion |
Closing this, as:
|
Footnote to the above mentioned PR: it might be a while before that actual makes it into an SDK. 6.0.3xx looks like the earliest it will be in. |
When calling build_runtime.sh, I get the nuget error
for different packages.
The text was updated successfully, but these errors were encountered: