antlr4
antlr4 copied to clipboard
C#, Antlr4.Runtime.Standard 4.10.0, invalid signature
Hello,
I've upgraded Antlr4.Runtime.Standard from 4.8.0 to 4.10.0 and now my web project (that run on IIS) complains about invalid strong name signature:
Could not load file or assembly 'Antlr4.Runtime.Standard' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
I verified the signature manually by sn.exe:
where sn.exe C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\sn.exe
sn -v Antlr4.Runtime.Standard.dll
Old version 4.8.0:
netstandard1.3 Assembly 'Antlr4.Runtime.Standard.dll' is valid
net35 Assembly 'Antlr4.Runtime.Standard.dll' is valid
New version 4.10.0:
netstandard2.0 Failed to verify assembly -- Strong name validation failed.
So it looks there is really something wrong with the signature.
I used the DLL included in the nuget package:
https://www.nuget.org/packages/Antlr4.Runtime.Standard/
Best regards, Michael
It's probably realted to #3360
Seems to also affect v4.10.1.
Any chance of a patch version bump with the correctly signed package?
This issue starts precisely at 4.9.3 and continues through to current releases. The last, correctly-signed version is 4.9.2, based on my testing.
This issue starts precisely at 4.9.3 and continues through to current releases. The last, correctly-signed version is 4.9.2, based on my testing.
I believe so too,
Any change to solve this in a patch?
There is no bug fix in C# runtime > 4.9.2 so you can stick to that version until the code signing issue is fixed in the next release
Le 22 août 2022 à 09:22, Gerhard Barteling @.***> a écrit :
This issue starts precisely at 4.9.3 and continues through to current releases. The last, correctly-signed version is 4.9.2, based on my testing.
I believe so too,
Any change to solve this in a patch?
— Reply to this email directly, view it on GitHub https://github.com/antlr/antlr4/issues/3653#issuecomment-1221954460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAZNQJHYJTZA6EBZQIVCN5DV2MTD3ANCNFSM5TLZRNEQ. You are receiving this because you are subscribed to this thread.
That is clear, thanks for all the awesome work you do
Just wondering if you found a cause, because I reported it already for 4.9.3? #3360