Skip to content

Tests fail with Node.js >= 4 #12

@hugo19941994

Description

@hugo19941994

One of the tests which builds a signed JWT with RS256 fails:

    1) should generate and read a JWT signed using RS256, privKey 1024
  1) Jwt Utils Tests should generate and read a JWT signed using RS256, privKey 1024:
     AssertionError: expected [Error: error:0607A082:digital envelope routines:EVP_CIPHER_CTX_set_key_length:invalid key length] to not exist
      at test/unit/jwt-utils-test.js:562:25
      at Object.buildJWT (lib/jwt-utils.js:425:16)
      at Context.<anonymous> (test/unit/jwt-utils-test.js:561:14)

Tested with Node.js 4, 6 and 8. iojs 2 works fine though

I will try to find what causes this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions