Skip to content

crypto.publicDecrypt doesn't seem to work #30237

Description

@yovanoc
  • Version: 13.0.1
  • Platform: MacOS Catalina

image

pub doesn't work. Only priv and bob.publicKey but I know that priv should work because in docs: Because RSA public keys can be derived from private keys, a private key may be passed instead of a public key. I really want to know why pub isn't working.

It's showing that:

image

Activity

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

    cryptoIssues and PRs related to the crypto subsystem.questionIssues asking questions about Node.js.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions