[GH-ISSUE #233] Encryption and CLI #110

Closed
opened 2026-05-05 22:09:48 -06:00 by gitea-mirror · 11 comments
Owner

Originally created by @xf- on GitHub (Nov 10, 2024).
Original GitHub issue: https://github.com/feschber/lan-mouse/issues/233

I have existing connections and encryption got added. I looked throw the commit and README and only GUI was referenced for verifying keys and list has no commands like that in CLI.

Can I update existing connections without editing TOML files in CLI?

Originally created by @xf- on GitHub (Nov 10, 2024). Original GitHub issue: https://github.com/feschber/lan-mouse/issues/233 I have existing connections and encryption got added. I looked throw the commit and README and only GUI was referenced for verifying keys and list has no commands like that in CLI. Can I update existing connections without editing TOML files in CLI?
Author
Owner

@feschber commented on GitHub (Nov 10, 2024):

Not right now, but I plan to add it.
I want to rework the cli a little bit so I will probably do it together with that.

<!-- gh-comment-id:2466978971 --> @feschber commented on GitHub (Nov 10, 2024): Not right now, but I plan to add it. I want to rework the cli a little bit so I will probably do it together with that.
Author
Owner

@xf- commented on GitHub (Nov 10, 2024):

Yeah, noticed all the changes, all the new feature/module names in cargo

<!-- gh-comment-id:2466979720 --> @xf- commented on GitHub (Nov 10, 2024): Yeah, noticed all the changes, all the new feature/module names in cargo
Author
Owner

@xf- commented on GitHub (Nov 11, 2024):

Not right now, but I plan to add it. I want to rework the cli a little bit so I will probably do it together with that.

Hard to debug so far, but the current state is really unstable. Cursors are often looked to a display (client or host). I need to Press Sift+Ctrl+Alt+Meta on a regular basis to release the cursor or be able to move to second screen. Also, I sometimes get 2 cursors, moving parallel. That looks strange. One on client and other one on server.
(I know that is a separate issue, but I have no debug data at the moment)

<!-- gh-comment-id:2467936729 --> @xf- commented on GitHub (Nov 11, 2024): > Not right now, but I plan to add it. I want to rework the cli a little bit so I will probably do it together with that. Hard to debug so far, but the current state is really unstable. Cursors are often looked to a display (client or host). I need to Press Sift+Ctrl+Alt+Meta on a regular basis to release the cursor or be able to move to second screen. Also, I sometimes get 2 cursors, moving parallel. That looks strange. One on client and other one on server. (I know that is a separate issue, but I have no debug data at the moment)
Author
Owner

@feschber commented on GitHub (Nov 11, 2024):

seems like I have to test KDE again

<!-- gh-comment-id:2467969147 --> @feschber commented on GitHub (Nov 11, 2024): seems like I have to test KDE again
Author
Owner

@feschber commented on GitHub (Nov 11, 2024):

Is the duplicate cursor showing up only with the "shake cursor" effect?
Because I know of this issue in KDE.

<!-- gh-comment-id:2467973359 --> @feschber commented on GitHub (Nov 11, 2024): Is the duplicate cursor showing up only with the "shake cursor" effect? Because I know of [this](https://github.com/feschber/lan-mouse/issues/140#issuecomment-2239187121) issue in KDE.
Author
Owner

@xf- commented on GitHub (Nov 11, 2024):

Server
cargo build --release --no-default-features --features libei_capture

Client
cargo build --release --no-default-features --features libei_emulation

I can add more, but I prefer to keep it small

Maybe it is the shake, but I never had that before. e.g., I restarted on client and mouse is captured every time I entered. It feels like keys are pressed/stuck. Had that issue before with high traffic (far below interface ratings and connection speed)

Edit: If I add the capture on client as well, it works a lot better.

<!-- gh-comment-id:2467980862 --> @xf- commented on GitHub (Nov 11, 2024): Server cargo build --release --no-default-features --features libei_capture Client cargo build --release --no-default-features --features libei_emulation I can add more, but I prefer to keep it small Maybe it is the shake, but I never had that before. e.g., I restarted on client and mouse is captured every time I entered. It feels like keys are pressed/stuck. Had that issue before with high traffic (far below interface ratings and connection speed) Edit: If I add the capture on client as well, it works a lot better.
Author
Owner

@feschber commented on GitHub (Nov 11, 2024):

If I add the capture on client as well, it works a lot better.

Could you clarify what you mean by this?

<!-- gh-comment-id:2468001636 --> @feschber commented on GitHub (Nov 11, 2024): > If I add the capture on client as well, it works a lot better. Could you clarify what you mean by this?
Author
Owner

@feschber commented on GitHub (Nov 11, 2024):

It feels like keys are pressed/stuck. Had that issue before with high traffic (far below interface ratings and connection speed)

I think I have broken the key release when the release bind is pressed.

<!-- gh-comment-id:2468004249 --> @feschber commented on GitHub (Nov 11, 2024): > It feels like keys are pressed/stuck. Had that issue before with high traffic (far below interface ratings and connection speed) I think I have broken the key release when the release bind is pressed.
Author
Owner

@xf- commented on GitHub (Nov 11, 2024):

If I add the capture on client as well, it works a lot better.

Could you clarify what you mean by this?

Running this on the client:
cargo build --release --no-default-features --features libei_emulation,libei_capture

Without capture, I was often unable to release the mouse

<!-- gh-comment-id:2468006171 --> @xf- commented on GitHub (Nov 11, 2024): > > If I add the capture on client as well, it works a lot better. > > Could you clarify what you mean by this? Running this on the client: cargo build --release --no-default-features --features libei_emulation,libei_capture Without capture, I was often unable to release the mouse
Author
Owner

@xf- commented on GitHub (Nov 11, 2024):

Lol, something is really strange.
If I'm on the client, I will get focus state scrollbars on server, but no cursor or clicks or other issues, but it moves around like a ghost.

<!-- gh-comment-id:2468022702 --> @xf- commented on GitHub (Nov 11, 2024): Lol, something is really strange. If I'm on the client, I will get focus state scrollbars on server, but no cursor or clicks or other issues, but it moves around like a ghost.
Author
Owner

@feschber commented on GitHub (Feb 7, 2026):

This is now supported through lan-mouse cli authorize-key / lan-mouse cli remove-authorized-key

<!-- gh-comment-id:3864628019 --> @feschber commented on GitHub (Feb 7, 2026): This is now supported through `lan-mouse cli authorize-key` / `lan-mouse cli remove-authorized-key`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/lan-mouse#110
No description provided.