|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Why doesn't caspol.exe see my signed assembly??I'm trying to use the command line tool caspol.exe to grant full trust to
files that are signed by my company. I've created a very simple console application called "TestApp" and ensured that I signed it with my .SNK file. I'm running the following command in the same directory as the testapp.exe file: caspol -u -ag All_Code -pub -file TestApp.exe FullTrust The error I get back is: ERROR: The specified file is not signed or does not exist. What's going on??? I've definitely signed the testapp.exe file with my snk, so I'm at a loss as to why this doesn't see the file or work. Have you verify that you assembly is really signed by using the folloing
comand : sn -v TesApp.exe regards serge Show quoteHide quote "elixirmike" wrote: > I'm trying to use the command line tool caspol.exe to grant full trust to > files that are signed by my company. > > I've created a very simple console application called "TestApp" and ensured > that I signed it with my .SNK file. > > I'm running the following command in the same directory as the testapp.exe > file: > > caspol -u -ag All_Code -pub -file TestApp.exe FullTrust > > The error I get back is: > ERROR: The specified file is not signed or does not exist. > > What's going on??? I've definitely signed the testapp.exe file with my snk, > so I'm at a loss as to why this doesn't see the file or work. > > Your right, it wasn't "signed" with Authenticode. I confused strong-signing
the assembly with doing the Authenticode signing. Thanks Show quoteHide quote "serge calderara" wrote: > Have you verify that you assembly is really signed by using the folloing > comand : > sn -v TesApp.exe > > regards > serge > > "elixirmike" wrote: > > > I'm trying to use the command line tool caspol.exe to grant full trust to > > files that are signed by my company. > > > > I've created a very simple console application called "TestApp" and ensured > > that I signed it with my .SNK file. > > > > I'm running the following command in the same directory as the testapp.exe > > file: > > > > caspol -u -ag All_Code -pub -file TestApp.exe FullTrust > > > > The error I get back is: > > ERROR: The specified file is not signed or does not exist. > > > > What's going on??? I've definitely signed the testapp.exe file with my snk, > > so I'm at a loss as to why this doesn't see the file or work. > > > >
Decryptionfailed to bring original text back....
Help encrypt conn string - no ASP, no server, can't protect keys, can't use Windows Authentication Simple Keyed hash question Non Administrator creating shares on a DC How to ByPass Protected Storage Prompt Getting the Access Permissions for a specific SID on a File / folder random passwords Security problems System.Text.Encoding help ???? Native RC4 code |
|||||||||||||||||||||||