Build Failed - assembly needs to be signed with a strong nam

.NET obfuscator and automated error reporting

Moderators: Luke Jefferson, Alex.Davies, melvyn.harbour

Build Failed - assembly needs to be signed with a strong nam

Postby maitpg1 » Wed Jun 09, 2010 2:37 pm

Why does v5 require a strong name to enable 'resource compression and encryption', 'error reporting', or 'string compression and encryption'? This was not a requirement in v4.2.
I can't give my assembly a strong name because it uses references that I don't own and can't assign strong names to.
maitpg1
 
Posts: 3
Joined: Wed Jun 09, 2010 2:29 pm

Update from support

Postby maitpg1 » Wed Jun 16, 2010 9:28 pm

The message below was the response I received from Red Gate support:

I am currently discussing with the developers about the change to having strong name signed assemblies for certain protections as it is very over-restrictive (there are plenty of situations where you can not strong name sign an assembly because of trust setting which could prevent you loading dependencies). The change was added to improve security as one of the developers working in a different part of Red Gate came up with a potential attack vector on the protection methods that used compression. As all a potential hacker could do was get at the uncompressed, but still fully encrypted data, it was not a major issue but one that needed to fixed. Hopefully we should be able to provide a better way of protection if you aren't able to strong name signing.


Darn developers... always think they know what's best. :wink:
maitpg1
 
Posts: 3
Joined: Wed Jun 09, 2010 2:29 pm

Postby Alex.Davies » Fri Jun 18, 2010 2:49 pm

We've worked around this by only doing the check for the attack when you choose to sign your assembly. Get in touch with support if you need a fixed build before we release it.

Cheers,
Alex
Developer,
Red Gate .NET Tools
Alex.Davies
 
Posts: 335
Joined: Tue Dec 02, 2008 12:23 pm
Location: Cambridge, uk


Return to SmartAssembly 5

Who is online

Users browsing this forum: No registered users and 0 guests