how to skip the strong name verification for delay signed assembilies on Mono and Visual studio 2010(C#4.0)?

谁都会走 提交于 2019-12-23 11:44:16

问题


how to skip the strong name verification for delay signed assembilies on Mono and Visual studio 2010(C#4.0)?

Thanks & Regards, P.SARAVANAN


回答1:


You have to pass the -Vr command-line option to the strong name tool (sn.exe):

sn -Vr yourAssembly.dll

Be careful though: this should only be done on development machines because of security considerations. Quoth the documentation:

Use this option only during development. Adding an assembly to the skip verification list creates a security vulnerability. A malicious assembly could use the fully specified assembly name (assembly name, version, culture, and public key token) of the assembly added to the skip verification list to fake its identity. This would allow the malicious assembly to also skip verification.



来源:https://stackoverflow.com/questions/5350177/how-to-skip-the-strong-name-verification-for-delay-signed-assembilies-on-mono-an

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!