View previous topic :: View next topic |
Author |
Message |
alexpodlesny
Joined: 02 Mar 2011 Posts: 4 Location: US
|
Posted: Wed Mar 02, 2011 8:33 pm Post subject: Error - The Entry Assembly is not signed |
|
|
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 |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Mar 02, 2011 10:05 pm Post subject: |
|
|
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 |
|
|
alexpodlesny
Joined: 02 Mar 2011 Posts: 4 Location: US
|
Posted: Thu Mar 03, 2011 4:47 pm Post subject: |
|
|
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 |
|
|
alexpodlesny
Joined: 02 Mar 2011 Posts: 4 Location: US
|
Posted: Thu Mar 03, 2011 4:56 pm Post subject: |
|
|
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 |
|
|
alexpodlesny
Joined: 02 Mar 2011 Posts: 4 Location: US
|
Posted: Thu Mar 03, 2011 5:12 pm Post subject: |
|
|
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 |
|
|
|