-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Feature request: Support full-signing when running on CoreCLR. #8210
Comments
This may be an issue with my snk file parser, I'll take it. |
Looks like this works in |
@agocke sorry it took so long to respond, sure there is an easy way to repro this exact scenario. If you remove this line from that file, and then try to build the latest corefx in Ubuntu or OSX you should get an exception like the one previously specified. If you need any more info, please let me know. |
I looked through the corefx repo. As far as I can tell, you're not actually setting public sign anywhere in the repo, even after disabling that property. Checking the msbuild log, there is no I'm going to close this for now -- if new info is found then we can re-open. |
@agocke I'm a little unclear what you are suggesting. Are you suggesting you cannot repro it or that we are just missing an extra flag we need to pass? Even if there is an extra property that isn't getting set it seems like the error message should be improved. |
@weshaggard You're right about the error message -- I've filed #9288 to address that. As to this bug, I understood this to be an issue with public sign -- full signing is not currently supported on coreclr. Did you want to re-categorize as a feature request? |
Yes we should re-categorize it as a feature request because it is something I think we need to support. |
@weshaggard Do you have a corefx bug we can follow? :) Roslyn currently PInvokes to the CLR for signing support and we'll continue to either use a CLR or CoreFX signing utility for full signing. |
Re full signing - we have discussed this already. @jkotas wrote a prototype. I think we can productize that code in the new PE writer. |
@agocke Is there any kind of ETA of when this feature might come online? We are hitting some issues in corefx given that this is not yet supported. |
@joperezr No ETA, sorry. |
@jaredpar Have we costed this at all? |
@jaredpar - Any plan when this will be fixed? This works with project.json based projects, but doesn't for MSBuild projects. |
Update on this: the work to do strong name signing on CoreClr is complete. It did not make the cut off for the Dev15.5 release but will be in the following release. It should be merged in one of the main branches in the next few days. |
Thanks! Good to know because I was considering sinking some time into a workaround package. |
Couldn't find any reference to a pull-request, could you provide one?
Reference to this issue in pull request would be great when that happens. Must be interesting to see work done that took about 23 months. |
Here is the PR that merged this into the post-dev15.5-contrib branch. This is "master" for our dev15.6 work. |
👏 |
For the record: the new cross-plat strong name signing provider works fine on Mono too 😄 (tested with Roslyn 2.7.0.62620) |
Was causing an issue in Npgsql.GeoJson. In any case, it seems that full signing is now supported everywhere. (dotnet/roslyn#8210)
Was causing an issue in Npgsql.GeoJson. In any case, it seems that full signing is now supported everywhere. (dotnet/roslyn#8210)
Issue dotnet/roslyn#8210 blocks signing on unix, but we still need to have the assemblies have the correct identity so we are simply turning on DelaySigning for those assemblies. Commit migrated from dotnet/corefx@4d47c2d
On corefx repo, we started using an Open key to fully sign some of our libraries. This key contains both public and private keys, and can be located here. This worked fine in Windows with the Full MSBuild and x-plat with Mono MSBuild, but it started failing x-plat once we moved to .Net Core MSBuild and the portable compilers. The exception we get is:
We would really like this issue to get addressed so that we are able to fully sign this libraries in non-Windows builds.
The text was updated successfully, but these errors were encountered: