Added tests

This commit is contained in:
Matt committed 2019-06-27 17:51:37 +01:00
1 parent 4c27a46d35
commit c46928aefe
3 files changed
+30 -3

No files matched your search

+1 -1
View File
@@ -101,8 +101,8 @@ class PGPDecryptAndVerify extends Operation {
text += "\n";
}
text += [
`PGP fingerprint: ${km.get_pgp_fingerprint().toString("hex")}`,
`PGP key ID: ${km.get_pgp_short_key_id()}`,
`PGP fingerprint: ${km.get_pgp_fingerprint().toString("hex")}`,
`Signed on ${new Date(ds.sig.when_generated() * 1000).toUTCString()}`,
"----------------------------------\n"
].join("\n");
+1 -1
View File
@@ -88,8 +88,8 @@ class PGPVerify extends Operation {
text += "\n";
}
text += [
`PGP fingerprint: ${km.get_pgp_fingerprint().toString("hex")}`,
`PGP key ID: ${km.get_pgp_short_key_id()}`,
`PGP fingerprint: ${km.get_pgp_fingerprint().toString("hex")}`,
`Signed on ${new Date(ds.sig.when_generated() * 1000).toUTCString()}`,
"----------------------------------\n"
].join("\n");