Re:Simple XMPP command line client
by matthias_hmb on Monday February 14, 2022 @01:36AM
(#30328965)
Thanks 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='[email protected]'><openpgp xmlns='urn:xmpp:openpgp:0'>${BASE64_OPENPGP_MESSAGE}</openpgp></message>" | txmppc
[1] https://packages.debian.org/bullseye/sendxmpp