Hello To All,
I happened to have similar problem of WrongPrivateKeyException when I try to decrypt the file that was sent to me by a vendor, who encrypted it with the PublicKey that I provided...
In my case I don't have a command Line PGP software, but I used GenerateKeyPair method of PGPLib, saved it to Store and then Exported Public Key to one file and Private Key to enother by calling ExportPublicKey and ExportPrivateKey methods of PGPLib instance correspondingly...
I was wondering if it would be possible to get some assistance to resolve the problem I am experiencing...
note: The vendor is UNIX based, and I am running Windows 2008 Server (64bit), if it matters...
Thanks for any help,
Vladimir