mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
build(deps): bump openpgp from 5.0.0-2 to 5.0.0-3 (#1734)
This commit is contained in:
@@ -44,7 +44,7 @@
|
|||||||
"node-cache": "^5.1.2",
|
"node-cache": "^5.1.2",
|
||||||
"node-schedule": "^2.0.0",
|
"node-schedule": "^2.0.0",
|
||||||
"nodemailer": "^6.6.1",
|
"nodemailer": "^6.6.1",
|
||||||
"openpgp": "^5.0.0-2",
|
"openpgp": "^5.0.0-3",
|
||||||
"plex-api": "^5.3.1",
|
"plex-api": "^5.3.1",
|
||||||
"pug": "^3.0.2",
|
"pug": "^3.0.2",
|
||||||
"react": "17.0.2",
|
"react": "17.0.2",
|
||||||
|
@@ -41,7 +41,7 @@ class PGPEncryptor extends Transform {
|
|||||||
const validPublicKeys = await Promise.all(
|
const validPublicKeys = await Promise.all(
|
||||||
this._encryptionKeys.map((armoredKey) => openpgp.readKey({ armoredKey }))
|
this._encryptionKeys.map((armoredKey) => openpgp.readKey({ armoredKey }))
|
||||||
);
|
);
|
||||||
let privateKey: openpgp.Key | undefined;
|
let privateKey: openpgp.PrivateKey | undefined;
|
||||||
|
|
||||||
// Just return the message if there is no one to encrypt for
|
// Just return the message if there is no one to encrypt for
|
||||||
if (!validPublicKeys.length) {
|
if (!validPublicKeys.length) {
|
||||||
@@ -51,7 +51,7 @@ class PGPEncryptor extends Transform {
|
|||||||
|
|
||||||
// Only sign the message if private key and password exist
|
// Only sign the message if private key and password exist
|
||||||
if (this._signingKey && this._password) {
|
if (this._signingKey && this._password) {
|
||||||
privateKey = await openpgp.readKey({
|
privateKey = await openpgp.readPrivateKey({
|
||||||
armoredKey: this._signingKey,
|
armoredKey: this._signingKey,
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -135,8 +135,8 @@ class PGPEncryptor extends Transform {
|
|||||||
emailPartDelimiter +
|
emailPartDelimiter +
|
||||||
messageParts.join(emailPartDelimiter),
|
messageParts.join(emailPartDelimiter),
|
||||||
}),
|
}),
|
||||||
publicKeys: validPublicKeys,
|
encryptionKeys: validPublicKeys,
|
||||||
privateKeys: privateKey,
|
signingKeys: privateKey,
|
||||||
});
|
});
|
||||||
|
|
||||||
const body =
|
const body =
|
||||||
|
@@ -10293,10 +10293,10 @@ opener@^1.5.1:
|
|||||||
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
|
resolved "https://registry.yarnpkg.com/opener/-/opener-1.5.2.tgz#5d37e1f35077b9dcac4301372271afdeb2a13598"
|
||||||
integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==
|
integrity sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==
|
||||||
|
|
||||||
openpgp@^5.0.0-2:
|
openpgp@^5.0.0-3:
|
||||||
version "5.0.0-2"
|
version "5.0.0-3"
|
||||||
resolved "https://registry.yarnpkg.com/openpgp/-/openpgp-5.0.0-2.tgz#da54385eb9298c259bc6aa76ab556532298897d4"
|
resolved "https://registry.yarnpkg.com/openpgp/-/openpgp-5.0.0-3.tgz#08bbd878edc7c8e3c8443d8ace2c3b2236e3150c"
|
||||||
integrity sha512-es+5A50Y+4JbtV+eugLPW9v/UkUIOufeOUyTcjbG8SMILNaLY9nEwUSJKDjQOadY+16w7Uqt0FDQ3Z1Vq7/F9g==
|
integrity sha512-5Yzd7hjoCtR0m27yrM6+Li1RcuUPIyVJXKMfR82HJotfst5NEEQHxCyUJvDWc8SqKS53zFyTl0SlPaZ08C2PxA==
|
||||||
dependencies:
|
dependencies:
|
||||||
asn1.js "^5.0.0"
|
asn1.js "^5.0.0"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user