Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLESocket is not party aware #25

Open
sevenbitbyte opened this issue Sep 13, 2021 · 0 comments
Open

BLESocket is not party aware #25

sevenbitbyte opened this issue Sep 13, 2021 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@sevenbitbyte
Copy link
Member

Make BLE comms party aware, should work more similarly to RTCSocketComms

  • Rename BLEPeerClient -> BLEPeerComms
  • Refactor BLEPeerClient to match security approach used in RTCSocketComms
    • Constructor BLEPeerComms({remoteIdentity, host, party, bleDevice}) extends SocketComms
    • Encrypt obj using party before transmit in BLEPeerComms.send(obj)
    • Decrypt buffer.data before emit in BLEPeerComms.onRx(event)
@sevenbitbyte sevenbitbyte added bug Something isn't working enhancement New feature or request labels Sep 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant