Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Consider updating StreamReceiver to encrypt token #474

@sappenin

Description

@sappenin

The latest JS ilp-protocol-stream is no longer generating a random token, but is instead encrypting it based upon the server secret. We should consider doing the same.

See code here: https://github.com/interledgerjs/ilp-protocol-stream/blob/master/src/server.ts#L200

Also see note here describing the differences: https://github.com/interledgerjs/interledgerjs/blob/master/packages/pay/src/controllers/asset-details.ts#L73

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