Skip to content

Turning OSC 52 selection reading on (and off) on the fly #4022

Closed
@dluciv

Description

@dluciv

The matter
OSC 52 is quite useful to work with, but, when logging into untrusted remote hosts, it lacks a security: remote software can read local selsctions without notifying the user.

It is not a Kitty issue (so not posting it as a security problem), but rather all terminals, supporting OSC 52 for selection sharing. Being first to handle this in the right way, Kitty can set a good example to others.

Possible solutions
Either make selection reading switchable in runtime (probably be by the kitten invoked for a hotkey) or, on the first per-session attempt to read user selection, ask the user if they want to allow or disallow it. Actually the both approaches look very friendly to the user.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions