Re: How to ByPass Protected Storage Prompt



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









.



Relevant Pages

  • Re: Trying to add a user to AD via LDIFDE but receiving an error stating "Unable to update the passw
    ... Basically, you need to set the unicodePwd attribute with the password value, ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ...
    (microsoft.public.windows.server.active_directory)
  • Re: Querying AD
    ... I recommend using a lower level LDAP query tool like ldp.exe for testing ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services ...
    (microsoft.public.windows.server.active_directory)
  • Re: How to find out file owner?
    ... origin of the account. ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services ...
    (microsoft.public.dotnet.security)
  • Re: Need help getting the domain SID when given a DC=XXX,DC=YYY,CD
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... this code for getting the domain object? ...
    (microsoft.public.platformsdk.security)
  • Re: Need help getting the domain SID when given a DC=XXX,DC=YYY,CD
    ... Joe Kaplan-MS MVP Directory Services Programming ... Co-author of "The .NET Developer's Guide to Directory Services Programming" ... this code for getting the domain object? ...
    (microsoft.public.platformsdk.security)