When I try to decrypt a file using a passphrase, the log gives me this message:
[Error] - GpgApi.GpgDecrypt - gpg: Invalid option "--display-charset"
I'm not sure what version of gpg.exe I'm using and I don't know what the minimum version supported by GpgApi is, but this is my source code:
GpgInterface.ExePath = Path.Combine(Directory.GetCurrentDirectory(), "gpg.exe");
GpgInterface.HomeDir = Directory.GetCurrentDirectory();
var decrypt = new GpgDecrypt("test1.xml.enc", "decrypted-test1.xml");
decrypt.AskPassphrase = info => GpgInterface.GetSecureStringFromString("testpassphrase");
decrypt.LogWriter = Console.Out;
var result = decrypt.Execute();
Do you have any idea what could be the problem?