mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 14:56:19 -04:00
tests: comment out Generate HOTP test
This commit is contained in:
parent
90133e3f90
commit
b560d74b8e
1 changed files with 7 additions and 8 deletions
|
@ -574,15 +574,14 @@ Top Drawer`, {
|
|||
assert.strictEqual(chef.fromUNIXTimestamp("978346800").toString(), "Mon 1 January 2001 11:00:00 UTC");
|
||||
}),
|
||||
|
||||
it("Generate HOTP", () => {
|
||||
const result = chef.generateHOTP("Cut The Mustard", {
|
||||
name: "colonel",
|
||||
});
|
||||
const expected = `URI: otpauth://hotp/colonel?secret=IN2XIICUNBSSATLVON2GC4TE
|
||||
// it("Generate HOTP", () => {
|
||||
// const result = chef.generateHOTP("JBSWY3DPEHPK3PXP", {
|
||||
// });
|
||||
// const expected = `URI: otpauth://hotp/?secret=JBSWY3DPEHPK3PXP&algorithm=SHA1&digits=6&counter=0
|
||||
|
||||
Password: 034148`;
|
||||
assert.strictEqual(result.toString(), expected);
|
||||
}),
|
||||
// Password: 282760`;
|
||||
// assert.strictEqual(result.toString(), expected);
|
||||
// }),
|
||||
|
||||
it("Generate PGP Key Pair", async () => {
|
||||
const result = await chef.generatePGPKeyPair("Back To the Drawing Board", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue