mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2025-07-01 23:35:38 +00:00
remove ':' from hash
This commit is contained in:
parent
9036b7b9fa
commit
848b5aedb7
BIN
db_v2.sqlite3
BIN
db_v2.sqlite3
Binary file not shown.
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user