0

The following code:

FileInfo pubKey = new FileInfo("pub.rsa");
EncryptionKeys encryptionKeys = new EncryptionKeys(pubKey);
FileInfo file = new FileInfo("example.csv.sig");
PGP pgp = new PGP(encryptionKeys);
pgp.VerifyClearFile(file);

returns an error

System.IO.IOException: 'unknown PGP public key algorithm encountered'

How can I fix this? Is it possible to use pub.rsa public key format there at all?

Ula
  • 85
  • 7

0 Answers0