Repository: trailofbits/algo

Issue #970: Step 4 Failure (SecretStorage install fail)
Created: 2018-05-25T17:23:14Z
OS / Environment (where do you run Algo on)

Darwin Johns-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Tue Jan 30 11:27:06 PST 2018; root:xnu-3789.73.11~1/RELEASE_X86_64 x86_64

Cloud Provider (where do you deploy Algo to)

Could not fetch URL https://pypi.python.org/simple/secretstorage/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
  Could not find a version that satisfies the requirement SecretStorage<3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for SecretStorage<3 (from -r requirements.txt (line 2))

Summary of the problem

Fails on Step 4, remaining dependencies. I pasted the error output above. SecretStorage is where it is failing. I tried downloading it directly and putting it in directory before running step 4, but that didn't work either.
Steps to reproduce the behavior


Run step 4, dependencies. Fails every time with same error.

Full log

This (below) is from step 4, not the ./algo script (I did try to run algo even after step 4 failed but couldn't get through it).
Johns-MacBook-Pro:algo-master john$ python -m ensurepip --user
Ignoring indexes: https://pypi.python.org/simple
Requirement already satisfied (use --upgrade to upgrade): setuptools in /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Requirement already satisfied (use --upgrade to upgrade): pip in /Users/john/Library/Python/2.7/lib/python/site-packages
Johns-MacBook-Pro:algo-master john$ python -m pip install --user --upgrade virtualenv
Requirement already up-to-date: virtualenv in /Users/john/Library/Python/2.7/lib/python/site-packages
Johns-MacBook-Pro:algo-master john$ python -m virtualenv --python=which python2 env && source env/bin/activate && python -m pip install -U pip && python -m pip install -r requirements.txt
New python executable in /Users/john/Documents/VPN/Algo-20180525/algo-master/env/bin/python
Installing setuptools, pip, wheel...done.
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
Requirement already satisfied: setuptools>=11.3 in ./env/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Collecting SecretStorage<3 (from -r requirements.txt (line 2))
Could not fetch URL https://pypi.python.org/simple/secretstorage/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590) - skipping
Could not find a version that satisfies the requirement SecretStorage<3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for SecretStorage<3 (from -r requirements.txt (line 2))
I installed the previous version of Algo just fine (March 2018).

Duplicate issue #984: Could not find a version that satisfies the requirement SecretStorage<3
Created: 2018-05-31T20:42:17Z
OS / Environment (where do you run Algo on)
macOS High Sierra 10.13.4
Darwin macbook.local 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64
Cloud Provider (where do you deploy Algo to)
Didn't get that far to deploy but attempting re-deploy the latest build of algo to Digital Ocean
Summary of the problem
In the Collecting SecretStorage<3 (from -r requirements.txt (line 2)) part of the remaning dependencies install I get the following red lines
Collecting SecretStorage<3 (from -r requirements.txt (line 2))
Could not fetch URL https://pypi.python.org/simple/secretstorage/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement SecretStorage<3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for SecretStorage<3 (from -r requirements.txt (line 2))
The only thing I changed in config was adding a list of users (3 names). Otherwise algo-master source is unchanged.
Steps to reproduce the behavior

Grabbed latest version of algo
Added user list to config.cfg
cd into algo-master file directory where unzipped files are using Terminal
Ran core dependencies
Ran remaining dependencies
Tried this (1-5) from my work network (at a WeWork Office Building) as well home and from a personal hotspot got the same errors below and can't run ./algo successfully

Full log
macbook:algo-master macbook$ cd /Users/macbook/Desktop/algo-master
macbook:algo-master macbook$ python -m ensurepip --user
Requirement already satisfied: setuptools in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Requirement already satisfied: pip in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
macbook:algo-master macbook$ python -m pip install --user --upgrade virtualenv
Could not fetch URL https://pypi.python.org/simple/virtualenv/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Requirement already up-to-date: virtualenv in /Users/macbook/Library/Python/2.7/lib/python/site-packages
macbook:algo-master macbook$ python -m virtualenv --python=which python2 env &&

source env/bin/activate &&
python -m pip install -U pip &&
python -m pip install -r requirements.txt


Running virtualenv with interpreter /Library/Frameworks/Python.framework/Versions/2.7/bin/python2
New python executable in /Users/justinstevens-work/Desktop/algo-master/env/bin/python
Installing setuptools, pip, wheel...done.
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Requirement already up-to-date: pip in ./env/lib/python2.7/site-packages
Requirement already satisfied: setuptools>=11.3 in ./env/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Collecting SecretStorage<3 (from -r requirements.txt (line 2))
Could not fetch URL https://pypi.python.org/simple/secretstorage/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:661) - skipping
Could not find a version that satisfies the requirement SecretStorage<3 (from -r requirements.txt (line 2)) (from versions: )
No matching distribution found for SecretStorage<3 (from -r requirements.txt (line 2))

Closing comment (2018-06-01T06:56:14Z): duplicate #970