Commit Graph

267 Commits

Author SHA1 Message Date
Martin Dosch
dd4a9c9bed Fix Ox encryption. 2022-04-24 00:33:17 +02:00
Martin Dosch
28c5884044 Change from encoding/xml to etree. 2022-04-23 23:59:19 +02:00
Martin Dosch
644b1f809d Use shorter random string for resource. 2022-04-23 23:40:15 +02:00
Martin Dosch
11cf616e99 Change from encoding/xml to etree. 2022-04-23 23:34:03 +02:00
Martin Dosch
5d36173be7 Use proper variable names for etree xml. 2022-04-23 13:19:42 +02:00
Martin Dosch
aa8e79aa88 Ox: Add store hint. 2022-04-22 13:22:37 +02:00
Martin Dosch
33066fea8a Ox: Remove from
The server will add it anyway so don't perform
unnecessary tasks, also it's not in XEP-0373
examples.
2022-04-21 19:06:16 +02:00
Martin Dosch
7877f3d498 Assure that no unencrypted messages are sent while using --ox. 2022-04-21 18:54:55 +02:00
Martin Dosch
19dee4b8fd Ox: (Hopefully) support multiple pubkeys in result.
See https://xmpp.org/extensions/xep-0373.html#discover-pubkey
2022-04-21 17:28:59 +02:00
Martin Dosch
d25294add7 Ox: Cache public keys. 2022-04-18 17:14:03 +02:00
Martin Dosch
b5557ab251 Only fetch ox keys if --ox is used. 2022-04-18 14:59:29 +02:00
Martin Dosch
edc35dd8df Fix file opening. 2022-04-18 14:43:50 +02:00
Martin Dosch
5124dbb1e7 Set MaxItems for keylist request to 1. 2022-04-18 14:12:40 +02:00
Martin Dosch
428bb86de2 Ox: Add private key import. 2022-04-18 11:16:41 +02:00
Martin Dosch
73f8ac8fb1 Fix typo. 2022-04-18 10:23:03 +02:00
Martin Dosch
20953ab1ac Move file reading into own helper func. 2022-04-18 10:16:00 +02:00
Martin Dosch
1922d0a1b0 Ox: Don't try to send Ox messages if no key is present. 2022-04-17 17:34:28 +02:00
Martin Dosch
e9e0d8c735 Add experimental Ox (OpenPGP for XMPP) support. 2022-04-17 17:16:29 +02:00
Martin Dosch
709ba5ad51 Update go modules. 2022-04-10 14:02:58 +08:00
Martin Dosch
9b9fcedf25 Move constants in separate file. 2022-04-10 14:01:23 +08:00
Martin Dosch
5fffba3ef8 Move IQ structs into separate file.
This will make httpupload.go look a lot cleaner.
2022-04-09 11:07:26 +08:00
Martin Dosch
3c9f8fac45 Move id function to helpers file. 2022-04-09 11:00:38 +08:00
Martin Dosch
26bacd7b23 Update modules. 2022-04-09 10:54:45 +08:00
Martin Dosch
8e958aba52 Fix typo. 2022-04-09 10:54:12 +08:00
Martin Dosch
9140360674 Move iq handling functions in separate file. 2022-04-09 10:52:14 +08:00
Martin Dosch
b4db5512fd Move iq handling functions in separate file. 2022-04-09 10:51:34 +08:00
Martin Dosch
f0e4a33700 Move iq handling into own function. 2022-04-09 10:46:57 +08:00
Martin Dosch
e37de156d9 Update dependencies. 2022-03-27 22:43:09 +08:00
Martin Dosch
14ad13fc15 Fix description for --tls-version in manpage. 2022-03-21 14:28:56 +08:00
Martin Dosch
47a4c19cfb Prepare new development cycle. 2022-03-21 09:17:28 +08:00
Martin Dosch
910f1976d8 Release v0.3.0 2022-03-21 09:16:26 +08:00
Martin Dosch
35f4d05a9e Release v0.3.0 2022-03-21 09:12:40 +08:00
Martin Dosch
2d4cde999b Don't block on IQs of type "error". 2022-03-19 22:28:58 +08:00
Martin Dosch
861c3092fc Don't exit if a component returns an IQ error. 2022-03-11 00:40:10 +08:00
Martin Dosch
908bc1b753 Revert "Added timeout for IQs."
This reverts commit 89c884c3d6.
2022-03-09 22:31:53 +08:00
Martin Dosch
89c884c3d6 Added timeout for IQs. 2022-03-06 15:25:23 +08:00
Martin Dosch
203a199d2c Fix typos. 2022-02-25 21:04:04 +08:00
Martin Dosch
65d17e4e8b Only show changes for current version in the release info. 2022-02-25 20:18:02 +08:00
Martin Dosch
4122d32673 Add note about installing master. 2022-02-25 15:42:02 +08:00
Martin Dosch
11071ad98e Add release dates to changelog. 2022-02-24 10:41:33 +08:00
Martin Dosch
d0f61a0716 Rename go-sendxmpp.go to main.go 2022-02-23 22:11:15 +08:00
Martin Dosch
6f947b3be8 Remove duplicate line. 2022-02-23 22:08:51 +08:00
Martin Dosch
4ed2b95ca7 Remove println added for debugging. 2022-02-23 22:07:13 +08:00
Martin Dosch
d58c2c779f Add copyright and license header. 2022-02-23 22:04:18 +08:00
Martin Dosch
96008eba8a Code clean up. 2022-02-23 22:00:34 +08:00
Martin Dosch
26f7623705 Fix typo. 2022-02-23 17:06:06 +08:00
Martin Dosch
469495d556 Change default config location. 2022-02-23 02:57:03 +08:00
Martin Dosch
fdd57eb82c Fix a crash when config was non-existant or non-readable. 2022-02-23 02:39:59 +08:00
Martin Dosch
e2b2f279e6 Update changelog 2022-02-23 02:35:47 +08:00
Martin Dosch
498b03c844 Prevent crash when reading config. 2022-02-23 02:34:24 +08:00