Hacker News new | ask | show | jobs
by matthias_hmb 1587 days ago
I just realized, depending on the project, if both sides use that txmppc, any encryption (age, gpg) would work (not with other xmpp client compatible):

sender: echo "m CRYPT:encrypted_message" | txmppc

receiver: txmppc | while read line; do crypt = "${line#*CRYPT:}"; if [ "$line" != "$crypt" ]; then echo "$crypt" | decrypt; else echo "$line"; fi; done