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

Đang mở
#96 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
linux, shell
Lĩnh vực
desktop, security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Shell
Star
0
Fork
0
Merge trung bình
16 phút
Pull request đã merge (30 ngày)
40

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của graygarbage/HermesKey

Tất cả issue của graygarbage/HermesKey

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.