Trac issueshttps://gitlab.torproject.org/legacy/trac/-/issues2020-06-13T16:59:46Zhttps://gitlab.torproject.org/legacy/trac/-/issues/32569Make sure dip gettor repo is up to date with gitweb2020-06-13T16:59:46ZCecylia BocovichMake sure dip gettor repo is up to date with gitwebRight now the [main dip repository for gettor](https://dip.torproject.org/torproject/anti-censorship/gettor-project/gettor) is several commits behind git.torproject.org
In the meeting today, hiro mentioned that there might be a synchron...Right now the [main dip repository for gettor](https://dip.torproject.org/torproject/anti-censorship/gettor-project/gettor) is several commits behind git.torproject.org
In the meeting today, hiro mentioned that there might be a synchronization issue.HiroHirohttps://gitlab.torproject.org/legacy/trac/-/issues/32457Give cohosh and phw access to gettor-012020-06-13T16:59:39ZCecylia BocovichGive cohosh and phw access to gettor-01For debugging, updates, and maintenance it would be good for a few of us to have access to the machine that gettor is deployed on.For debugging, updates, and maintenance it would be good for a few of us to have access to the machine that gettor is deployed on.HiroHirohttps://gitlab.torproject.org/legacy/trac/-/issues/32127Tor browser manual section on downloading using gettor is incomplete2020-06-13T17:11:29ZTracTor browser manual section on downloading using gettor is incomplete
https://tb-manual.torproject.org/downloading/
has title "TO USE GETTOR VIA JABBER/XMPP (JITSI, COYIM, ETC.):" but the instructions underneath are for using email to get the Chinese browser for linux.
Furthermore the parent ticket su...
https://tb-manual.torproject.org/downloading/
has title "TO USE GETTOR VIA JABBER/XMPP (JITSI, COYIM, ETC.):" but the instructions underneath are for using email to get the Chinese browser for linux.
Furthermore the parent ticket suggests there are additional methods, such as Twitter, which are missing from this page. Probably a link to the rest of the gettor resources (if the pages exist) will be sufficient.
**Trac**:
**Username**: bluemoonGusGushttps://gitlab.torproject.org/legacy/trac/-/issues/28905Please install packages for twisted gettor2020-06-13T16:56:14ZIsrael LeivaPlease install packages for twisted gettorA code refactor has been made to gettor using twisted (see #28152). The following packages are needed for it to work:
gcc python2.7 python-dev virtualenv sqlite3 python-pip
Thanks.A code refactor has been made to gettor using twisted (see #28152). The following packages are needed for it to work:
gcc python2.7 python-dev virtualenv sqlite3 python-pip
Thanks.https://gitlab.torproject.org/legacy/trac/-/issues/27972GetTor IPFS Provider2020-06-21T18:05:43ZTracGetTor IPFS ProviderI think IPFS could be a good provider by having support for downloading from multiple sources and while the clients don't work through Tor, there are many public gateways.
When attempting to find a list of public gateways, I found https...I think IPFS could be a good provider by having support for downloading from multiple sources and while the clients don't work through Tor, there are many public gateways.
When attempting to find a list of public gateways, I found https://github.com/ipfs/public-gateway-checker/blob/master/gateways.json .
I am not sure how the procedure could be automated, but manually it would work by installing ipfs, creating a folder for requested content, "ipfs add -r directory/" and going to https://example.com/ipfs/HASH (which was given by the previous command) to download it. Alternatively for single file "ipfs add -w file" so a directory is created for it preserving the filename instead of changing it to the hash when downloading.
Volunteers could also host the content by using "ipfs pin add HASH" possibly reducing server load.
**Trac**:
**Username**: Mkaysihttps://gitlab.torproject.org/legacy/trac/-/issues/18461List GetTor and Github mirror on TPO download pages2020-06-13T17:23:38ZdonnchaList GetTor and Github mirror on TPO download pagesThe GetTor team have created a Tor Browser Bundle mirror on Github for censored users. Currently it's hard for users to find this mirror in a search engine.
Including links to the mirror and the GetTor service on the high traffic downl...The GetTor team have created a Tor Browser Bundle mirror on Github for censored users. Currently it's hard for users to find this mirror in a search engine.
Including links to the mirror and the GetTor service on the high traffic download pages is the best way to quickly improve the search engine ranking of the mirrors.
I've push a branch which adds these changes to my fork on Github https://github.com/DonnchaC/tor-website/tree/gettor-linkSebastian HahnSebastian Hahnhttps://gitlab.torproject.org/legacy/trac/-/issues/17437Please install python-tweepy on getulum2020-06-13T16:50:21ZIsrael LeivaPlease install python-tweepy on getulumHello.
Could you please install python-tweepy package on getulum? It will be used to deploy the Twitter bot.
Thanks.Hello.
Could you please install python-tweepy package on getulum? It will be used to deploy the Twitter bot.
Thanks.https://gitlab.torproject.org/legacy/trac/-/issues/15498Please install libsaas on getulum2020-06-13T16:49:31ZIsrael LeivaPlease install libsaas on getulumHello.
Could you please install the libsaas python package on getulum? It is used in an script that *automatically* uploads the Tor Browser files to Github (still not blocked in China!).
Thanks.Hello.
Could you please install the libsaas python package on getulum? It is used in an script that *automatically* uploads the Tor Browser files to Github (still not blocked in China!).
Thanks.https://gitlab.torproject.org/legacy/trac/-/issues/14835Script to upload Tor Browser to Github2020-06-21T18:05:15ZIsrael LeivaScript to upload Tor Browser to GithubI have made a preliminary version of a script to upload Tor Browser to GitHub. This should be integrated with the work done in #14744, as it should be run after fetching the latest Tor Browser. After the Tor Browser files have been fetch...I have made a preliminary version of a script to upload Tor Browser to GitHub. This should be integrated with the work done in #14744, as it should be run after fetching the latest Tor Browser. After the Tor Browser files have been fetched, this script copy the files to a new directory called VERSION, where VERSION is the version of the latest Tor Browser. Then it commits and push the changes to GitHub, all of this done via system calls to git, and with the assumption that a GitHub repository has been previously created and synchronized in the machine that the script is executed. After that, the GitHub API is used to get the links of the files recently pushed and create a links file with that info.
You can check a sample links file [here](https://github.com/ilv/gettor/blob/master/providers/github.links) and the script bundles2github [here](https://github.com/ilv/gettor/blob/master/upload/bundles2github.py). Please note that the uploaded files are plain text, so if you open the links you will only see raw text. A sample link for a binary file can be found [here](https://github.com/ilv/gettor/raw/master/upload/tor-browser-linux32-4.0.2_en-US.tar.xz).
In order to make the git commits and push without problems or user interaction, one should previously create a SSH key and link that key to GitHub. Similarly, to interact with the GitHub API without using basic credentials (user/pass), one should previously create a token in GitHub. For the tests I did a personal access token was enough.
This was done for the purposes of #14114. Reviews welcome!Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/14747Personal GetTor repo for ilv2020-06-13T16:49:17ZIsrael LeivaPersonal GetTor repo for ilvIt would be helpful to have a personal repo for gettor in order to keep track of personal development of new features, bug fixes, etc.
ldap account: ilv
repo name: gettor
description: ilv's gettor repository
Thanks!It would be helpful to have a personal repo for gettor in order to keep track of personal development of new features, bug fixes, etc.
ldap account: ilv
repo name: gettor
description: ilv's gettor repository
Thanks!Sebastian HahnSebastian Hahnhttps://gitlab.torproject.org/legacy/trac/-/issues/13781Add support for downloading .mar files2020-06-21T18:05:13ZIsrael LeivaAdd support for downloading .mar filesNow it's possible to download .mar (Mozilla updates) files for all three platforms. These new files have different name format and should be treated separately. One option is to add the .mar file every time someone makes a request. Anoth...Now it's possible to download .mar (Mozilla updates) files for all three platforms. These new files have different name format and should be treated separately. One option is to add the .mar file every time someone makes a request. Another option is to specify a certain command to specifically request the .mar file for a given OS.Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/13780Warn or die if the configuration file doesn't exist2020-06-21T18:05:12ZIsrael LeivaWarn or die if the configuration file doesn't existModules that use configuration files set a default value if the file is not specified when creating an object, but nothing happens if the default configuration file doesn't exist, leading to confusion. All modules should warn or die if i...Modules that use configuration files set a default value if the file is not specified when creating an object, but nothing happens if the default configuration file doesn't exist, leading to confusion. All modules should warn or die if its configuration file doesn't exists.Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/13779Create script to upload bundles to Google drive2020-06-21T18:05:12ZIsrael LeivaCreate script to upload bundles to Google driveA script for uploading bunldes to this cloud service should work as follows:
1. Read the content of a directory and recognize:
* The operating systems for which is intended (.tar.gz for Linux, .dmg for OSX, .exe for Windows)
* The a...A script for uploading bunldes to this cloud service should work as follows:
1. Read the content of a directory and recognize:
* The operating systems for which is intended (.tar.gz for Linux, .dmg for OSX, .exe for Windows)
* The architecture (32/64 bits)
* The locale. This could be pointed out by two characters (e.g. 'de') or four characters separated in the middle by a dash (e.g. 'es-ES').
* The sha256 of the file (calculate it).
* The associated file signature (samename.asc).
2. Upload everyone of those files as long as they have their corresponding signature (.asc) file.
3. Get the fingerprint of the PGP key that signed the bundles.
4. Create the links file and add a link for every bundle uploaded. For that matter you should use the **create_links_file** and **add_link** methods available on **gettor.core**.
It's recommended to study how the script for uploading bundles to Dropbox works.
Note that the codebase for this can be found on https://github.com/ileiva/gettor.githttps://gitlab.torproject.org/legacy/trac/-/issues/12819XMPP service2020-06-21T18:05:11ZIsrael LeivaXMPP serviceAs part of #12817, a new service is being implemented for GetTor. This service
receives and replies requests via XMPP. The design of the module for this new
service is quite simple:
1) User credentials must be specified on the confi...As part of #12817, a new service is being implemented for GetTor. This service
receives and replies requests via XMPP. The design of the module for this new
service is quite simple:
1) User credentials must be specified on the configuration file.
2) The module works as a bot; it uses the given credentials to go online.
3) A user using XMPP can send a message to the bot asking for links/help.
The bot reads the message received and tries to look for a supported
operating system. If it doesn't find any, it sends help. Then it looks
for a supported locale. If it doesn't find any, it uses english by
default. For example, the message 'linux en' should return a message
in english with the links for downloading the bundles for linux. If
the user sends 'help es', it should return a message with help
information in spanish.
4) If the user also specify terms related to built-in pluggable
transports, it sends info about them when sending the links. For
this, it looks for the words 'obfs', 'pt', 'pluggable transport'.
The bot has been tried successfully on dukgo.com, jabber.ccc.de, and riseup.net
It also worked for a while on jit.si, but not anymore (no clue why).
What are better ways of doing this?Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/12818New way of getting the links2020-06-21T18:05:11ZIsrael LeivaNew way of getting the linksAs part of #12817, a new format for getting the links has been developed.
It enables to easily add and delete providers (where bundles are uploaded).
The new format is as follows:
1) A folder named 'providers' should exist on GetTor ...As part of #12817, a new format for getting the links has been developed.
It enables to easily add and delete providers (where bundles are uploaded).
The new format is as follows:
1) A folder named 'providers' should exist on GetTor basedir. Inside this
directory, every file with the .links extension is considered as a valid
links file, containing links of a specific provider (e.g. dropbox.links).
2) Links files follow Python's ConfigParser format (RFC 822). All links
files must have the following sections and options:
SECTION provider, OPTION name: string specifying the name of the
provider (i.e. "Dropbox").
SECTION key, OPTION fingerprint: the fingerprint of the key that signed
the uploaded bundles.
SECTION os, OPTION locale: link for the bundle, bundle asc, and sha256
of the file for a given operating system and locale. For example:
[linux]
en = https://abcd.ly https://efgh.ly 98ea6e4f216f2fb4b6....
en = https://ijkl.ly https://mnop.ly 44842c38686ca685f3....
3) Mirrors are considered as just another provider.
4) Every provider should have a script that automates the upload of bundles
and create the proper links file. The core module provide the public
create_links_file() and add_link() methods for that purpose (see core
documentation for more details).
5) Each provider's script must take care of calculating the sha256 of
each bundle and provide the fingerprint of the key that signed the bundles.
5) After creating the links file, the only thing the core module cares
about is reading files with the extension .links inside 'providers'
directory. The core assumes each .links file is well formatted.
For now Dropbox is the only supported provider. Google Drive and Github should
be implemented in the future as well.Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/12817Revamp2020-06-21T18:05:11ZIsrael LeivaRevampA revamp of GetTor is on progress as a GSoC project. The new approach
focuses on create separated modules for different services. For now, the
following modules have been considered:
* core: Main module. It takes care of sending do...A revamp of GetTor is on progress as a GSoC project. The new approach
focuses on create separated modules for different services. For now, the
following modules have been considered:
* core: Main module. It takes care of sending download links to the
others modules according to the parameters specified (operating system
and locale). It obtains the links according to a new Links format.
* smtp: Similar to the old one. It handles requests for different locales
(with gettor+locale@ addresses). It also detects if user is asking for
help or for links (default to help, though). Help reply include list of
supported operating systems and locales.
* xmpp: Receive and reply requests via XMPP. It detects if user asked
for a supported operating system and/or locale and send the links back.
Default reply is help.
* twitter: Receive and reply requests via Twitter. No functional version
yet.
Ideally, the new code should make easy to implement new services as modules,
thus providing new alternatives for getting the bundles.Israel LeivaIsrael Leivahttps://gitlab.torproject.org/legacy/trac/-/issues/2520GetTor should autorespond if someone writes email from a bad address2020-06-21T18:04:43ZChristian FrommeGetTor should autorespond if someone writes email from a bad addressA bad address in the GetTor world is an address that doesn't like large attachments. Maybe there's other reasons to regard an address as bad. However, if someone writes GetTor an email from such an address, it should respond with someth...A bad address in the GetTor world is an address that doesn't like large attachments. Maybe there's other reasons to regard an address as bad. However, if someone writes GetTor an email from such an address, it should respond with something like `Please send your mail again from a better address, for instance from foomail.com'.Christian FrommeChristian Fromme