Commit Graph

275 Commits

Author SHA1 Message Date
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
a6f44d8920 Merge pull request #509 from rustdesk/revert-502-fix/ipc-unauthorized-access
Revert "harden IPC path layout & permissions (per-UID dirs + service-scoped sockets)"
2026-03-19 21:10:34 +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
RustDesk
648b639427 Merge pull request #504 from 21pages/hide-stop-service
option hide-stop-service
2026-03-19 19:57:14 +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
48c37de3e6 Update message.proto 2026-03-02 12:12:05 +08:00
RustDesk
ae3726dd5f Add OPTION_AVATAR constant to config 2026-03-02 11:59:42 +08:00
RustDesk
dea7d6cbd8 Update message.proto 2026-03-02 11:57:58 +08:00
RustDesk
5e07db7444 Merge pull request #497 from fufesou/feat/config_allow_auto_update
feat(config): allow auto update
2026-02-27 21:32:38 +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
RustDesk
231449c6f6 Merge pull request #486 from 21pages/try-fix-password-decrypt
fix: fallback to pk decryption when failed to decrypt with machine uid
2026-02-14 17:41:46 +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
RustDesk
28ac03a891 Merge pull request #484 from 21pages/key_pair
update key pair when set config
2026-02-09 00:37:12 +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
900077a2c2 Merge pull request #483 from fufesou/refact/crate_libloading_x11
refact(crate): libloading x11
2026-01-21 17:26:55 +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
RustDesk
073403edbf Merge pull request #477 from 21pages/control_permissions_tri_state
enables three-state permission control
2026-01-07 13:38:40 +08:00
21pages
e163e2d829 add three state control permissions
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-01-07 12:42:21 +08:00
21pages
510ebdca50 Revert "add ControlPermissions"
This reverts commit 178c97d59f.
2026-01-07 12:42:01 +08:00
RustDesk
69e8e09b68 Merge pull request #476 from 21pages/control_permissions
add ControlPermissions
2026-01-05 22:21:12 +08:00
RustDesk
0f68b6f37b Merge pull request #473 from 21pages/disable-change-permanent-password
add options: disable-change-permanent-password, disable-change-id, disable-unlock-pin
2026-01-05 22:19:50 +08:00
21pages
178c97d59f add ControlPermissions
Signed-off-by: 21pages <sunboeasy@gmail.com>
2026-01-05 22:13:56 +08:00
RustDesk
ca7701bac2 Merge pull request #475 from rustdesk/revert-471-controlling_strategy
Revert "Allow restricting remote control permissions for different users"
2026-01-05 22:06:54 +08:00
RustDesk
4637bf8fc1 Revert "Allow restricting remote control permissions for different users" 2026-01-05 22:06:13 +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
12f2a47770 Merge pull request #471 from 21pages/controlling_strategy
Allow restricting remote control permissions for different users
2025-12-29 18:27:32 +08:00
21pages
3a0034f104 controlling strategy
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-12-29 14:08:43 +08:00