Skip to content

Bug report: "JWT sign" for RS256 is broken since version v10.13.0 #1768

@gloryknight

Description

@gloryknight

Describe the bug
"JWT sign" and "JWT verify" for RS256 are broken since version v10.13.0 (last working version is v10.10.0).

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

  1. Go to 'CyberChef'
  2. Click on 'BAKE!'
  3. In the output window
  4. See error: TypeError: Right-hand side of 'instanceof' is not an object

Expected behaviour
Signed JWT. Works with version is v10.10.0.

Screenshots
image

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

  • OS: Windows
  • Browser: chrome 123.0.6312.59 (Official Build) (64-bit)
  • CyberChef version: > v10.14.0

Additional context
There might be other functions affected which I did not check.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions