Skip to content
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

Windows update broke code signing, documentation is entirely defective #44650

Open
hallambaker opened this issue Feb 2, 2025 · 0 comments
Open

Comments

@hallambaker
Copy link

hallambaker commented Feb 2, 2025

Type of issue

Code doesn't work

Description

The latest Windows update has broken code signing and the documentation is incomplete.

My code is confgured to sign assemblies with a code signing key:
[assembly: System.Reflection.AssemblyKeyName("SigningKeyDeveloper")]

Code which worked fine before Windows update now fails:
Error signing output with public key from container 'SigningKeyDeveloper' -- Keyset does not exist (Exception from HRESULT: 0x80090016)

The key still exists in the store:
sn -i fred.snk SigningKeyDeveloper

The problem here might well be that the code signing scheme is essentially unfinished and there are separate key stores for 32 and 64 bit windows. But here is the thing, there is absolutely no way to know which mode anything is operating in. Do I have the 32 or 64 bit console? No idea and no way to find out.

Similarly, how do I list out the keys to see why something is failing? Again, no explanation.

Most of the documentation doesn't even mention this issue.

So I am going to be turning off windows update and seeing if I can back out the last update because my working system has been broken trying to install features that are of zero value to me.

Page URL

https://learn.microsoft.com/en-us/dotnet/standard/assembly/sign-strong-name

Content source URL

https://github.com/dotnet/docs/blob/main/docs/standard/assembly/sign-strong-name.md

Document Version Independent Id

73c57596-00af-2739-b206-bcbea262fcbb

Article author

@IEvangelist

Metadata

  • ID: f94526da-6739-ad3b-c0eb-48652e70a062
  • Service: dotnet-fundamentals

Related Issues

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

No branches or pull requests

1 participant