Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual test run on macOS (arm64) for Tor 1.0.20 #18259

Closed
9 tasks done
kjozwiak opened this issue Sep 21, 2021 · 1 comment
Closed
9 tasks done

Manual test run on macOS (arm64) for Tor 1.0.20 #18259

kjozwiak opened this issue Sep 21, 2021 · 1 comment

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Sep 21, 2021

Tor Client Updater

  • For development go-update-server. Run brave-browser with --user-data-dir=component-dev --use-dev-goupdater-url (These flags are only available in v1.7.x). Once the crx is pushed to production run without these flags.
  • Navigate to brave://components and verify Tor Client Updater (OS) is updated successfully.
  • Open New Private Window with Tor and confirm that it starts without any errors.
    • Navigate to check.torproject.org and verify that tor is working successfully.
    • Navigate to brave.com and http://3g2upl4pq6kufc4m.onion/ to check if the sites work correctly.
  • Load brave.com and mail.protonmail.com in a regular Window/Tab and ensure that clicking on Open in Tor correctly launches a Tor window and opens the appropriate .onion website.

MacOS

  • Navigate to /Users/<user>/Library/Application Support/BraveSoftware/Brave-Browser-<channel>/cldoidikboihgcjfkhdeidbpclkineef/<version>
  • Run codesign -vvvv tor-<version-tor>-darwin-brave-<version-brave> to confirm codesign is valid
  • For MacOS Catalina (10.15+) - Run spctl -a -vv -t install tor-<version-tor>-darwin-brave-<version-brave> to verify that the binary is notarized.
@stephendonner
Copy link

Confirmed that I can open the following domains in a Tor window without issues:

  • brave.com
  • duckduckgo.com
  • 3g2upl4pq6kufc4m.onion
  • check.torproject.org (ensured that hard-refreshing got a new circuit/IP)

Confirmed the following sites opened via Onion available button and navigated to .onion URL:

Sep 27 10:31:51.019 [notice] Tor 0.4.5.10 running on Darwin with Libevent 2.1.11-stable, OpenSSL 1.1.1l, Zlib 1.2.11, Liblzma N/A, Libzstd N/A and Unknown N/A as libc.
Sep 27 10:31:51.019 [notice] Tor can't help you if you use it wrong! Learn how to be safe at https://www.torproject.org/download/download#warning
Sep 27 10:31:51.019 [notice] Configuration file "/nonexistent" not present, using reasonable defaults.
Sep 27 10:31:51.021 [notice] Opening Socks listener on 127.0.0.1:0
Sep 27 10:31:51.021 [notice] Socks listener listening on port 63850.
Sep 27 10:31:51.021 [notice] Opened Socks listener connection (ready) on 127.0.0.1:63850
Sep 27 10:31:51.021 [notice] Opening Control listener on 127.0.0.1:0
Sep 27 10:31:51.021 [notice] Control listener listening on port 63851.
Sep 27 10:31:51.021 [notice] Opened Control listener connection (ready) on 127.0.0.1:63851
Sep 27 10:31:51.000 [notice] Bootstrapped 0% (starting): Starting
Sep 27 10:31:51.000 [notice] Starting with guard context "default"
Sep 27 10:31:51.000 [notice] New control connection opened from 127.0.0.1.
Sep 27 10:31:51.000 [notice] Bootstrapped 5% (conn): Connecting to a relay
Sep 27 10:31:51.000 [notice] Bootstrapped 10% (conn_done): Connected to a relay
Sep 27 10:31:51.000 [notice] Bootstrapped 14% (handshake): Handshaking with a relay
Sep 27 10:31:51.000 [notice] Bootstrapped 15% (handshake_done): Handshake with a relay done
Sep 27 10:31:51.000 [notice] Bootstrapped 20% (onehop_create): Establishing an encrypted directory connection
Sep 27 10:31:51.000 [notice] Bootstrapped 25% (requesting_status): Asking for networkstatus consensus
Sep 27 10:31:51.000 [notice] Bootstrapped 30% (loading_status): Loading networkstatus consensus
Sep 27 10:31:52.000 [notice] I learned some more directory information, but not enough to build a circuit: We have no usable consensus.
Sep 27 10:31:52.000 [notice] Bootstrapped 40% (loading_keys): Loading authority key certs
Sep 27 10:31:52.000 [notice] The current consensus has no exit nodes. Tor can only build internal paths, such as paths to onion services.
Sep 27 10:31:52.000 [notice] Bootstrapped 45% (requesting_descriptors): Asking for relay descriptors
Sep 27 10:31:52.000 [notice] I learned some more directory information, but not enough to build a circuit: We need more microdescriptors: we have 0/6705, and can only build 0% of likely paths. (We have 0% of guards bw, 0% of midpoint bw, and 0% of end bw (no exits in consensus, using mid) = 0% of path bw.)
Sep 27 10:31:53.000 [notice] Bootstrapped 50% (loading_descriptors): Loading relay descriptors
Sep 27 10:31:54.000 [notice] The current consensus contains exit nodes. Tor can build exit and internal paths.
Sep 27 10:31:55.000 [notice] Bootstrapped 56% (loading_descriptors): Loading relay descriptors
Sep 27 10:31:58.000 [notice] Bootstrapped 63% (loading_descriptors): Loading relay descriptors
Sep 27 10:31:58.000 [notice] Bootstrapped 68% (loading_descriptors): Loading relay descriptors
Sep 27 10:31:58.000 [notice] Bootstrapped 75% (enough_dirinfo): Loaded enough directory info to build circuits
Sep 27 10:31:59.000 [notice] Bootstrapped 80% (ap_conn): Connecting to a relay to build circuits
Sep 27 10:31:59.000 [notice] Bootstrapped 85% (ap_conn_done): Connected to a relay to build circuits
Sep 27 10:31:59.000 [notice] Bootstrapped 89% (ap_handshake): Finishing handshake with a relay to build circuits
Sep 27 10:31:59.000 [notice] Bootstrapped 90% (ap_handshake_done): Handshake finished with a relay to build circuits
Sep 27 10:31:59.000 [notice] Bootstrapped 95% (circuit_create): Establishing a Tor circuit
Sep 27 10:32:00.000 [notice] Bootstrapped 100% (done): Done
stephendonner@Stephens-MacBook-Pro-3 1.0.33 % codesign -vvvv tor-0.4.5.10-darwin-brave-1
tor-0.4.5.10-darwin-brave-1: valid on disk
tor-0.4.5.10-darwin-brave-1: satisfies its Designated Requirement
stephendonner@Stephens-MacBook-Pro-3 1.0.33 % spctl -a -vv -t install tor-0.4.5.10-darwin-brave-1
tor-0.4.5.10-darwin-brave-1: accepted
source=Notarized Developer ID
origin=Developer ID Application: Brave Software, Inc. (KL8N8XSYF4)

Ran the above with

Brave 1.30.81 Chromium: 94.0.4606.50 (Official Build) (x86_64 translated)
Revision 0c1ac2c4842a4746c27c937c1a0453f98da1a972-refs/branch-heads/4606@{#1049}
OS macOS Version 11.6 (Build 20G165)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants