1
0
mirror of synced 2025-01-19 08:07:56 +01:00

Improved PGP keygen test

This commit is contained in:
n1474335 2021-02-01 16:24:47 +00:00
parent 339c741a2c
commit af98feff51

View File

@ -588,7 +588,7 @@ Password: 034148`;
const result = await chef.generatePGPKeyPair("Back To the Drawing Board", {
keyType: "ECC-256",
});
assert.strictEqual(result.toString().length, 2560);
assert.strictEqual(result.toString().substr(0, 37), "-----BEGIN PGP PRIVATE KEY BLOCK-----");
}),
it("Generate UUID", () => {