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

Consider updating StreamReceiver to encrypt token #474

Open
sappenin opened this issue Nov 8, 2020 · 0 comments
Open

Consider updating StreamReceiver to encrypt token #474

sappenin opened this issue Nov 8, 2020 · 0 comments

Comments

@sappenin
Copy link
Contributor

sappenin commented Nov 8, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant