mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-25 18:52:58 -03:00
Tor version must actually be 0.3.3.1 for ephemeral v3 onion services
This commit is contained in:
parent
cc265491fd
commit
6da5ae84f7
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ class Onion(object):
|
|||
raise TorErrorProtocolError(strings._('error_invalid_private_key'))
|
||||
else:
|
||||
# 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_content = onionkey.generate_v3_private_key()[0]
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue