mirror of
https://github.com/onionshare/onionshare.git
synced 2024-12-28 08:49:30 -05:00
Tor version must actually be 0.3.3.1 for ephemeral v3 onion services
This commit is contained in:
parent
cc265491fd
commit
6da5ae84f7
@ -459,7 +459,7 @@ class Onion(object):
|
|||||||
raise TorErrorProtocolError(strings._('error_invalid_private_key'))
|
raise TorErrorProtocolError(strings._('error_invalid_private_key'))
|
||||||
else:
|
else:
|
||||||
# Work out if we can support v3 onion services, which are preferred
|
# Work out if we can support v3 onion services, which are preferred
|
||||||
if Version(self.tor_version) >= Version('0.3.2.9') and not self.settings.get('use_legacy_v2_onions'):
|
if Version(self.tor_version) >= Version('0.3.3.1') and not self.settings.get('use_legacy_v2_onions'):
|
||||||
key_type = "ED25519-V3"
|
key_type = "ED25519-V3"
|
||||||
key_content = onionkey.generate_v3_private_key()[0]
|
key_content = onionkey.generate_v3_private_key()[0]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user