diff --git a/.github/workflows/applications.yml b/.github/workflows/applications.yml index 36c4072..c260693 100644 --- a/.github/workflows/applications.yml +++ b/.github/workflows/applications.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - version: ['2.7', '3.5'] + version: ['2.7', '3.5', '3.6'] steps: - uses: actions/checkout@v2 @@ -38,3 +38,10 @@ jobs: python -m python_appimage build app applications/xonsh test -e xonsh-x86_64.AppImage ./xonsh-x86_64.AppImage -c 'import xonsh' + + - name: Test ssh-mitm + if: ${{ matrix.version == '3.6' }} + run: | + python -m python_appimage build app applications/ssh-mitm + test -e ssh-mitm-x86_64.AppImage + ./ssh-mitm-x86_64.AppImage --help diff --git a/README.md b/README.md index fdd17fb..95f0425 100644 --- a/README.md +++ b/README.md @@ -14,14 +14,14 @@ Running Python from these [AppImages][APPIMAGE] is as simple as downloading a single file and changing its mode to executable, e.g. as: ```sh -wget https://github.com/niess/python-appimage/releases/download/\ -python3.9/python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage -chmod +x python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage +wget https://github.com/niess/python-appimage/releases/download\ +/python3.10/python3.10.0-cp310-cp310-manylinux2010_x86_64.AppImage +chmod +x python3.10.0-cp310-cp310-manylinux2010_x86_64.AppImage -./python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage +./python3.10.0-cp310-cp310-manylinux2010_x86_64.AppImage ``` -This should start a Python 3.8 interactive session on _almost_ any Linux +This should start a Python 3.10 interactive session on _almost_ any Linux provided that `fuse` is available. Note that on WSL1 since `fuse` is not supported you will need to extract the AppImage as explained hereafter. @@ -30,11 +30,11 @@ its standard library. However, if you plan to install extra packages we recommend extracting the AppImage, e.g. as: ```sh -./python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage --appimage-extract -mv squashfs-root python3.9 -rm -f python3.9.4-cp39-cp39-manylinux1_x86_64.AppImage +./python3.10.0-cp310-cp310-manylinux2010_x86_64.AppImage --appimage-extract +mv squashfs-root python3.10 +rm -f python3.10.0-cp310-cp310-manylinux2010_x86_64.AppImage -export PATH="$(pwd)/python3.9/usr/bin:$PATH" +export PATH="$(pwd)/python3.10/usr/bin:$PATH" ``` Then, extra packages can be installed to the extracted AppDir using `pip`. For @@ -64,10 +64,11 @@ packages. Then, simply rebuild the AppImage using your favourite tool, e.g. * [grand/python](https://github.com/grand-mother/python) - Contained, portable and modern python for [GRAND][GRAND] running from an AppImage * [xxh](https://github.com/xxh/xxh) - Bring your favorite shell wherever you go - through the ssh -* [xonsh](https://github.com/xonsh/xonsh) - Python-powered, cross-platform, Unix-gazing + through the ssh +* [xonsh](https://github.com/xonsh/xonsh) - Python-powered, cross-platform, Unix-gazing shell language and command prompt * [rever](https://github.com/regro/rever) - Cross-platform software release tool. +* [ssh-mitm](https://github.com/ssh-mitm/ssh-mitm) - ssh mitm server for security audits [APPIMAGE]: https://appimage.org diff --git a/applications/ssh-mitm/entrypoint.sh b/applications/ssh-mitm/entrypoint.sh new file mode 100644 index 0000000..a13985f --- /dev/null +++ b/applications/ssh-mitm/entrypoint.sh @@ -0,0 +1,2 @@ +#! /bin/bash -i +{{ python-executable }} -u "${APPDIR}/opt/python{{ python-version }}/bin/ssh-mitm" "$@" diff --git a/applications/ssh-mitm/requirements.txt b/applications/ssh-mitm/requirements.txt new file mode 100644 index 0000000..1b7203a --- /dev/null +++ b/applications/ssh-mitm/requirements.txt @@ -0,0 +1 @@ +ssh-mitm diff --git a/applications/ssh-mitm/ssh-mitm.appdata.xml b/applications/ssh-mitm/ssh-mitm.appdata.xml new file mode 100644 index 0000000..1e42f0d --- /dev/null +++ b/applications/ssh-mitm/ssh-mitm.appdata.xml @@ -0,0 +1,17 @@ + + + ssh-mitm + MIT + Python-2.0 + SSH-MITM + SSH-MITM on Python {{ python-fullversion }} + +

Python {{ python-fullversion }} + SSH-MITM bundled in an AppImage. +

+
+ ssh-mitm.desktop + https://www.ssh.mitm.at + + python{{ python-version }} + +
diff --git a/applications/ssh-mitm/ssh-mitm.desktop b/applications/ssh-mitm/ssh-mitm.desktop new file mode 100644 index 0000000..25fdcf6 --- /dev/null +++ b/applications/ssh-mitm/ssh-mitm.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=ssh-mitm +Exec=ssh-mitm +Comment=SSH-MITM on Python {{ python-fullversion }} +Icon=python +Categories=System; +Terminal=true