Skip to content

Conversation

@neuromechanist
Copy link

Summary

This PR adds support for displaying security status of LSL streams when using Secure LSL (sccn/secureLSL).

  • Display lock icon and fingerprint for encrypted streams
  • Show security mismatch detection with informative error dialogs
  • Update security helper to use native pylsl support when available

Dependencies

This PR requires the secure liblsl library from sccn/secureLSL (currently private, pending review).

Documentation: https://secure-lsl.pages.dev

Note

This is a draft PR. The secureLSL repository is not yet public; this PR is submitted for early review and discussion alongside the main secureLSL proposal for liblsl v2.

- Add lsl_security_helper.py to patch pylsl with security methods
- Display lock emoji prefix for encrypted streams in tree widget
- Show security status (Encrypted/Unencrypted) in status bar
- Capture security_enabled and security_fingerprint in stream metadata
- Requires liblsl with security API (lsl_get_security_enabled)
Check for native security_enabled/security_fingerprint methods before
patching. This maintains compatibility with both old pylsl and the
secure-lsl-support branch which adds native support.
- Add local_security_enabled() to check local security credentials
- Display error dialog when security config mismatch detected
- Show stream names in dialog before blocking connection
- Fix float-to-int conversion in paintEvent (PyQt5 compatibility)
- Allow users to retry with Update button after fixing credentials
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

Successfully merging this pull request may close these issues.

1 participant