aboutsummaryrefslogtreecommitdiffstats
path: root/release/ci.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2018-05-18 08:09:42 +1200
committerAldo Cortesi <aldo@corte.si>2018-05-18 08:09:42 +1200
commite1de592e46c7d7b129dbfb80de1f64a24e9d82ee (patch)
treee21687cd701c45abbf3d758ef362a202d9ad1977 /release/ci.py
parent2bbfcfae927c89d42b0b0c3d1abac268ee68dff7 (diff)
downloadmitmproxy-e1de592e46c7d7b129dbfb80de1f64a24e9d82ee.tar.gz
mitmproxy-e1de592e46c7d7b129dbfb80de1f64a24e9d82ee.tar.bz2
mitmproxy-e1de592e46c7d7b129dbfb80de1f64a24e9d82ee.zip
Release cleanups
- rtool suck back in, the bastard! Delete it. - Ditch CONTRRIBUTORS, saving a step. I added this before Github had a contributors page, which is good enough: https://github.com/mitmproxy/mitmproxy/graphs/contributors - Remove some cruft from CI that we no longer use.
Diffstat (limited to 'release/ci.py')
-rwxr-xr-xrelease/ci.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/release/ci.py b/release/ci.py
index 7550aae4..a5000879 100755
--- a/release/ci.py
+++ b/release/ci.py
@@ -12,7 +12,6 @@ import tarfile
import zipfile
from os.path import join, abspath, dirname, exists, basename
-import cryptography.fernet
import click
# https://virtualenv.pypa.io/en/latest/userguide.html#windows-notes
@@ -268,14 +267,5 @@ def upload():
])
-@cli.command("decrypt")
-@click.argument('infile', type=click.File('rb'))
-@click.argument('outfile', type=click.File('wb'))
-@click.argument('key', envvar='RTOOL_KEY')
-def decrypt(infile, outfile, key):
- f = cryptography.fernet.Fernet(key.encode())
- outfile.write(f.decrypt(infile.read()))
-
-
if __name__ == "__main__":
cli()