authentication-service icon indicating copy to clipboard operation
authentication-service copied to clipboard

Postgres's pgcrypto would be better here (but less portable)

Open chadfurman opened this issue 6 years ago • 1 comments

https://github.com/clevertech/authentication-service/blob/master/src/utils/passwords.js

For postgres users, it would be better to use pgcrypto's built-in crypt function. We need a way to abstract out db-specific stuff rather than relying on Knex to "just work" across all DBs (and thus losing advanced features of specific DBs)

chadfurman avatar Sep 24 '17 22:09 chadfurman