Skip to content

Signing does not work on non-Windows #55

Closed

Description

@333fred

When signing on non-Windows platforms, we get output something like:
error CS7027: Error signing output with public key from file '/Users/livarcocc/Documents/git/core-sdk/build/Targets/../Strong Name Keys/RoslynInternalKey.Private.snk' -- Assembly signing not supported.
Once signing is supported on non-Windows, remove the condition in Common.props.

Activity

  1. 333fred commented on Aug 16, 2016

    @333fred
    MemberAuthor

    Condition introduced in #56

  2. eerhardt commented on Aug 17, 2016

    @eerhardt
    Member

    Have we verified there is an existing bug in https://github.com/dotnet/roslyn for this? Or should we log one?

  3. 333fred commented on Aug 17, 2016

    @333fred
    MemberAuthor

    Doesn't look like there is an issue

  4. 333fred commented on Aug 17, 2016

    @333fred
    MemberAuthor

    @jaredpar, do you want us to log an issue there, or on an internal repo?

  5. jaredpar commented on Aug 17, 2016

    @jaredpar
    Member

    This concerns signing full on CoreCLR correct? If so this issue covers it:

    dotnet/roslyn#8210

  6. added this to the 1.0 RTM milestone on Sep 19, 2016
  7. eerhardt commented on Oct 4, 2016

    @eerhardt
    Member

    @333fred - can we use something like:

    <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>

    To support at least public signing our assemblies on non-Windows?

  8. 333fred commented on Oct 4, 2016

    @333fred
    MemberAuthor

    Potentially? I'm not sure if PublicSign is supported on non-Windows, and I don't have a non-Windows box to test with.

  9. eerhardt commented on Oct 4, 2016

    @eerhardt
    Member

    According to @tmat, it is supported on non-Windows.

  10. 333fred commented on Oct 4, 2016

    @333fred
    MemberAuthor

    Then yeah, we should be able to. I'd say we probably want to change SignAssembly to always be true, and add the Windows_NT condition to

    <When Condition="'$(ShouldSignBuild)' == 'true'">

  11. modified the milestones: 1.0 RTM, 1.1 on Jan 19, 2017
  12. 2 remaining items

  13. Jonathan34 commented on Jun 19, 2017

    @Jonathan34

    I believe this is related to: https://github.com/dotnet/cli/issues/6911 but i fail to see the workaround or resolution for that.

  14. added a commit that references this issue on Sep 30, 2018
  15. added a commit that references this issue on Jun 5, 2020
  16. added theissue type on Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions