Fix RSA operations

This commit is contained in:
Matt 2020-04-07 11:45:54 +01:00
parent 18c6b9bc09
commit 1c0ecd29c2
No known key found for this signature in database
GPG key ID: 2DD462FE98BF38C2
2 changed files with 7 additions and 6 deletions

View file

@ -6,6 +6,7 @@
import Operation from "../Operation.mjs";
import OperationError from "../errors/OperationError.mjs";
import Utils from "../Utils.mjs";
import forge from "node-forge/dist/forge.min.js";
import { MD_ALGORITHMS } from "../lib/RSA.mjs";
@ -24,7 +25,7 @@ class RSAVerify extends Operation {
this.module = "Ciphers";
this.description = "Verify a message against a signature and a public PEM encoded RSA key.";
this.infoURL = "https://wikipedia.org/wiki/RSA_(cryptosystem)";
this.inputType = "byteArray";
this.inputType = "string";
this.outputType = "string";
this.args = [
{