emschwartz / ilp-protocol-paystream

Duplex payment streams over ILP (and PSK)
https://github.com/interledger/rfcs/issues/388
2 stars 2 forks source link

feat: prepend 'payment-socket:' to shared secret #20

Closed emschwartz closed 6 years ago

emschwartz commented 6 years ago

This ensures that payment sockets know if they are connecting to another payment socket. It also ensures that requests from other PSK2 senders will be rejected (because they won't know to strip off the prefix and thus will use the wrong shared secret)

resolves https://github.com/emschwartz/ilp-protocol-paystream/issues/14