From cee2aa92f9244d1dcfc65c5553f5d7f0bbfb3871 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Tue, 20 Nov 2018 01:26:10 +0100 Subject: [PATCH] Switch scrypt library to a successor Since our previous scrypt library is unmaintained since 3 years, it's time to look for an alternative. A refactoring towards another password algorithm was worked on and this is probably still the way to go. But for now the successor of our previous library should already be enough. https://www.npmjs.com/package/scrypt (old library) https://github.com/ml1nk/node-scrypt (new library) Signed-off-by: Sheogorath --- lib/models/user.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/models/user.js b/lib/models/user.js index 2ebf6d0..648db73 100644 --- a/lib/models/user.js +++ b/lib/models/user.js @@ -1,7 +1,7 @@ 'use strict' // external modules var Sequelize = require('sequelize') -var scrypt = require('scrypt') +var scrypt = require('@mlink/scrypt') // core var logger = require('../logger') diff --git a/package.json b/package.json index 9779108..2edd1af 100644 --- a/package.json +++ b/package.json @@ -111,7 +111,7 @@ "readline-sync": "^1.4.7", "request": "^2.88.0", "reveal.js": "~3.7.0", - "scrypt": "^6.0.3", + "@mlink/scrypt": "^6.1.2", "select2": "^3.5.2-browserify", "sequelize": "^3.28.0", "sequelize-cli": "^2.5.1",