New to PGP and I'm trying to encrypt a file through a C# console app. In my research it sounds as though BouncyCastle is one of the more popular ones to use. I found the following article and it looks like it would work just fine except that I only have the public key. http://burnignorance.com/c-coding-tips/pgp-encryption-decryption-in-c/
Looking around more, I have not found any examples where I can use just the public key to encrypt. All the examples I've come across want to use public key, private key, and password.