Skip to content
Discussion options

You must be logged in to vote

I wondered about the keys too and how you could create them. I think the important information that is missing here is, that the private key actually contains the public key.
For example:

$ rustdesk-utils genkeypair Public Key: Haa33UK321Q8P2JEdfAp7JfEzXMYfL82iUzmLq9hA3c= Secret Key: cuHdOxnASB0BbrsVYel9KVS6v29OqT6zhINJdTb1kOsdprfdQrfbVDw/YkR18Cnsl8TNcxh8vzaJTOYur2EDdw==
from base64 import b64decode priv = b64decode("cuHdOxnASB0BbrsVYel9KVS6v29OqT6zhINJdTb1kOsdprfdQrfbVDw/YkR18Cnsl8TNcxh8vzaJTOYur2EDdw==") pub = b64decode("Haa33UK321Q8P2JEdfAp7JfEzXMYfL82iUzmLq9hA3c=") priv.endswith(pub) # gives True

In the format that …

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@C-Duv
Comment options

@paspo
Comment options

@C-Duv
Comment options

@paspo
Comment options

@paspo
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by C-Duv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants