Skip to content

Support for custom sign / verify algorithms #34

@g-p-g

Description

@g-p-g

Would you consider accepting an object for the algorithm parameter in jwsVerify, as well checking for the presence of opts.algo in jwsSign? This would involve checking for string vs object to decide whether to use jwa or use it as is.

This way someone could pass {sign: function, verify: function} to support custom algorithms without needing to rewrite this module.

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