GnuPG is "the GNU project's complete and free implementation of the OpenPGP standard". It's a command-line program that'll let you encrypt and decrypt data.
GnuPGWrapper at CodeProject is a .NET class created by Emmanuel Kartmann that wraps GnuPG, making it easy to use within your code.
One bug I noticed: if you set the HomeDirectory, it tries to pass a --homedir parameter to GnuPG and it fails. I think --homedir may no longer be a supported option.
Another issue: if you don't set the HomeDirectory, the wrapper won't find the GPG executable. So I just went in to GnuPGWrapper.cs at line 431 and just set gpgExecutable to "gpg.exe". As long as gpg.exe is in your path, it'll work fine.
Wednesday, April 23, 2008
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment