Experimental (KDE): typing via XDG Desktop Portal RemoteDesktop instead of ydotoold/uinput

オープン
#96 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, shell
領域
desktop, security

調査の方向性

Start by checking the existing ydotoold typing backend and how insertion starts and stops it. Then prototype KDE Plasma RemoteDesktop portal typing and compare minimum supported versions, Unicode behavior, latency, reliability, restore-token handling, and session lifetime with ydotool. Done means those questions are answered and the experimental results clarify whether the backend is viable; the issue names no files or tests.

索引モデルが issue の本文から書いたものです。

説明

enhancement experimental privacy

Summary (experimental)

On KDE Plasma, HermesKey types via ydotoold, a session-long daemon with /dev/uinput access. Any process running as the user can send keystrokes through it into any window (terminals, password/polkit prompts), which bypasses Wayland's normal input isolation. This comes with ydotool's design, not a HermesKey bug, but it is the largest practical risk in the current architecture.

Experiment (KDE Plasma only)

Prototype a typing/paste backend using the XDG Desktop Portal RemoteDesktop interface via xdg-desktop-portal-kde:

  • the user approves keyboard access once via the portal dialog; Plasma 6 can remember that approval (restore tokens);
  • send keysyms/keycodes with NotifyKeyboardKeysym / NotifyKeyboardKeycode, or evaluate the newer libei route (ConnectToEIS, Plasma 6.1+);
  • no /dev/uinput access and no persistent socket other processes can use.

Questions to answer

  • Minimum Plasma / xdg-desktop-portal-kde version needed.
  • Is per-character keysym injection Unicode-safe? It could remove the clipboard requirement for non-ASCII text.
  • Latency and reliability compared with ydotool; handling of restore tokens.
  • Where the portal session lives (a small long-lived helper vs per-invocation).

Interim mitigation

Start ydotoold only for the duration of an insertion and stop it afterwards, shrinking the window in which other processes can use it.

Scope

KDE Plasma only. This is not a commitment to support other desktops. Status: experimental. May not ship; ydotool remains the default until the results are clear.

主要言語
Shell
スター
0
フォーク
0
平均マージ
16分
マージ済み PR(30日)
40

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

graygarbage/HermesKey のほかの issue

graygarbage/HermesKey の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。