picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.59k stars 326 forks source link

Strong naming & GAC support. #408

Open cwensley opened 8 years ago

cwensley commented 8 years ago

This is an issue for discussion. I am usually not a fan of strong naming because of its various drawbacks (assembly binding redirects, etc). However, some have asked for this so I'm creating a placeholder to track the issue.

Some thoughts/questions:

Feedback is welcome!

Itaros commented 8 years ago

My thoughts about those:

cwensley commented 8 years ago

Thanks for the feedback!

As for the GAC/preventing tampering, wouldn't adding Eto.dll to the same folder as your exe skip the GAC? I guess you could secure the installation folder as well. Not that security is really the reason for strong naming, but it is related.

ArsenShnurkov commented 8 years ago

For portage package manager (gentoo, sabayon, calculate, funtoo and other linuxes) it doesn't matter. The packager can sign the assembly (if he wish to) with key from mono (i.e. mono.snk file)

Itaros commented 8 years ago

Yeah, security is not a reason. But a nice bonus when it comes to assembly selection by identity(strong name) in scenario when deps are deployed as redists. There is, for example, CryptoPro(russian standardized encryption suite) which installs its .net interop into GAC. Nice, convenient. Can be optionally resolved.