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

Account Auth incorrectly saving user-supplied password as type 'token' #68

Open
casconed opened this issue Mar 4, 2016 · 1 comment

Comments

@casconed
Copy link

casconed commented Mar 4, 2016

in tools/setup.js the auth type is hardwired as token, even if the user supplies a password. This results in padding being inappropriately applied when decrypting the password later.

@casconed
Copy link
Author

casconed commented Mar 4, 2016

Padding applied in src/lib/models/account_auth.js in getPassword. However it also looks like login_primary is disabled in cmpPassword so the option to set a password in setup.js should probably be disabled as well.

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