Skip to content

Move pylsl into the monorepo as a component #8

Description

@neuromechanist

Part of the centralized-monorepo plan: the whole secure stack lives in sccn/secureLSL.

Scope

Bring the security-enabled pylsl binding in as a component (e.g. bindings/pylsl/ or apps/pylsl/).

Current state: neuromechanist/pylsl, branch feature/secure-lsl-support, two commits on top of upstream.

Measured diff vs upstream: 170 insertions across 4 files, zero references to sodium/ChaCha/Ed25519.

The change is ctypes signature declarations plus two properties (security_enabled, security_fingerprint) calling public liblsl C functions, already wrapped in try/except AttributeError with _security_api_available flags so it degrades to a no-op on stock liblsl.

Tasks

  • Vendor the component, preserving upstream pylsl's own LICENSE file in its directory
  • Add an entry to THIRD-PARTY-NOTICES.md (blocked on Include verbatim third-party license notices #6 / Include verbatim third-party license notices #7)
  • Scope any added proprietary notice to the security additions only, not the upstream binding
  • Add docs/integration/pylsl.md covering the security API surface and graceful degradation
  • Add to mkdocs nav
  • Record the upstream commit the component is based on, so release tracking is auditable

Note

The integration contains no cryptography, so the proprietary scope should cover the added code, not the vendored upstream binding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions