mattosaurus / PgpCore

.NET Core class library for using PGP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting error with Verify

LucTGitHub opened this issue · comments

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

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