Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Error - The Entry Assembly is not signed

 
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support
View previous topic :: View next topic  
Author Message
alexpodlesny



Joined: 02 Mar 2011
Posts: 4
Location: US

PostPosted: Wed Mar 02, 2011 8:33 pm    Post subject: Error - The Entry Assembly is not signed Reply with quote

we are encrypting and boot strapping a set of assemblies for a command line tool, each assembly (DLL and EXE) get signed and net.encryptor uses the same certificate to encrypt.

but after we changed testing development certificate to actual production .pfx file we are getting

"The Entry Assembly is not signed. It must be signed using the same strong used to encrypted the assembly resources"

where would I look to find out what is going on?

thx
alex
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Mar 02, 2011 10:05 pm    Post subject: Reply with quote

That error message is only displayed if the bootstrap application is not strong name signed. You can check the strong name of the executable using the strong name (sn.exe) utility eg

Code:
sn -T bootstrap.exe


PS: I have moved this thread into the correct forum for .NET Encryptor
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
alexpodlesny



Joined: 02 Mar 2011
Posts: 4
Location: US

PostPosted: Thu Mar 03, 2011 4:47 pm    Post subject: Reply with quote

yes, you are righ it is .NET Encryptor.

So I have signes assemblies with the strong name and getting

"The magic number in GZip header is not correct. Make sure you are passing in a GZip stream."

i am looking on my side if there any issues with the strong name signing, but code over is workable. the only thing that is different is that some of the dll are strong signed and code signed.

let me know wrere magic is.

thx
alex
Back to top
View user's profile Send private message
alexpodlesny



Joined: 02 Mar 2011
Posts: 4
Location: US

PostPosted: Thu Mar 03, 2011 4:56 pm    Post subject: Reply with quote

a little more info:

I have removed the all code signing. left only SNs

using the same certificate SNK file to sign the application (command line in this case), and to sign the boot strap, and to sine the all projects in solution
Back to top
View user's profile Send private message
alexpodlesny



Joined: 02 Mar 2011
Posts: 4
Location: US

PostPosted: Thu Mar 03, 2011 5:12 pm    Post subject: Reply with quote

all right, back on track with strong names.

to fix: make sure that you are using same certificate to sign and encrypt.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> .NET Encryptor Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group