Debian Codegraph @

man/go-sendxmpp.5.ronn

raw
1 go-sendxmpp(5) -- A tool to send messages to an XMPP contact or MUC.
2 ====
3
4 ## LOCATION
5
6 The account data is expected at `~/.config/go-sendxmpp/config` (preferred), `~/.config/go-sendxmpp/sendxmpprc`
7 (deprecated) or `~/.sendxmpprc` (for compatibility with the original perl sendxmpp) if no other configuration file
8 location is specified with -f or --file. The configuration file is expected to be in the following format:
9
10 ## FORMAT
11
12 username: [<your_jid>]
13 jserver: [<jabber_server>]
14 port: [<jabber_port>]
15 password: [<your_jabber_password>]
16 eval_password: [<command_to_unlock_your_password>]
17 alias: [<your_alias>]
18 allow_plain: [<bool>]
19 no_root_warning: [<bool>]
20 no_legacy_pgp_warning: [<bool>]
21 ox_trust_mode: [blind|tofu]
22
23 ## REQUIRED SETTINGS
24
25 If all necessary settings are supplied as command line arguments no config file is needed at all.
26 Setting `jserver` and `port` might not be necessary depending on the used server.
27 You should either use a password manager and the setting `eval_password` or add
28 your password in plaintext to the config file with the setting `password`.
29 Please be careful with `eval_password` as any command put there will be executed.
30
31 ## OPTIONS
32
33 * `username`:
34 Your JID, e.g. **[email protected]**.
35
36 * `jserver`:
37 Your server, e.g. **xmpp.example.com**.
38 Should not be necessary if the server is set up properly.
39
40 * `port`:
41 The client-to-server port of the XMPP server, e.g. **5222**.
42 Should not be necessary if the server is set up properly.
43
44 * `password`:
45 Your accounts password, e.g. **hunter2** (please, do not use **hunter2**).
46 Use `"` if your password contains spaces, e.g. **"hunter 2"** (please, also do not use **hunter 2**).
47
48 * `eval_password`:
49 A command to retrieve the password from a password manager, e.g. **pass xmpp/[email protected]**.
50
51 * `alias`:
52 The alias/nickname for chatrooms, e.g. **Martin** or **"My nick contains spaces"**.
53
54 * `allow_plain`:
55 Boolean to allow PLAIN authentication. Note that this setting has no effect if there was a successful
56 connection using a SCRAM authentication mechanism before. In that case PLAIN is not allowed to prevent
57 downgrades by a man-in-the-middle attack.
58 Allowed values: **true**/**false** (Default: false)
59
60 * `no_root_warning`:
61 Boolean to disable the warning when running as root. Note that running as root is discouraged although
62 go-sendxmpp tries to drop the root privileges before doing network calls. Be aware that **OX**,
63 **legacy PGP** and the pinning to not use **PLAIN** authentication after a successful **SCRAM**
64 authentication are disabled as those need file system access in the private user scope after dropping
65 the privileges.
66 Allowed values: **true**/**false** (Default: false)
67
68 * `no_legacy_pgp_warning`:
69 Boolean to disable the warning when using **legacy PGP**. Please note, that *legacy PGP** is deprecated
70 and will be removed in an upcoming update. It is highly recommended to use OX instead.
71 Allowed values: **true**/**false** (Default: false)
72
73 * `ox_trust_mode`:
74 Accepts the strings **tofu** and **blind**. Tofu means trust on first usage and accepts any OX key if none
75 is stored in the cache yet. If the key ID changes go-sendxmpp will refuse to encrypt. Blind means
76 go-sendxmpp will import and trust any new key that is advertised by the recipient.
77 Allowed values: **tofu**/**blind** (Default: blind)
78
79 ## AUTHOR
80
81 Written by Martin Dosch.
82
83 ## REPORTING BUGS
84
85
86 Report bugs at [https://salsa.debian.org/mdosch/go-sendxmpp/-/work_items](https://salsa.debian.org/mdosch/go-sendxmpp/-/work_items).
87
88 ## COPYRIGHT
89
90 Copyright (c) Martin Dosch
91 License: BSD 2-clause License
92
93 ## SEE ALSO
94
95 go-sendxmpp(1), sendxmpp(1)