Re: How to ByPass Protected Storage Prompt
- From: "Danb" <agentkc@xxxxxxxxx>
- Date: Sun, 16 Jul 2006 11:10:56 -0500
Thanks
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx> wrote
in message news:uBnuQpOqGHA.512@xxxxxxxxxxxxxxxxxxxxxxx
I don't know if you can do this with capicom directly. I assumed you were
using a pure .NET solution with System.Security.Cryptography and .NET 2.0.
You might ask over in platformsdk.security or something for more capicom
info as this isn't really a .NET problem specifically.
In your situation, I'd suggest exporting the cert/key pair as pfx file,
then importing it again without a password. To make this more secure, you
might consider importing this into a user account that will be used to run
your program and will be very restricted in use otherwise.
Best of luck,
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Danb" <agentkc@xxxxxxxxx> wrote in message
news:%23J%23G4uNqGHA.612@xxxxxxxxxxxxxxxxxxxxxxx
Oops.
I meant signcode.exe not makecab in the previous post.
Dan
"Joe Kaplan (MVP - ADSI)" <joseph.e.kaplan@xxxxxxxxxxxxxxxxxxxxxxxx>
wrote in message news:uzJ$IdHqGHA.2464@xxxxxxxxxxxxxxxxxxxxxxx
Do you have the password? If so, you might try the new KeyPassword
property on CspParameters. I'm not sure if this will work, but I think
that is what it is intended for.
Joe K.
--
Joe Kaplan-MS MVP Directory Services Programming
Co-author of "The .NET Developer's Guide to Directory Services
Programming"
http://www.directoryprogramming.net
--
"Danb" <agentkc@xxxxxxxxx> wrote in message
news:eXVb33GqGHA.524@xxxxxxxxxxxxxxxxxxxxxxx
I have a vb dot net application that signs some code. I want it to run
unattended but when it signs the code and accesses the private key then
a Dialog is displayed.
The dialog ask if I am sure i want this application to access my
private key.
Is there a way to identify for the protected storage service acceptable
applications that need no user interaction?
Thanks in advance
DanB
.
- References:
- How to ByPass Protected Storage Prompt
- From: Danb
- Re: How to ByPass Protected Storage Prompt
- From: Joe Kaplan \(MVP - ADSI\)
- Re: How to ByPass Protected Storage Prompt
- From: Danb
- Re: How to ByPass Protected Storage Prompt
- From: Joe Kaplan \(MVP - ADSI\)
- How to ByPass Protected Storage Prompt
- Prev by Date: Re: How to ByPass Protected Storage Prompt
- Next by Date: Re: PROTECT FROM DECOMPILERS
- Previous by thread: Re: How to ByPass Protected Storage Prompt
- Next by thread: Re: How to ByPass Protected Storage Prompt
- Index(es):
Relevant Pages
|
|