[Mono-dev] F# requires to be re-signed with mono.snk

Sebastien Pouliot sebastien.pouliot at gmail.com
Fri Jun 18 09:24:49 EDT 2010


On Fri, 2010-06-18 at 13:50 +0100, Laurent Le Brun wrote:
> Hello,
> 
> F# installation on Linux requires the .dll file to be re-signed with
> mono.snk[1]. Otherwise, I get this error: "Strong name cannot be
> verified for delay-signed assembly".
> 
> As I'm packaging F# on Linux, I wonder what should I do. 

So you're packaging binaries not built from sources, right ?

> I have been
> told that: "Mono runtime currently automatically maps anything signed
> with Microsoft keys to the key they sign their Mono provided versions
> of the binaries with.  That makes sense for most Microsoft things,
> which they need to reimplement themselves.  But for FSharp.Core, they
> do not implement it themselves, and users need to be able to run the
> Microsoft signed version of that binary on Mono directly.  The ideal
> fix here is for Mono to know this and make it possible to skip this
> auto-redirecting of strong name."
> 
> I'd like to know what Mono developers plan to do, and what are your suggestions.
> I could also package the Mono-signed binary, 

In the short term (and if you want compatibility with existing mono
versions installed on end users computers) then you should provide a
mono-signed binary.

For the future please open a bug report (bugzilaa.novell.com) and attach
the .dll on it. I'll take a look to see which key is being and how we
could handle this case.

> or put the mono.snk key
> in the package, but I'm not sure if it's a good idea.

It's not the best - nor is packaging binaries not built from sources ;-)

Sebastien



More information about the Mono-devel-list mailing list