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

Sign function has a while loop that does nothing with the result #5

Open
arucker1021 opened this issue Oct 22, 2020 · 0 comments
Open

Comments

@arucker1021
Copy link

arucker1021 commented Oct 22, 2020

 var result = [];
      var current;

      while (!(current = it.next()).done) {
        result.push([current.value[1], characters[i]]);
        i++;
      }

      // TODO Test utf8ToUint8Array function
      var messageAsUint8Array = utf8ToUint8Array(partialToken);

This block of code in the signJWT function does nothing with the result that it iterates over. I was also not able to get a JWT with a verifiable signature but wanted to mainly point out that the above code seems useless

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