mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 07:16:17 -04:00
ESM: Fixed PGP ops and added tests
This commit is contained in:
parent
78c1c4d680
commit
6a4bc3c9df
8 changed files with 301 additions and 22 deletions
|
@ -9,8 +9,8 @@
|
|||
import Operation from "../Operation";
|
||||
import kbpgp from "kbpgp";
|
||||
import { getSubkeySize, ASP } from "../lib/PGP";
|
||||
import promisifyDefault from "es6-promisify";
|
||||
const promisify = promisifyDefault.promisify;
|
||||
import * as es6promisify from "es6-promisify";
|
||||
const promisify = es6promisify.default ? es6promisify.default.promisify : es6promisify.promisify;
|
||||
|
||||
/**
|
||||
* Generate PGP Key Pair operation
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue