4 ms·
I understand you can encrypt the message with gpg2 and then send the message with the CLI (perl based) script sendxmpp [1]. [1] https://packages.debian.org/bul
by prash_ant 5y ago
I understand you can encrypt the message with gpg2 and then send the message with the CLI (perl based) script sendxmpp [1].
[1] https://packages.debian.org/bullseye/sendxmpp https://packages.debian.org/bullseye/sendxmpp
- matthias_hmb 5y agoThanks for that hint. I added command 'r' to send a raw stanza, so a script would work like this: BASE64_OPENPGP_MESSAGE=$(echo "message" | gpg | b64)" echo "r <message to='juliet@example.org'><openpgp xmlns='urn:xmpp:openpgp:0'>${BASE64_OPENPGP_MESSAGE}</openpgp></message>" | txmppc