ipsn / go-libtor

Self-contained Tor from Go
BSD 3-Clause "New" or "Revised" License
544 stars 46 forks source link

v3 onion addresses #26

Open 0x00009b opened 3 years ago

0x00009b commented 3 years ago

is there any plan on supporting the v3 onion addresses as v2 will be phased out and no longer supported sometime this year ?

(very small issue i know but curiosity has the best of me)

tiero commented 3 years ago

You can use Version3 in the ListenConf struct

onion, err := t.Listen(ctx, &tor.ListenConf{RemotePorts: []int{80}, Version3: true})
0x00009b commented 3 years ago

okay thank you awsome