Skip to content

Commit cee2aa9

Browse files
committed
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 <[email protected]>
1 parent 234171e commit cee2aa9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict'
22
// external modules
33
var Sequelize = require('sequelize')
4-
var scrypt = require('scrypt')
4+
var scrypt = require('@mlink/scrypt')
55

66
// core
77
var logger = require('../logger')

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"readline-sync": "^1.4.7",
112112
"request": "^2.88.0",
113113
"reveal.js": "~3.7.0",
114-
"scrypt": "^6.0.3",
114+
"@mlink/scrypt": "^6.1.2",
115115
"select2": "^3.5.2-browserify",
116116
"sequelize": "^3.28.0",
117117
"sequelize-cli": "^2.5.1",

0 commit comments

Comments
 (0)