onionshare/cli/onionshare_cli
Miguel Jacq 06a3599fe1
Built-in bridge refactoring.
Store the built-in bridges in OnionShare settings as a dict, and try writing those into the torrc if present.

If they aren't present in OnionShare settings, use the hardcoded templates instead.

Fetch the latest built-in bridges over Tor, once connected to Tor.

If we can't fetch the bridges over Tor, fall back to Meek (domain-fronting) and try again.

Then write those as the dict to the OnionShare settings, to take precedence next time.
2021-11-24 17:55:47 +11:00
..
resources Built-in bridge refactoring. 2021-11-24 17:55:47 +11:00
web Removes trailing slash from directories inside directories 2021-09-04 20:41:22 +05:30
__init__.py Allow website mode to stop even if people have viewed it 2021-11-12 11:58:48 +11:00
censorship.py Refactor to CensorshipCircumvention and Meek classes. Use Meek domain fronting when requesting bridges in frontend 2021-10-19 11:36:03 +11:00
common.py Fix comment 2021-11-16 18:10:25 -08:00
meek.py Fix for meek to working in snapcraft 2021-11-15 18:07:57 -08:00
mode_settings.py ClientAuthV3 fixes 2021-08-27 15:52:29 +10:00
onion.py Built-in bridge refactoring. 2021-11-24 17:55:47 +11:00
onionshare.py ClientAuthV3 fixes 2021-08-27 15:52:29 +10:00
settings.py Built-in bridge refactoring. 2021-11-24 17:55:47 +11:00