mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-11 00:31:31 -04:00
Add date and algorithm for some PGP verify ops
This commit is contained in:
parent
bc4d7e86e3
commit
d2e41b7d4b
2 changed files with 36 additions and 11 deletions
|
@ -304,9 +304,8 @@ TestRegister.addTests([{
|
|||
"Verified: true",
|
||||
"Key ID: " + alice.keyID,
|
||||
"Encrypted for: " + bob.name,
|
||||
"Signed on: ",
|
||||
"Signed by: " + alice.name,
|
||||
"Signed with: ",
|
||||
"Signed with: rsa_encrypt_sign/aes256",
|
||||
"\n",
|
||||
input,
|
||||
].join("\n"),
|
||||
|
@ -338,9 +337,8 @@ TestRegister.addTests([{
|
|||
expectedOutput: [
|
||||
"Verified: true",
|
||||
"Key ID: " + keyPair.keyID,
|
||||
"Signed on: ",
|
||||
"Signed by: " + keyPair.name,
|
||||
"Signed with: ",
|
||||
"Signed with: rsa_encrypt_sign",
|
||||
"\n",
|
||||
input,
|
||||
].join("\n"),
|
||||
|
@ -353,6 +351,16 @@ TestRegister.addTests([{
|
|||
op: "Verify PGP Cleartext",
|
||||
args: [keyPair.pub],
|
||||
},
|
||||
{
|
||||
op: "Find / Replace",
|
||||
args: [
|
||||
{option: "Regex", string: "Signed on: .*\r?\n"},
|
||||
"",
|
||||
true,
|
||||
false,
|
||||
false,
|
||||
],
|
||||
},
|
||||
],
|
||||
};
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue