Skip to content

Transition to SubtleCrypto from Node's crypto module #416

Open
@raducristianpopa

Description

@raducristianpopa

Context

Currently, using @interledger/http-signature-utils and @interledger/open-payments outside of a Node environment is impractical, primarily due to the use on Node's crypto module. The SubtleCrypto API, while accessible in both browser and Node environments, does not yet offer support for Ed25519 or is experimental:

  • In Chromium-based browsers, the algorithm is accessible by activating the Experimental Web Platform Features flag
  • In Firefox there is no support the algorithm;
  • Safari has support in a stable release;
  • In Node, the Ed25519 algorithm is still considered experimental;

Ed25519 implementation status

Todos

  • Transition to SubtleCrypto from Node's crypto module once the Ed25519 curve support becomes stable across all browsers
    • @interledger/http-signature-utils
    • @interledger/open-payments

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions