Compare commits
5 commits
Author | SHA1 | Date | |
---|---|---|---|
Morgan McMillian | 7d6f6f232c | ||
Morgan McMillian | cb1aa162ce | ||
3eaf32d215 | |||
51b7dea71b | |||
a36c12ad5c |
22
README.md
22
README.md
|
@ -1,11 +1,12 @@
|
||||||
# Pantalaimon UT
|
# Pantalaimon UT
|
||||||
|
|
||||||
|
*This project is no longer in active development.*
|
||||||
|
|
||||||
End-to-end encryption aware Matrix reverse proxy daemon for Ubuntu Touch.
|
End-to-end encryption aware Matrix reverse proxy daemon for Ubuntu Touch.
|
||||||
|
|
||||||
[source code](https://git.sr.ht/~thrrgilag/pantalaimon-ut) -
|
[source code](https://git.dreamfall.space/thrrgilag/pantalaimon-ut) -
|
||||||
[issue tracker](https://todo.sr.ht/~thrrgilag/pantalaimon-ut) -
|
[issue tracker](https://git.dreamfall.space/thrrgilag/pantalaimon-ut/issues) -
|
||||||
[mailing list](https://lists.sr.ht/~thrrgilag/pantalaimon-ut) -
|
[releases](https://git.dreamfall.space/thrrgilag/pantalaimon-ut/releases)
|
||||||
[releases](https://git.sr.ht/~thrrgilag/pantalaimon-ut/refs)
|
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
@ -13,12 +14,13 @@ End-to-end encryption aware Matrix reverse proxy daemon for Ubuntu Touch.
|
||||||
- [x] App icon
|
- [x] App icon
|
||||||
- [x] Fix image fetching (fixed in fluffychat)
|
- [x] Fix image fetching (fixed in fluffychat)
|
||||||
- [x] Cross compile python+pantalaimon
|
- [x] Cross compile python+pantalaimon
|
||||||
- [-] Import/export keys
|
- [x] Import/export keys (panctl only)
|
||||||
- [-] Ability to verify, ignore, or blacklist devices
|
- [x] Ability to verify, ignore, or blacklist devices (panctl only)
|
||||||
|
|
||||||
## Known Issues
|
## Known Issues
|
||||||
|
|
||||||
- Previously encrypted messages may not be decrypted
|
- Previously encrypted messages may not be decrypted
|
||||||
|
- Slow to sync on certain devices
|
||||||
|
|
||||||
## panctl
|
## panctl
|
||||||
|
|
||||||
|
@ -40,13 +42,7 @@ The background daemon (pantalaimon) and shell utility (panctl) are built directl
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Report bugs or send patches to
|
Report bugs or send patches to morgan@mcmillian.dev.
|
||||||
[~thrrgilag/pantalaimon-ut@lists.sr.ht](https://lists.sr.ht/~thrrgilag/pantalaimon-ut).
|
|
||||||
|
|
||||||
A tutorial for git send-email can be found at [git-send-email.io](https://git-send-email.io/)
|
|
||||||
if you're not familiar with this method.
|
|
||||||
|
|
||||||
You can also join my public chat room at [#dev:thrrgilag.ems.host](https://matrix.to/#/#dev:thrrgilag.ems.host) or [dev@conference.dreamfall.space](xmpp:dev@conference.dreamfall.space?join) (*xmpp*).
|
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"clickable_minimum_required": "6.12.2",
|
"always_clean": true,
|
||||||
"builder": "cmake",
|
"clickable_minimum_required": "7",
|
||||||
"kill": "qmlscene"
|
"kill": "qmlscene",
|
||||||
|
"builder": "cmake"
|
||||||
}
|
}
|
||||||
|
|
22
dev-build.sh
22
dev-build.sh
|
@ -6,8 +6,8 @@ TMP_DIR="${PROJECT_DIR}/tmp"
|
||||||
OLM_DIR="${PROJECT_DIR}/olm"
|
OLM_DIR="${PROJECT_DIR}/olm"
|
||||||
PANTALAIMON_DIR="${PROJECT_DIR}/pantalaimon"
|
PANTALAIMON_DIR="${PROJECT_DIR}/pantalaimon"
|
||||||
|
|
||||||
PYTHON_VERSION_MINOR="3.7"
|
PYTHON_VERSION_MINOR="3.8"
|
||||||
PYTHON_VERSION_PATCH="7"
|
PYTHON_VERSION_PATCH="12"
|
||||||
PYTHON_VERSION="${PYTHON_VERSION_MINOR}.${PYTHON_VERSION_PATCH}"
|
PYTHON_VERSION="${PYTHON_VERSION_MINOR}.${PYTHON_VERSION_PATCH}"
|
||||||
PYTHON_DIR="${PROJECT_DIR}/python"
|
PYTHON_DIR="${PROJECT_DIR}/python"
|
||||||
PYTHON_SRC_DIR="${TMP_DIR}/Python-${PYTHON_VERSION}"
|
PYTHON_SRC_DIR="${TMP_DIR}/Python-${PYTHON_VERSION}"
|
||||||
|
@ -19,21 +19,6 @@ mkdir -p "${TMP_DIR}"
|
||||||
|
|
||||||
PACKAGES="make cmake build-essential zlibc python3-venv libffi-dev ppa-purge libssl-dev libsqlite3-dev zlib1g-dev rustc cargo libgirepository1.0-dev libdbus-1-dev libcairo2-dev"
|
PACKAGES="make cmake build-essential zlibc python3-venv libffi-dev ppa-purge libssl-dev libsqlite3-dev zlib1g-dev rustc cargo libgirepository1.0-dev libdbus-1-dev libcairo2-dev"
|
||||||
|
|
||||||
PANTALAIMON_PATCH_CONTENT="
|
|
||||||
diff --git a/pantalaimon/main.py b/pantalaimon/main.py
|
|
||||||
index 896d29e..3e0fee8 100644
|
|
||||||
--- a/pantalaimon/main.py
|
|
||||||
+++ b/pantalaimon/main.py
|
|
||||||
@@ -32,6 +32,7 @@ from pantalaimon.log import logger
|
|
||||||
from pantalaimon.thread_messages import DaemonResponse
|
|
||||||
from pantalaimon.ui import UI_ENABLED
|
|
||||||
|
|
||||||
+keyring.core.set_keyring(keyring.core.load_keyring('keyring.backends.SecretService.Keyring'))
|
|
||||||
|
|
||||||
def create_dirs(data_dir, conf_dir):
|
|
||||||
try:
|
|
||||||
"
|
|
||||||
|
|
||||||
echo "Remounting RootFS writable..."
|
echo "Remounting RootFS writable..."
|
||||||
sudo mount -o remount,rw /
|
sudo mount -o remount,rw /
|
||||||
|
|
||||||
|
@ -77,7 +62,6 @@ export LD_LIBRARY_PATH
|
||||||
|
|
||||||
echo "Updating setuptools..."
|
echo "Updating setuptools..."
|
||||||
${PIP} install --upgrade setuptools
|
${PIP} install --upgrade setuptools
|
||||||
${PIP} install --upgrade pip
|
|
||||||
${PIP} install --upgrade wheel
|
${PIP} install --upgrade wheel
|
||||||
|
|
||||||
echo "Installing PyInstaller..."
|
echo "Installing PyInstaller..."
|
||||||
|
@ -102,8 +86,6 @@ CFLAGS=-I${OLM_DIR}/usr/local/include LDFLAGS=-L${OLM_DIR}/usr/local/lib ${PIP}
|
||||||
|
|
||||||
echo "Bundling Pantalaimon..."
|
echo "Bundling Pantalaimon..."
|
||||||
cd ${PROJECT_DIR}
|
cd ${PROJECT_DIR}
|
||||||
echo "${PANTALAIMON_PATCH_CONTENT}" > main.patch
|
|
||||||
# patch ${PYTHON_DIR}/lib/python${PYTHON_VERSION_MINOR}/site-packages/pantalaimon/main.py main.patch
|
|
||||||
${PYTHON_DIR}/bin/pyinstaller --onefile ${PYTHON_DIR}/bin/pantalaimon
|
${PYTHON_DIR}/bin/pyinstaller --onefile ${PYTHON_DIR}/bin/pantalaimon
|
||||||
${PYTHON_DIR}/bin/pyinstaller --onefile ${PYTHON_DIR}/bin/panctl
|
${PYTHON_DIR}/bin/pyinstaller --onefile ${PYTHON_DIR}/bin/panctl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue