Commit Graph
65 Commits
Author SHA1 Message Date
fufesou 873230e35a fix: key file perm (#705)
* fix: key file perm

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: enforce secure private key permissions on Unix

Create new keys with mode 0600 and verify permissions before writing.
Tighten existing keys to 0600 and propagate permission failures.
Preserve dangling symlinks and clean up failed key creation.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: preserve read-only keys and prevent public key clobbering

Accept existing 0400 keys without changing their permissions.
Write the public key only after private key creation and writing succeed.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: generate missing public keys and reject mismatched key pairs

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: publish public keys atomically without overwriting existing files

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: key file perms, comments

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: reject key conflicts and clean up failed private key writes

Reuse symlink resolution and simplify key loading and regression tests.

Signed-off-by: fufesou <linlong1266@gmail.com>

* fix: key file perm, simple refactor

Signed-off-by: fufesou <linlong1266@gmail.com>

---------

Signed-off-by: fufesou <linlong1266@gmail.com>
2026-10-10 17:34:18 +08:00
rustdesk 30fba48547 bump version 2026-07-23 20:13:48 +08:00
JulienandJulien Arnaud 0d915e6fc5 Update protobuf to 3.7.2 (#684)
* Update protobuf to 3.7.2

Signed-off-by: Julien Arnaud <julien.arnaud@sib-retail.com>

* Harden protobuf recursion regression

Signed-off-by: Julien Arnaud <julien.arnaud@sib-retail.com>

---------

Signed-off-by: Julien Arnaud <julien.arnaud@sib-retail.com>
Co-authored-by: Julien Arnaud <julien.arnaud@sib-retail.com>
2026-07-23 18:46:09 +08:00
rustdesk 70dcfdeb95 https://github.com/rustdesk/rustdesk-server/issues/634 2026-07-21 07:12:57 +08:00
rustdesk 73523b31cf bump version 2026-07-21 05:26:35 +08:00
rustdesk 34cbd57e71 bump version 2026-01-13 10:20:40 +08:00
rustdesk 34946219c3 update workflow 2026-01-09 19:12:49 +08:00
rustdesk 1fd1a2a3b6 1.1.14 2025-01-25 20:37:16 +08:00
21pages bcdfda43af update dep (#507)
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-01-22 20:27:25 +08:00
21pages 464a687043 fix windows crash (#504)
Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-01-21 17:03:45 +08:00
rustdesk b9e5968299 1.1.13 2025-01-21 01:09:21 +08:00
21pages 7a509f6975 replace libs/hbb_common with submodule (#502)
cargo update -p schannel to fix crash on higher rust toolchain, https://github.com/seanmonstar/reqwest/issues/2311

Signed-off-by: 21pages <sunboeasy@gmail.com>
2025-01-20 17:34:22 +08:00
rustdesk 6f18a97644 v1.1.12 2024-10-07 16:21:36 +08:00
rustdesk 5078a1f797 reuse port, and revert hbbr -k 2024-05-24 18:37:11 +08:00
rustdesk 3cf0f6560f bump to 1.1.11 2024-05-24 17:59:53 +08:00
rustdesk 778c89efb1 bump to 1.1.10-3 2024-01-31 11:20:04 +08:00
rustdesk a7a0fa7cb5 bump to 1.1.10-2 2024-01-30 19:23:36 +08:00
rustdesk 4c27143125 bump 1.1.9 2023-12-05 17:09:07 +08:00
rustdesk 3a7904fa8e fix test_hbb and bump version 1.1.8 2023-06-08 13:42:34 +08:00
rustdesk 4d6d439b1a 1.1.7-1 2023-02-18 13:44:25 +08:00
elilchen 388ae586ec crt-static 2023-02-16 15:23:31 +08:00
elilchen ad40d65070 issues #192 add MicrosoftEdgeWebview2Setup and fix the "VCRUNTIME140.dll Is Missing" error on windows server 2022 2023-02-16 13:39:08 +08:00
rustdesk 5aaad36729 1.1.7 2023-01-10 16:26:06 +08:00
Huabing Zhou 2314783d42 sync rustdesk's hbb_common here 2023-01-06 10:40:26 +08:00
rustdesk 51d8cd80c1 protbuf 3.1 with_bytes 2022-07-22 00:28:10 +08:00
rustdesk 39153ce147 fix slow connection, '/' in pub key, and hbbr wait for key, and possible
solution for https://github.com/rustdesk/rustdesk-server/issues/24
2022-07-13 00:22:45 +08:00
rustdesk b3f39598a7 change sled to sqlite and remove lic 2022-05-12 20:00:33 +08:00
open-trade d36d6da445 cargo update 2021-05-19 12:52:42 +08:00
rustdesk 4774093ef2 refactor dep 2021-05-15 15:57:40 +08:00
opentrade f2c4ab136c remove license file if fail 2021-05-15 14:06:22 +08:00
open-trade 411e963187 some guys use empty id 2021-05-11 20:28:43 +08:00
rustdesk 26d926838f nonce 2021-05-04 20:42:13 +08:00
opentrade ea98675b21 minreq to remove libssl dep so that easy to deploy 2021-04-10 10:56:58 +08:00
opentrade c5e102fa6e Only ed25519 2021-04-10 10:41:27 +08:00
opentrade 4662b05d73 dec not working yet 2021-04-09 18:02:10 +08:00
opentrade da372f276d check_email 2021-04-09 12:27:22 +08:00
opentrade 1282e730af working on lic 2021-04-08 18:59:57 +08:00
opentrade 25554dd318 lic draft 2021-04-08 17:53:56 +08:00
opentrade 710f0b2681 INVALID_ID_FORMAT 2021-04-06 17:08:37 +08:00
rustdesk a10bb34f6e rename 2021-04-03 22:32:14 +08:00
open-trade 482b5e0a66 change to rocksdb 2021-03-19 11:32:28 +08:00
open-trade 06309ac068 update deps 2020-12-01 03:00:28 +08:00
open-trade f1646522d1 license 2020-10-31 14:33:25 +08:00
hzhou 3d5d219a8c version 2020-09-24 17:26:58 +08:00
open-trade ea85fa0bb7 update common 2020-09-19 14:25:12 +08:00
open-trade 33accfb2ca rendezvous_servers 2020-09-18 17:07:17 +08:00
open-trade ba9862cd7f clap 2020-09-18 13:04:39 +08:00
open-trade b32a948347 hbbf 2020-09-17 00:04:39 +08:00
open-trade 2ee99e6140 uuid 2020-09-08 16:18:33 +08:00
open-trade 8295278479 more log for debugging pk mismatch 2020-09-04 11:32:42 +08:00