Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
chadfurman opened this issue Sep 24, 2017 · 1 comment
Open

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

chadfurman opened this issue Sep 24, 2017 · 1 comment

Comments

@chadfurman
Copy link

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
Copy link
Author

Abstract db interface: #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant