Skip to content

Commit

Permalink
Update openpgpjs to version v2.6.2-2
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <[email protected]>
  • Loading branch information
nguyennv committed Nov 26, 2021
1 parent 9dece96 commit 92ddbc0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions openpgp_zimbra_secure/js/openpgpjs/openpgp.js
Original file line number Diff line number Diff line change
Expand Up @@ -5196,7 +5196,7 @@ exports.default = {
tolerant: true, // ignore unsupported/unrecognizable packets instead of throwing an error
show_version: true,
show_comment: true,
versionstring: "OpenPGP.js v2.6.2-1",
versionstring: "OpenPGP.js v2.6.2-2",
commentstring: "https://openpgpjs.org",
keyserver: "https://keyserver.ubuntu.com",
node_store: './openpgp.store'
Expand Down Expand Up @@ -12666,14 +12666,14 @@ function armor(messagetype, body, partindex, parttotal) {
case _enums2.default.armor.multipart_section:
result.push("-----BEGIN PGP MESSAGE, PART " + partindex + "/" + parttotal + "-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP MESSAGE, PART " + partindex + "/" + parttotal + "-----\r\n");
break;
case _enums2.default.armor.multipart_last:
result.push("-----BEGIN PGP MESSAGE, PART " + partindex + "-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP MESSAGE, PART " + partindex + "-----\r\n");
break;
Expand All @@ -12683,35 +12683,35 @@ function armor(messagetype, body, partindex, parttotal) {
result.push(body.text.replace(/\n-/g, "\n- -"));
result.push("\r\n-----BEGIN PGP SIGNATURE-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body.data));
result.push(_base2.default.encode(body.data).trim());
result.push("\r\n=" + getCheckSum(body.data) + "\r\n");
result.push("-----END PGP SIGNATURE-----\r\n");
break;
case _enums2.default.armor.message:
result.push("-----BEGIN PGP MESSAGE-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP MESSAGE-----\r\n");
break;
case _enums2.default.armor.public_key:
result.push("-----BEGIN PGP PUBLIC KEY BLOCK-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP PUBLIC KEY BLOCK-----\r\n\r\n");
break;
case _enums2.default.armor.private_key:
result.push("-----BEGIN PGP PRIVATE KEY BLOCK-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP PRIVATE KEY BLOCK-----\r\n");
break;
case _enums2.default.armor.signature:
result.push("-----BEGIN PGP SIGNATURE-----\r\n");
result.push(addheader());
result.push(_base2.default.encode(body));
result.push(_base2.default.encode(body).trim());
result.push("\r\n=" + getCheckSum(body) + "\r\n");
result.push("-----END PGP SIGNATURE-----\r\n");
break;
Expand Down
4 changes: 2 additions & 2 deletions openpgp_zimbra_secure/js/openpgpjs/openpgp.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion openpgp_zimbra_secure/js/openpgpjs/openpgp.worker.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 92ddbc0

Please sign in to comment.