Skip to content

doc: crypto sign.sign() signature description missing options #22813

Description

@mscdex
  • Version: master
  • Platform: n/a
  • Subsystem: doc

Relevant link

sign.sign() currently only lists key and passphrase in the signature description, but the general function description also includes padding and saltLength as additional options.

Activity

  1. added
    cryptoIssues and PRs related to the crypto subsystem.
    docIssues and PRs related to Node.js documentation.
    good first issueIssues that are suitable for first-time contributors.
    on Sep 12, 2018
  2. darshanjayadev commented on Sep 12, 2018

    @darshanjayadev

    Yes, as described in sign.sign() - the required parameter privateKey is either a <string> or <object>. If it is an <object> , it must contain one or more of these properties - key , passphrase , padding and saltLength.

    Can I move forward to add the missing padding and saltLength options to signature description?

  3. nadaa commented on Sep 12, 2018

    @nadaa

    Hi,
    I will work on this?
    Thanks

  4. siddhant1 commented on Sep 15, 2018

    @siddhant1
    Contributor

    Any open task to pick up on this one?

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.docIssues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions