Miguel Jacq
5cbd9ae66d
Remove meek workaround in Censorship Circumvention API's built-in bridges response
2022-03-28 10:45:23 +11:00
Micah Lee
ababc2de46
Update copyright year to 2022
2022-01-16 16:15:49 -08:00
Micah Lee
c8745cd8dc
Also codesign libevent-2.1.7.dylib
2022-01-16 11:44:30 -08:00
Miguel Jacq
546633ac62
remove import of requests module in Onion
2021-11-27 11:14:05 +11:00
Miguel Jacq
55c8ada6ef
Move the ability to use Tor vs Meek into the CensorshipCircumvention class so that we can use those endpoints over Tor elsewhere later
2021-11-27 10:35:25 +11:00
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
Miguel Jacq
f8dd9547cd
Raise exception if the API didn't return bridges for a specific bridge type, or if the bridge type wasn't recognized
2021-11-23 15:36:41 +11:00
Miguel Jacq
19072503a9
Fetch the built-in bridges from Tor's Censorship Circumvention API, rather than hardcode them
2021-11-23 15:28:40 +11:00
Micah Lee
99c85f55e2
Fix bug that was preventing tor from connecting in snapcraft
2021-11-14 20:53:22 -08:00
Micah Lee
f09bb66425
Snap successfully builds meek-client, and WIP getting tor to connect
2021-11-14 17:52:40 -08:00
Micah Lee
9515fe6aaf
Remove all references to old settings
2021-10-26 21:07:38 -07:00
Micah Lee
2b3b6d7635
Update bridge related settings in Settings, and use those new settings in Onion
2021-10-26 21:06:05 -07:00
Micah Lee
e33fc49815
Merge branch 'censorship' into 1442_settings_tabs
2021-10-24 20:23:38 -07:00
Micah Lee
e6c7cc989f
Only show bridge error if connection type is bundled
2021-10-24 20:03:19 -07:00
Miguel Jacq
242312ba82
Fix conflicts from snowflake merge, and fix detection of lack of meek in Moat BridgeDB request
2021-10-20 15:52:29 +11:00
Micah Lee
3aa7902695
Don't print Bridge lines in torrc for blank lines
2021-10-19 08:50:33 -07:00
Miguel Jacq
bcf697574e
merge 1442_snowflake branch and fix conflicts
2021-10-19 09:49:46 +11:00
Miguel Jacq
0989f2b133
Move Censorship stuff into its own class. Early attempt at subprocessing out to meek (unfinished)
2021-10-18 17:17:47 +11:00
Micah Lee
a89412e79d
Make it so when selecting moat tor actually uses those bridges, and improve tor settings dialog
2021-10-17 15:47:11 -07:00
Micah Lee
6bf839f826
In some distros, LD_LIBRARY_PATH must be explicitly set for tor to work
2021-10-17 12:16:03 -07:00
Micah Lee
2ffd15ae82
Move ClientTransportPlugin into normal torrc file, and fix snowflake support
2021-10-15 09:17:03 -07:00
Micah Lee
39d624e923
Allow selecting a snowflake bridge, and make it try to use the snowflake bridge
2021-10-13 21:11:56 -07:00
Micah Lee
229da0aaab
Make get_tor_paths work properly now that in linux the tor binaries are bundled too
2021-10-11 20:45:28 -07:00
Miguel Jacq
0bf8f53d30
ClientAuthV3 fixes
...
* Remove Client Auth as an explicit option (it's on by default).
* Update wording about Public mode
* Fix tuple error when raising TorTooOldStealth exception in CLI
* Move Private Key button next to URL button in GUI
* Replace visual references of ClientAuth to Private Key
* Remove HTTPAuth Flask dependency and remove a lot of code to do with password generation,
401 auth triggers/invalid password rate limit detection etc
* Test updates
* Remove obsolete locale keys
2021-08-27 15:52:29 +10:00
Miguel Jacq
c4cf9f08ec
Rename things with client_auth_v3_ in the name because there is only one type of client_auth now that v2 is gone.
2021-05-06 18:02:40 +10:00
Miguel Jacq
ea4466262d
Gracefully avoid sending the client_auth_v3 argument to Stem's create_ephemeral_hidden_service() if the version of Stem we're on does not yet support it
2021-05-06 14:35:11 +10:00
Miguel Jacq
b385d6bac7
merge from develop and fix conflicts, update poetry
2021-05-06 14:30:29 +10:00
Miguel Jacq
e0b378055c
Remove v2 legacy onion support, and its corresponding client auth functionality. Update the v3 Client Auth to take its place in settings
2021-05-06 14:26:00 +10:00
Miguel Jacq
b48848eb04
Early support for ClientAuth with v3 onions
2021-05-04 10:02:02 +10:00
Micah Lee
0a6056e5e6
Fix flake8 issues found in cli
2021-04-29 17:13:05 -07:00
Micah Lee
a08a12d855
Merge pull request #1317 from akshgpt7/chore-refactor-issues
...
Refactor code quality issues
2021-04-11 11:37:42 -07:00
Micah Lee
cd966424b6
Merge branch 'fix_rendezvous_typo' of https://github.com/mig5/onionshare into mig5-fix_rendezvous_typo
2021-04-11 11:02:47 -07:00
Aksh Gupta
ea8d2cfdfe
chore: refactor code quality issues
2021-03-10 22:59:47 +05:30
Micah Lee
2a7d9dbd51
Update copyright year to 2021
2021-02-22 13:35:14 -08:00
Miguel Jacq
d63e4a9f02
Correct rendevouz to rendezvous
2021-02-09 17:16:30 +11:00
Micah Lee
b96b83905b
Merge branch 'develop' into 929_download_errors
2020-12-13 11:40:25 -08:00
Micah Lee
5f612a94a0
Merge pull request #1239 from micahflee/1214_onion_error_translations
...
Translate Tor-related error messages
2020-12-01 22:21:25 -08:00
Micah Lee
068b95f683
All Tor-related that get thrown from the onionshare_cli.Onion object now get translated in the GUI
2020-11-29 12:25:09 -08:00
Micah Lee
aecaae896d
Make CLI throw an error if it cannot find tor binary
2020-11-29 11:08:46 -08:00
Micah Lee
3c6cbd04a7
Merge branch 'develop' into 929_download_errors
2020-11-29 09:25:40 -08:00
Micah Lee
134611a325
Show a dialog while waiting for Tor rendezvous nodes to close, and let the user quit early
2020-11-27 14:50:07 -08:00
Micah Lee
6d38b8e0c4
Add terminal animation while waiting for circuits to close
2020-11-27 11:27:11 -08:00
Micah Lee
7927ef83b2
Only wait for share mode rendezvous circuits to close, ignore the rest
2020-11-27 11:22:29 -08:00
Micah Lee
752afcaa3a
Put wait for circuits to close login in a try/except, so Ctrl-C does not cause a crash
2020-11-27 11:08:58 -08:00
Micah Lee
3871fcf5eb
Improve output when rendezvous circuits all close
2020-11-25 11:52:36 -08:00
Micah Lee
0eee8ce05b
If using bundled Tor, wait for rendezvous circuits to close before killing the tor process
2020-11-25 11:25:32 -08:00
Micah Lee
65dff09a68
Make onionshare tor process detection work in Windows
2020-11-17 18:46:22 -08:00
Micah Lee
d13d89ae92
Fix torrc filename
2020-11-17 18:08:59 -08:00
Micah Lee
894fb7c070
Kill stale tor process
2020-11-17 18:06:36 -08:00
Micah Lee
9f21d505de
Remove Onion.bundle_tor_supported because it is now always supported
2020-11-17 17:45:31 -08:00