Skip to content

Signing with undefined secret never gets resolved #286

Open

Description

@robertrossmann

Currently there is a bug in node-jws where supplying undefined or other falsy value to secret results in the signing process never running to completion.

The solution for the problem is known and should probably be fixed upstream, but since this directly affects this library as well and given its popularity I thought I'd let you know. Perhaps you'd like to make sure secret has a value before handing it over to JWS for signing, I do not see much use of using undefined as my secret, anyway.

Good luck and merry Christmas! 🎁 🎅

Activity

  1. ziluvatar commented on Aug 17, 2017

    @ziluvatar
    Contributor

    After a breaking change detected on the fix developed for this issue, this bug remains open only for the case where the algorithm is none and the consumer is using callback-ish code style.
    We'll need to think how to fix that or try to fix the bug in jws.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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