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

while http server is running argon cannot perform verify and after the request timesout catch blog of promise says decoding failed #37

Closed
1 task
ta3pks opened this issue Mar 12, 2016 · 1 comment

Comments

@ta3pks
Copy link

ta3pks commented Mar 12, 2016

Welcome to the issues section if it's your first time!

Before creating an issue, please be sure to:

  • [ x] Checkout to the latest version, including submodules
  • Try to find an isolated way to reproduce the behavior
  • [x ] Fill in all the blanks in the most specific way you can

Steps to reproduce

1.create a http server
2.on data get the post value
3.on end connect to database(mongodb) and after results come back verify the password sent with http post against hash in db

Expected behaviour

should end the response with fail or success whether pass is right or wrong

Actual behaviour

then block or catch block never runs while http socket is opened and when user times out or cancels the request it gives the message "decoding failed"

Environment

Operating system:
ubuntu 15.10 kernel 4.3
Node version:
4x
Compiler version:
gcc version 5.2.1 20151010 (Ubuntu 5.2.1-22ubuntu2)

@ranisalt
Copy link
Owner

Duplicate of #33, seems to be more an issue with v8's promises and I'm trying to workaround.

jniles added a commit to IMA-WorldHealth/wenge that referenced this issue Mar 17, 2016
Due to ranisalt/node-argon2#37, I've had to
abandon argon2 in favor of bcrypt for now.  The code is migrated, but
the login helper tests still need to be updated appropriately.
ranisalt added a commit that referenced this issue Apr 7, 2016
@ranisalt ranisalt closed this as completed Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants