Skip to content

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

@arucker1021

Description

@arucker1021
 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions