Bug Fixes

This commit is contained in:
Benjamin Toby
2024-11-05 15:18:40 +01:00
parent 3cdf78e58d
commit 748ff55092
507 changed files with 3719 additions and 1231 deletions
@@ -1415,7 +1415,7 @@ module.exports = require("path");
var __webpack_require__ = require("../../../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,5304,9395,424,1781,4114,1503,5313,1336,2434], () => (__webpack_exec__(8858)));
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5264,6729,4480,424,1781,4114,1503,5313,1336,2434], () => (__webpack_exec__(8858)));
module.exports = __webpack_exports__;
})();
File diff suppressed because one or more lines are too long
@@ -5,6 +5,37 @@ exports.id = 8021;
exports.ids = [8021];
exports.modules = {
/***/ 5304:
/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
// @ts-check
const { scryptSync , createDecipheriv } = __webpack_require__(6113);
const { Buffer } = __webpack_require__(4300);
/**
* @param {string} encryptedString
* @returns {string | null}
*/ const decrypt = (encryptedString)=>{
const algorithm = "aes-192-cbc";
const password = process.env.DSQL_ENCRYPTION_PASSWORD || "";
const salt = process.env.DSQL_ENCRYPTION_SALT || "";
let key = scryptSync(password, salt, 24);
let iv = Buffer.alloc(16, 0);
// @ts-ignore
const decipher = createDecipheriv(algorithm, key, iv);
try {
let decrypted = decipher.update(encryptedString, "hex", "utf8");
decrypted += decipher.final("utf8");
return decrypted;
} catch (error) {
return null;
}
};
module.exports = decrypt;
/***/ }),
/***/ 5740:
/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
@@ -309,7 +340,7 @@ module.exports = require("http");
var __webpack_require__ = require("../../../webpack-runtime.js");
__webpack_require__.C(exports);
var __webpack_exec__ = (moduleId) => (__webpack_require__(__webpack_require__.s = moduleId))
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,5304,1503,5313,1336], () => (__webpack_exec__(5740)));
var __webpack_exports__ = __webpack_require__.X(0, [4017,8313,1503,5313,1336], () => (__webpack_exec__(5740)));
module.exports = __webpack_exports__;
})();
File diff suppressed because one or more lines are too long