mattosaurus / PgpCore

.NET Core class library for using PGP
MIT License
238 stars 100 forks source link

Getting error with Verify #254

Closed LucTGitHub closed 11 months ago

LucTGitHub commented 11 months ago

I'm getting an error with Verify image

My code is var publicKey = new FileInfo(options.PublicKey); var encryptionKeys = new EncryptionKeys(publicKey);

var inputFile = new FileInfo(options.InputFile); var outputFile = new FileInfo(options.OutputFile);

var pgp = new PgpCore.PGP(encryptionKeys); pgp.Verify(inputFile, outputFile);

Verify would work without the "outputFile", but I need to read the signed file. EncryptAndSign and DecryptAndVerify work without issue

mattosaurus commented 11 months ago

Thanks for pointing this out. This has been fixed in v6.1.0