Skip to content

pmlib.rs.KJUR.crypto.Signature returns undefined in pre request script #37

@Tanvir1080

Description

@Tanvir1080

Hello,
I'm trying to use this library for RSA256 asymmetric encryption and I've generated a generic private and public key pair, but when I do pmlib.rs.KJUR.crypto.Signature({"alg": "SHA256WithRsa"}); and then log it to verify it's created I get undefined and when I do sig.init(privateKey) i get an error saying "Cannot read properties of undefined (reading "init")"

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions