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

New Password Criptography Strategy #8

Open
felippe-regazio opened this issue Oct 20, 2021 · 1 comment
Open

New Password Criptography Strategy #8

felippe-regazio opened this issue Oct 20, 2021 · 1 comment

Comments

@felippe-regazio
Copy link
Member

felippe-regazio commented Oct 20, 2021

Passwords are saved with MD5+Salt. Thats... meh... ok.
But there are more robust solutions like bcrypt or argon2.
Consider to add a new encryption strategy for passwords.

Stages:

  1. Add a new key "encryption" on credentials model that tells which encryption algorithm to use
  2. Based on the encryption key decide which strategy to use when enc/dec passwords
  3. Must study and validate new alternatives of enc/dec
@rgsilva
Copy link

rgsilva commented Nov 13, 2021

You probably already know this (based on the fact you're using md5+salt), but I got the chills when I read the "/dec passwords" part 😂: you shouldn't be able to decrypt user passwords.

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

2 participants