Skip to content

nodejs - signing & verification should use raw payload instead of formatting #70

Description

@BLR-0118

utilities/ondc-crypto-sdk-nodejs/src/utility/index.ts:

  1. createAuthorizationHeader uses JSON.stringify on the raw payload and then signs this formatted payload; this should be removed;
  2. verifyHeader uses JSON.stringify on the raw payload and verifies with this formatted payload; this should be removed;

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