Commit Graph

96 Commits

Author SHA1 Message Date
RustDesk
f08ce5d6d0 Merge pull request #507 from fufesou/fix/permanent-password-hash
refact(password): Store permanent password as hashed verifier
2026-03-25 17:34:08 +08:00
RustDesk
9e72564677 OPTION_USE_RAW_TCP_FOR_API 2026-03-24 15:25:35 +08:00
fufesou
5519c4c289 fix(password): set_salt, comments and logs
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-23 16:50:57 +08:00
fufesou
f8358bd17e fix(password): set_salt(), check if is empty, fix condition
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-23 16:33:26 +08:00
fufesou
2d7b848516 fix(password): set_salt(), check if is empty
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-23 16:28:56 +08:00
fufesou
485e2f7e22 fix(password): use password, best effort
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-23 12:18:42 +08:00
fufesou
6fcda1dcc4 fix(password): get_salt() always return value
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 20:25:26 +08:00
fufesou
01b192c068 fix(password): remoev unused import
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 19:45:37 +08:00
fufesou
ace5eedc33 fix(password): remove unnecessary check
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 19:41:48 +08:00
fufesou
ebf41b8524 fix(password): remove unnecessary check
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 19:11:26 +08:00
fufesou
fc9d521f0b fix(password): sync config, check equal
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 19:05:04 +08:00
fufesou
71be0dcd8d fix(password): remove invalid check
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 17:08:12 +08:00
fufesou
6bc0ee0e8f fix(password): has_local_permanent_password()
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 15:36:22 +08:00
fufesou
325b8841ea fix(password): remove has_local_permanent_password
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-22 11:35:28 +08:00
fufesou
70f22e69c8 fix(password): Comments log error
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-21 09:44:08 +08:00
fufesou
cf9c930439 Merge branch 'main' into fix/permanent-password-hash 2026-03-21 09:10:29 +08:00
fufesou
4435f19066 fix(password): do not update salt when updating permanent password
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-20 21:55:38 +08:00
fufesou
5d5f12a5ac fix(password): guard set_permanent_password_storage_for_sync()
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-19 21:23:29 +08:00
RustDesk
63f3f05b52 Revert "harden IPC path layout & permissions (per-UID dirs + service-scoped sockets)" 2026-03-19 21:10:13 +08:00
RustDesk
f89e9af072 Merge pull request #502 from fufesou/fix/ipc-unauthorized-access
harden IPC path layout & permissions (per-UID dirs + service-scoped sockets)
2026-03-19 20:43:39 +08:00
fufesou
37802208aa fix(password): update salt in set_permanent_password()
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-19 11:54:20 +08:00
fufesou
b662b38d30 fix(password): comment TODO clear devices
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-19 11:06:34 +08:00
fufesou
d98d20896e refact(password): Store permanent password as hashed verifier
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-18 17:16:50 +08:00
fufesou
204359b8cf hbb_common: harden ipc path permissions
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-03-15 09:53:13 +08:00
21pages
035c3198c8 option hide-stop-service
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-03-05 17:21:21 +08:00
RustDesk
ae3726dd5f Add OPTION_AVATAR constant to config 2026-03-02 11:59:42 +08:00
fufesou
9b0cff8c76 feat(config): allow auto update
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-02-27 21:02:55 +08:00
RustDesk
0b60b9ffa0 Add display_name field to configuration struct 2026-02-19 09:42:48 +08:00
RustDesk
da339dca64 Merge pull request #489 from 21pages/fix_key_pair_set
fix: invalidate key_pair cache instead of setting directly
2026-02-14 17:46:02 +08:00
21pages
13c4fb3f7d fix: invalidate key_pair cache instead of setting directly
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-02-14 12:48:15 +08:00
21pages
5d2acc7340 fix: improve machine_uid handling and add pk decryption fallback
- Cache machine_uid in get_uuid with retry logic for macOS
  - Fallback to pk decryption when machine_uid decryption fails
  - Add is_encrypted check to prevent duplicate encryption
  - Add get_existing_key_pair to get key pair without generating new one

Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-02-14 11:11:03 +08:00
21pages
de0d7fded0 update key pair when set config
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-01-29 20:26:00 +08:00
RustDesk
7d93d5af48 OPTION_KEEP_AWAKE_DURING_INCOMING_SESSIONS 2026-01-19 18:34:54 +08:00
21pages
73ab9575fd add options: disable-change-permanent-password, disable-change-id, disable-unlock-pin
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-12-30 22:53:40 +08:00
RustDesk
fa157108be Merge pull request #466 from fufesou/feat/linux_get_home_trusted
feat: linux, get_home_trusted
2025-12-23 00:17:12 +08:00
fufesou
6df5c2c0ce feat: linux, get_home_trusted
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-12-22 23:18:35 +08:00
RustDesk
fe48b5e8e8 Merge pull request #458 from fufesou/feat/fs_read_cm
feat(fs): add init_data_stream_for_cm for cm reading
2025-12-18 15:41:59 +08:00
21pages
af5227a537 support restore preset password except clear password
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-12-16 11:33:10 +08:00
fufesou
98f58b97f2 feat(fs): add init_data_stream_for_cm for cm reading
Add new method `init_data_stream_for_cm()` to TransferJob to support
file reading and digest handling in Connection Manager (CM) context.

Signed-off-by: fufesou <linlong1266@gmail.com>
2025-12-07 16:20:15 +08:00
RustDesk
047356d949 Merge pull request #436 from lichon/main
add webrtc stream
2025-11-26 09:37:53 +08:00
fufesou
44462174cf Refact: Remove unused code to avoid confusion.
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-17 15:48:20 +08:00
lc
7cb29b1117 add ice-servers config 2025-11-16 18:43:31 +08:00
RustDesk
6e2671e951 Merge pull request #437 from fufesou/fix/wayland_resolution
fix: Wayland mouse misalignment
2025-11-13 11:46:21 +08:00
21pages
c0b279f80a local option allow-ask-for-note
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-11-13 11:06:17 +08:00
fufesou
4fe91763b7 fix: Wayland resolution
1. Add filed `scale` in `message SwitchDisplay`(`message.proto`).
2. Add new function to get all display info.
3. Add help link of KDE Plasma Wayland.

Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-12 23:16:04 +08:00
RustDesk
9b53baeffe Merge pull request #430 from 21pages/refactor-edge-scroll-edge-thickness
optioin `edge-scroll-edge-thickness`
2025-11-06 23:06:49 +08:00
21pages
48042dd916 optioin edge-scroll-edge-thickness
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-11-06 18:35:26 +08:00
fufesou
2be0b865b9 fix: advanced option tls fallback
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-04 20:52:50 +08:00
Jonathan Gilbert
a8e31504b0 Added scrolledge as a recognized possible value for the setting with key OPTION_SCROLL_STYLE in config.rs. 2025-11-03 00:09:36 -06:00
RustDesk
b55451eeca Merge pull request #403 from fufesou/refact/tls_nativetls_fallback_rustls
refact: tls, native-tls fallback rustls-tls
2025-11-02 21:36:32 +08:00