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

Authentication/Authorization/Encryption #11

Open
founderio opened this issue Mar 30, 2024 · 0 comments
Open

Authentication/Authorization/Encryption #11

founderio opened this issue Mar 30, 2024 · 0 comments

Comments

@founderio
Copy link

AFAIK, the wyoming protocol currently does not encrypt traffic, nor does it confirm the authenticity of any connected peer, nor does it have any authorization controls.

For the privacy-minded, which this project caters to, there should be some way to secure communication between wyoming nodes.

I think this is a good starting point for discussion:

  • Encryption. Given that many installs are likely in local environments, without proper SSL certificates set up (which is another issue, but another story), an automatic key exchange is probably favorable.
  • Authentication. See above - could work hand-in-hand.
  • Authorization. Control which node (since we now know who we are talking to) can control which features.
    There should be a minimum separation between privacy-related and non-privacy-related activities.
    e.g.: Streaming audio in either direction, privacy-related. Deciding if streamed audio is a wakeword: Likely not as important.

See also a related discussion here: rhasspy/wyoming-satellite#144 (comment)

Keep in mind that I am no security expert, so take the ideas above with a grain of salt.

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

No branches or pull requests

1 participant