mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-29 03:11:24 -04:00
Add a Startup Timer feature (scheduled start / dead man's switch)
This commit is contained in:
parent
d86b13d91c
commit
26d262ccfc
16 changed files with 326 additions and 34 deletions
|
@ -30,9 +30,10 @@ class MyOnion:
|
|||
self.auth_string = 'TestHidServAuth'
|
||||
self.private_key = ''
|
||||
self.stealth = stealth
|
||||
self.scheduled_key = None
|
||||
|
||||
@staticmethod
|
||||
def start_onion_service(_):
|
||||
def start_onion_service(self, await_publication=True, save_scheduled_key=False):
|
||||
return 'test_service_id.onion'
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue