mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2026-02-16 10:30:44 +00:00
remove ':' from hash
This commit is contained in:
@@ -118,7 +118,7 @@ pub fn gen_sk(wait: u64) -> (String, Option<sign::SecretKey>) {
|
||||
};
|
||||
let (mut pk, mut sk) = gen_func();
|
||||
for _ in 0..300 {
|
||||
if !pk.contains("/") {
|
||||
if !pk.contains("/") && !pk.contains(":") {
|
||||
break;
|
||||
}
|
||||
(pk, sk) = gen_func();
|
||||
|
||||
Reference in New Issue
Block a user