rustdesk / rustdesk/rustdesk-server

hbbs Hangs at Keypair Generation on Android ARMv7l

Open
#542 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
10.4k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
The hbbs server process hangs indefinitely at the "Generated new keypair for id" step when running on an Android ARMv7l device

Environment:

Device: Android ARMv7l (rooted)

RustDesk Server Version: 1.1.14
    [2025-04-15 07:05:29.121497 +00:00] INFO [src/common.rs:121] Private key comes from id_ed25519
    [2025-04-15 07:05:29.145399 +00:00] INFO [libs/hbb_common/src/config.rs:902] Generated new keypair for id:
    # ... (process hangs here)

How to Reproduce the bug
Run hbbs on Android ARMv7l:
RUST_LOG=trace ./hbbs

Expected behavior

hbbs generates keys and starts the server.
Pre-existing keys (if provided) are used instead of regeneration.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at libs/hbb_common/src/config.rs around line 902 and reproduce with RUST_LOG=trace ./hbbs on Android ARMv7l. Trace the keypair-generation step after the “Generated new keypair for id” log, comparing behavior with pre-existing keys if available. Done means hbbs generates keys and starts the server, while provided keys avoid regeneration.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, rust
Domain
backend, cryptography
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.