Skip to content

make length verification configurable (enable/disable) #618

@op-euga

Description

@op-euga

since upgrading to 7.x I always get the error "Provided key is too short" when decoding. I am using HS256 but the key is 18 chars long.
as I cannot change the key (external service) and still want to use an actual version of this lib, it would be nice to be able to disable the length check.

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