Keyfile Deployment Options

Topics: Cryptography Application Block
Jan 10, 2008 at 2:27 AM

I'm developing a window forms style application that will be self deployed by users where I have no visibility. I was hoping to use Symmetric Encryption/Decryption techniques, however I'm unsure as to how I would deploy my application via a package, and successfully use the Crypto Block. I've been through the documentation, and it seems that the key files need to be manually imported.

- Is this the case? If so, is there an automated (i.e. code driven) way I can copy my keyfile to a known folder from the installation package, and import the keyfile?
- Would you recommend using another encrption/decryption technique?
- How would this work with ClickOnce?

Kind regards,

Jan 15, 2008 at 1:34 AM

Do different clients need to exchange encrypted information, or do you just need to store encrypted information? In the first case you need to deal with sharing keys securely, but if the latter case describes your scenario you can get by generating a new key during the install process.