Skip to content

Turbo signed-stream-name never expires #85

@eliotsykes

Description

@eliotsykes

Turbo's signed stream names provided by turbo_stream_from never expire: hotwired/turbo-rails#61

Example of how this could be a problem

  • Turbo stream is generated for a @team of users:
<%= turbo_stream_from @team %>
  • A team member saves the generated signed-stream-name, or keeps a page open containing the generated <turbo-cable-stream-source signed-stream-name=...> tag in their browser.
  • This team member is removed from the @team.
  • The removed team member can still receive data from the turbo stream as they have the signed-stream-name.

Potential mitigations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions