This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Section "InputClass" | |
Identifier "system-keyboard" | |
MatchIsKeyboard "on" | |
Option "XkbModel" "pc105" | |
Option "XkbLayout" "de" | |
Option "XkbVariant" "neo" | |
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk/ | |
export ANDROID_HOME=/opt/android-sdk | |
BUILD_DIRECTORY="lttrs-android-build" | |
git clone https://github.com/iNPUTmice/lttrs-android.git | |
mkdir $BUILD_DIRECTORY | |
disorderfs --sort-dirents=yes --reverse-dirents=no lttrs-android $BUILD_DIRECTORY | |
cd $BUILD_DIRECTORY | |
./gradlew assembleRelease | |
sha256sum app/build/outputs/apk/release/Ltt.rs-0.1.0-release-unsigned.apk |
Audio and Video calls in XMPP are encrypted end-to-end with DTLS-SRTP as per XEP-0320: Use of DTLS-SRTP in Jingle Sessions.
This protocol replaces XEP-0320 with something that is encrypted with and verified by OMEMO.
Disclaimer: The proper solution is to use OMEMO version 0.5+ and Stanza Content Encryption and encrypt the entire Jingle handshake. However we are still a long road away from having OMEMO 0.5+ in general and any implementational experience with SCE for IQ based protocols in particular. The protocol proposed here is a hack that is hopefully not too dirty.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import threading | |
import sleekxmpp | |
logging.basicConfig(level=logging.DEBUG) | |
class Bot(sleekxmpp.ClientXMPP): | |
def __init__(self, jid, password): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<iq type="set" id="7RXOvvazuTAi" from="a/Conversations.34B6" to="b/Conversations.eVjR"> | |
<jingle sid="Nu0lPv07EN8O5Wn7jVRszA" action="session-initiate" xmlns="urn:xmpp:jingle:1"> | |
<content name="0" creator="initiator" senders="initiator" xmlns="urn:xmpp:jingle:1"> | |
<description xmlns="urn:xmpp:jingle:apps:file-transfer:5"> | |
<file xmlns="urn:xmpp:jingle:apps:file-transfer:5"> | |
<name>af9742ee-85d2-46b6-ba48-e72ffbbbd221.jpg</name> | |
<size>65751</size> | |
<mediaType>image/jpeg</mediaType> | |
</file> | |
</description> |
OlderNewer