ipsn / go-libtor

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

Onion ID length #18

Closed aayushsinha44 closed 4 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}})

karalabe commented 4 years ago

Isn't the onion ID simply a public key? That's defined by the cryptography used by Tor, it's not something that can be configured.