Skip to content

Bug report: JWT sign broken again #2434

@Martin12350

Description

@Martin12350

Describe the bug
JWT sign is broken since version v10.23.0.
Looks like the same issue as in #1768
We can confirm from the channel log that in v10.23 jsonwebtoken was bumped to v9.0.0.

To Reproduce
Steps to reproduce the behavior or a link to the recipe / input used to cause the bug:

  1. Go to CyberChef
  2. Add JWT sign, key, and input
  3. Bake it
  4. See error:
Have you entered the key correctly? The key should be either the secret for HMAC algorithms or the PEM-encoded private key for RSA and ECDSA.

TypeError: Right-hand side of 'instanceof' is not an object

Desktop (if relevant, please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • CyberChef version: >10.23.0 (latest build: 11.0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions