jcreigh / pysurfshark

A python interface to Surfshark's API
MIT License
4 stars 3 forks source link

Privatekey #1

Closed aliafshany closed 3 years ago

aliafshany commented 3 years ago

hi thanks for this repo would mind please telling me how to achieve private key? i could run your script and the only thing that misses is Private key best

jcreigh commented 3 years ago

Ah, the private key that goes on that line is the one you used when generating the public key the script asks for.

aliafshany commented 3 years ago

the thing is i don't have the privatekey at all. the script asks for uesrname,password and a pubkey ( wich i don't have this one)

jcreigh commented 3 years ago

At least on Linux, you use the wg tool to generate both. The Wireguard site has info on all that stuff. The surfshark script kind of assumes some level of familiarity with setting up Wireguard in general.

https://www.wireguard.com/quickstart/

aliafshany commented 3 years ago

thank you for sharing the link best

jcreigh commented 3 years ago

No problem :)