Skip to content

Commit

Permalink
1.21.03
Browse files Browse the repository at this point in the history
  • Loading branch information
maqp committed Mar 11, 2021
1 parent 2d33fcf commit 69427f5
Show file tree
Hide file tree
Showing 128 changed files with 971 additions and 826 deletions.
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
### Tinfoil Chat

[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Python 3.7|3.8](https://img.shields.io/badge/python-3.7%20%7C%C2%A03.8-blue)](https://img.shields.io/badge/python-3.7%20%7C%C2%A03.8-blue)
[![Python 3.7|3.8|3.9](https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9-blue)](https://img.shields.io/badge/Python-3.7%20%7C%203.8%20%7C%203.9-blue)
[![Checked with mypy](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)
[![Build Status](https://travis-ci.org/maqp/tfc.svg?branch=master)](https://travis-ci.org/maqp/tfc)
[![Coverage Status](https://coveralls.io/repos/github/maqp/tfc/badge.svg?branch=master)](https://coveralls.io/github/maqp/tfc?branch=master)
Expand Down Expand Up @@ -164,7 +164,8 @@ to enable bidirectional communication between two users, while at the same time
hardware enforced endpoint security:

1. The Destination Computer uses the classical data diode model. This means it can receive
data from the insecure Networked Computer, but is unable to send data back to the Networked Computer. The Receiver Program is designed to function under these constraints. However,
data from the insecure Networked Computer, but is unable to send data back to the Networked
Computer. The Receiver Program is designed to function under these constraints. However,
even though the program authenticates and validates all incoming data, it is not ruled out
malware couldn't still infiltrate the Destination Computer. However, in the event that
would happen, the malware would be unable to exfiltrate sensitive keys or plaintexts back
Expand Down Expand Up @@ -213,19 +214,19 @@ hardware data diode is needed.
- PureOS 9.0
- *buntu 20.04 LTS / 20.10
- Pop!_OS 20.04 LTS / 20.10
- Linux Mint 20
- Linux Mint 20.1
- LMDE 4
- Qubes 4.0.3 (Debian 10 VM)
- Qubes 4.0.4 (Debian 10 VM)

#### Networked Computer
- Tails 4.13
- Tails 4.16
- Debian 10.7
- PureOS 9.0
- *buntu 20.04 LTS / 20.10
- Pop!_OS 20.04 LTS / 20.10
- Linux Mint 20
- Linux Mint 20.1
- LMDE 4
- Qubes 4.0.3 (Debian 10 VM)
- Qubes 4.0.4 (Debian 10 VM)


### More information
Expand Down
2 changes: 1 addition & 1 deletion dd.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"""
TFC - Onion-routed, endpoint secure messaging system
Copyright (C) 2013-2020 Markus Ottela
Copyright (C) 2013-2021 Markus Ottela
This file is part of TFC.
Expand Down
1,185 changes: 588 additions & 597 deletions install.sh

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions install.sh.asc
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEl5FK2MnA6CCzoiBaU4CsIVNsvGAFAl/SkWcACgkQU4CsIVNs
vGDwfxAArLGIgG2wIL6XOAcVKAFlZSfvBHJmvRyFlhHd+u7HO0EmCQp5KR6NzySa
D1yDhH6SOVn9/bvEzXPl8lKibBDR8M8SjgGi9sUXimaHrlOwC9rpR9qJ0wySCEEn
jrmGN6nGxq78HyApzUuIdeXk8Pa1TPQtLA5f0WHpX3N2yKj35qny7jXmhpxW6H97
gE/wMjIx1qzUJ4MDCWa8OPvDRMA1P/PGNNyPW6Yf/czxY+u8/qwqCGBSgER7btqm
qPFwIBX3xolEGE3wCe6r4RyrU5p67rdwCObl0Rqn/A5J+rc6OOLsIIoDTEF8eM18
LPFNObTLgnN6M8Y0ycBhvZxkglkveO5FFFu8NNNwQU0UfS1YS9wgr+oDiAVLYCcB
FGdo+oxNnPv7/QIjqfUReKSmS9a2azpLBbXr3gOibmNXuut9jArvIGAX8Bba1GYT
buyNyRR67Yzr3qJsQvUQZmkwuskiO69ez4dMb6yvX427Hw85+2dfS+ZnQ6hEFiZ5
RvlGpMfLpdiFXJ2NndU+xsLRP+XGiQUg1ZwOcxNux+pjvfKnR56qv2DhiTGlVrBt
WpWijA3g5tjQu9D7zhEznTXTh3oNlQf5qSAc574A6BPrUSVMDh36Qc/vgAMn4qIy
wc4hxIuzjqaAeKpNp7G8AMavNqGzlspckjCwDMfOQwr0gnjJCRE=
=MJ0x
iQIzBAABCAAdFiEEl5FK2MnA6CCzoiBaU4CsIVNsvGAFAmBKSf4ACgkQU4CsIVNs
vGA9jw//drErS2wvTwpds3AycT/L1SERUzIbZfVB4pyrEPLWTSEhm3UorP8TCnKC
ckVAYD9y5H+7NSrT11Rk77hZqv4QAADSz9sjqhAvCvd4QyT/xa0rgLyn4cd9DNoQ
K5VrB04GpM62eZFpz/yesa8qTL554+wuSOEaaZsXETh7uquvtaOpx5vMmQTuiMcI
hZGNPhQ/xyi+iap8oIYqJWO3+LOMYURpsef2pHnrItdoOXqzZbFvF+jK2ZAuKU7J
997zuxcCmuYIEgStbqDOGIp3dq7AQDFZozQG+PnFhmpompPP53PQ9q8Ys8ghrZpv
t67jMGJPW/2bRpTVmYQDZWwHxs6UWmzWNOpUFjEiF/vkLyFX7CT9QsybaJzkyUiD
Hc8+Zb1wxcxfFZ9ZuBOvwcX8rDHZ9CMxW1h0J6ZHXnPwCyYa2vuzurB6Tv19zD/G
fEZ94GjhQNNiVQHvcdNvh2aBngeHf4OgONJcVjb3XudsMjmMAjzgPkNwCmUMi9I5
YovgYLIESGPwbdWR4nIgu7Xk9fbwXLOEmpKIqxf4XprmbTF3v+3/r/EL/u2liDP4
olUukOCQycptAvUe3Oh7SeVdK+APaiXy+YuGqrjR+0VcrB3190w5VGoqfB7TunMW
xCHJ5x8vR4lO33O6JCVqxn9GZ/Qqp5QUECXK+HTv7GYvcM4df7Q=
=wSdc
-----END PGP SIGNATURE-----
2 changes: 1 addition & 1 deletion launchers/TFC-Dev.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Dev-LR
Comment=Developer configuration
Exec=terminator -m -u -g $HOME/tfc/launchers/terminator-config-dev -p tfc -l tfc-lr
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-Local-test.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Local-Test-LR
Comment=Local testing configuration
Exec=terminator -m -u -g /opt/tfc/terminator-config-local-test -p tfc -l tfc-lr
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-RP-Qubes.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Relay
Exec=gnome-terminal --geometry=94x25 -x bash -c "source /opt/tfc/venv_relay/bin/activate && python3 /opt/tfc/relay.py -q && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-RP-Tails.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Relay
Exec=gnome-terminal --geometry=105x25 -x bash -c "cd /opt/tfc && source venv_relay/bin/activate && python3 'relay.py' && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-RP.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Relay
Exec=gnome-terminal --geometry=105x25 -x bash -c "cd /opt/tfc && source venv_relay/bin/activate && python3 'relay.py' && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-RxP-Qubes.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Receiver
Exec=gnome-terminal --geometry=94x25 -x bash -c "source /opt/tfc/venv_tcb/bin/activate && python3 /opt/tfc/tfc.py -r -q && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-RxP.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Receiver
Exec=gnome-terminal --maximize -x bash -c "cd /opt/tfc && source venv_tcb/bin/activate && python3 'tfc.py' -r && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-TxP-Qubes.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Transmitter
Exec=gnome-terminal --geometry=94x25 -x bash -c "source /opt/tfc/venv_tcb/bin/activate && python3 /opt/tfc/tfc.py -q && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/TFC-TxP.desktop
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[Desktop Entry]
Version=1.20.12
Version=1.21.03
Name=TFC-Transmitter
Exec=gnome-terminal --maximize -x bash -c "cd /opt/tfc && source venv_tcb/bin/activate && python3 'tfc.py' && deactivate || bash"
Icon=tfc.png
Expand Down
2 changes: 1 addition & 1 deletion launchers/tfc-qubes-receiver
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# TFC - Onion-routed, endpoint secure messaging system
# Copyright (C) 2013-2020 Markus Ottela
# Copyright (C) 2013-2021 Markus Ottela
#
# This file is part of TFC.
#
Expand Down
2 changes: 1 addition & 1 deletion launchers/tfc-qubes-relay
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# TFC - Onion-routed, endpoint secure messaging system
# Copyright (C) 2013-2020 Markus Ottela
# Copyright (C) 2013-2021 Markus Ottela
#
# This file is part of TFC.
#
Expand Down
2 changes: 1 addition & 1 deletion launchers/tfc-qubes-transmitter
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# TFC - Onion-routed, endpoint secure messaging system
# Copyright (C) 2013-2020 Markus Ottela
# Copyright (C) 2013-2021 Markus Ottela
#
# This file is part of TFC.
#
Expand Down
2 changes: 1 addition & 1 deletion qubes/service.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

# TFC - Onion-routed, endpoint secure messaging system
# Copyright (C) 2013-2020 Markus Ottela
# Copyright (C) 2013-2021 Markus Ottela
#
# This file is part of TFC.
#
Expand Down
2 changes: 1 addition & 1 deletion qubes/writer.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"""
TFC - Onion-routed, endpoint secure messaging system
Copyright (C) 2013-2020 Markus Ottela
Copyright (C) 2013-2021 Markus Ottela
This file is part of TFC.
Expand Down
2 changes: 1 addition & 1 deletion relay.py
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

"""
TFC - Onion-routed, endpoint secure messaging system
Copyright (C) 2013-2020 Markus Ottela
Copyright (C) 2013-2021 Markus Ottela
This file is part of TFC.
Expand Down
40 changes: 20 additions & 20 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,33 @@

# Argon2 Password Hashing Function (Derives keys that protect persistent user data)
argon2-cffi>=20.1.0
cffi>=1.14.4
cffi>=1.14.5
pycparser>=2.20
six>=1.15.0

# cryptography (pyca) (Provides X448 key exchange)
cryptography>=3.3.1
cryptography>=3.4.6

# Flask (Onion Service web server that serves TFC public keys and ciphertexts to contacts)
Flask>=1.1.2
click>=7.1.2
itsdangerous>=1.1.0
Jinja2>=2.11.2
Jinja2>=2.11.3
MarkupSafe>=1.1.1
Werkzeug>=1.0.1

# mypy (Static type checking tool)
mypy>=0.790
mypy>=0.812
mypy-extensions>=0.4.3
typed-ast>=1.4.1
typed-ast>=1.4.2
typing-extensions>=3.7.4.3

# PyLama (Code audit tool for Python)
pylama>=7.7.1
mccabe>=0.6.1
pycodestyle>=2.6.0
pydocstyle>=5.1.1
snowballstemmer>=2.0.0
snowballstemmer>=2.1.0
pyflakes>=2.2.0

# PyNaCl (pyca) (Handles TCB-side XChaCha20-Poly1305 symmetric encryption and Derives TFC account from Onion Service private key)
Expand All @@ -41,34 +41,34 @@ pyserial>=3.5
PySocks>=1.7.1

# pytest (Test framework)
pytest>=6.1.2
pytest>=6.2.2
attrs>=20.3.0
importlib-metadata>=3.1.1
zipp>=3.4.0
more-itertools>=8.6.0
packaging>=20.7
importlib-metadata>=3.7.2
zipp>=3.4.1
more-itertools>=8.7.0
packaging>=20.9
pyparsing>=2.4.7
pluggy>=0.13.1
py>=1.9.0
py>=1.10.0
wcwidth>=0.2.5

# pytest-cov (Pytest plugin for measuring coverage)
pytest-cov>=2.10.1
coverage>=5.3
pytest-cov>=2.11.1
coverage>=5.5

# xdist (Pytest distributed testing plugin)
pytest-xdist>=2.1.0
execnet>=1.7.1
pytest-xdist>=2.2.1
execnet>=1.8.0
apipkg>=1.5
pytest-forked>=1.3.0

# Requests (Connects to the contact's Tor Onion Service)
requests>=2.25.0
requests>=2.25.1
certifi>=2020.12.5
chardet>=4.0.0
idna>=2.10
urllib3>=1.26.2
setuptools>=51.0.0
idna==2.10
urllib3>=1.26.3
setuptools>=54.1.1

# Stem (Connects to Tor and manages Onion Services)
stem>=1.8.0
Loading

0 comments on commit 69427f5

Please sign in to comment.