Commit Graph

166 Commits

Author SHA1 Message Date
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
fufesou
1f5ec1219f refact(crate): libloading x11
Signed-off-by: fufesou <linlong1266@gmail.com>
2026-01-21 11:09:44 +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
lc
812fc3a5cb fix too much webrtc logs 2025-11-27 20:06:19 +08:00
RustDesk
047356d949 Merge pull request #436 from lichon/main
add webrtc stream
2025-11-26 09:37:53 +08:00
lc
4e16783824 remove dummy webrtc stream,
add api to get webrtc stream
2025-11-20 14:58:10 +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
e4224a19bc Apply suggestions from code review 2025-11-17 15:19:20 +08:00
lichon
2dc15df250 Update src/webrtc.rs
webrtc session clean fallback

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-17 14:55:52 +08:00
lc
3282977e66 Apply suggestions from code review 2025-11-17 13:18:27 +08:00
fufesou
4f7cae670e fix: linux is_kde()
Signed-off-by: fufesou <linlong1266@gmail.com>
2025-11-17 10:25:30 +08:00
lc
7cb29b1117 add ice-servers config 2025-11-16 18:43:31 +08:00
lc
0da5d379fc support turn relay config, and force_relay option 2025-11-16 04:04:25 +08:00
lichon
483cf9d225 Apply suggestions from code review 2025-11-15 16:37:34 +08:00
lichon
b10a96b7bc Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-15 16:04:59 +08:00
lc
3a919aef54 minor change 2025-11-15 00:27:09 +08:00
lc
955e49dc4b use webrtc sdp fingerprint as session key 2025-11-14 20:32:49 +08:00
lc
5dcfea1ee4 support send_timeout 2025-11-14 16:03:02 +08:00