cretz / bine

Go library for accessing and embedding Tor clients and servers
MIT License
763 stars 71 forks source link

Onion ID length #36

Closed aayushsinha44 closed 3 years ago

aayushsinha44 commented 4 years ago

Is it possible to change the length of onion ID that we get, i.e. can ask for greater sized onion ID that we get from the following code?

onion, err := t.Listen(listenCtx, &tor.ListenConf{Version3: true, RemotePorts: []int{80}})

cretz commented 4 years ago

I am afraid I don't understand the request exactly. Onion IDs are fixed length (version 3 longer than version 2) AFAIK. I am not aware of a way to tell Tor you want a custom-size ID that they create. Can you give more details on what you're trying?

cretz commented 3 years ago

Closing. Please comment if this is still an issue.