diff --git a/meshcentral.js b/meshcentral.js index b3bec37b..966aab21 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -2417,7 +2417,7 @@ function mainStart() { if (config.settings.no2factorauth !== true) { // Setup YubiKey OTP if configured if (yubikey == true) { modules.push('yubikeyotp'); } // Add YubiKey OTP support - if (allsspi == false) { modules.push('otplib'); } // Google Authenticator support + if (allsspi == false) { modules.push('otplib@10.2.3'); } // Google Authenticator support (v10 supports older NodeJS versions). } // Install any missing modules and launch the server diff --git a/package.json b/package.json index 4cb3d1ff..11caedb7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.4.9-y", + "version": "0.4.9-z", "keywords": [ "Remote Management", "Intel AMT", @@ -29,6 +29,7 @@ ], "dependencies": { "archiver": "^3.0.0", + "archiver-zip-encrypted": "^1.0.8", "body-parser": "^1.19.0", "cbor": "^4.1.5", "compression": "^1.7.4", @@ -45,9 +46,12 @@ "multiparty": "^4.2.1", "nedb": "^1.8.0", "node-forge": "^0.8.4", + "node-windows": "^1.0.0-beta.1", + "otplib": "^10.0.0", "ws": "^6.2.1", "xmldom": "^0.1.27", - "yauzl": "^2.10.0" + "yauzl": "^2.10.0", + "yubikeyotp": "^0.2.0" }, "devDependencies": {}, "repository": { diff --git a/public/translate.bat b/public/translate.bat index 3774e806..5500460f 100644 --- a/public/translate.bat +++ b/public/translate.bat @@ -1,5 +1,5 @@ @ECHO OFF CD ..\translate -%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node64 translate.js minifyall -%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node64 translate.js translateall -%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node64 translate.js extractall +%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js minifyall +%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js translateall +%LOCALAPPDATA%\..\Roaming\nvm\v12.13.0\node translate.js extractall \ No newline at end of file