Martin Dosch
13dc48bbb4
Remove println.
2022-04-28 17:40:39 +02:00
Martin Dosch
658ef9b653
Ox: Use crypto/rand instead of math/rand for rpad.
2022-04-28 17:39:00 +02:00
Martin Dosch
72bc564fa6
Update go modules.
2022-04-28 11:58:10 +02:00
Martin Dosch
23b2437ad1
Ox: Also publish pubkey for imported privkeys
...
Check whether the public key is already in pubsub,
if not publish it.
2022-04-28 11:35:14 +02:00
Martin Dosch
82652ba7c6
Fix typo.
2022-04-27 14:31:44 +02:00
Martin Dosch
b092039ac3
Ox: Allow also RSA key generation.
2022-04-26 19:47:22 +02:00
Martin Dosch
b25ba60415
Don't set email for Ox private key.
...
Prior to this commit [1] it was necessary to provide a
name and an email address for key generation. So the
UID of the key had the format `xmpp:user@example.com
<xmpp:user@example.com>` whereas XEP-0373 defines the
UID in the format `xmpp:user@example.com`.
[1] 74905cd51f
2022-04-26 19:14:08 +02:00
Martin Dosch
07d3491c2a
Just create key file if key generation is requested.
2022-04-25 22:50:31 +02:00
Martin Dosch
0279deae17
Use etree to create disco info request.
2022-04-25 21:43:18 +02:00
Martin Dosch
bfb5e28a03
Change variable names and error strings [golint].
2022-04-25 21:29:14 +02:00
Martin Dosch
4c77a043b3
Code cleanup.
2022-04-25 21:14:40 +02:00
Martin Dosch
4ce9daec09
Update changelog.
2022-04-25 16:55:49 +02:00
Martin Dosch
56bab555b7
Fix typo.
2022-04-25 16:49:03 +02:00
Martin Dosch
a82c5541ad
Update go modules.
2022-04-25 16:38:47 +02:00
Martin Dosch
d3cdd71f03
Move from encoding/xml to etree.
2022-04-25 11:59:26 +02:00
Martin Dosch
8369d28f9e
Remove debug println…
2022-04-24 01:45:55 +02:00
Martin Dosch
03f744a886
Change from encoding/xml to etree.
2022-04-24 01:45:20 +02:00
Martin Dosch
8aab6810d2
Change from encoding/xml to etree.
2022-04-24 01:20:39 +02:00
Martin Dosch
8764f03eec
Change from encoding/xml to etree.
2022-04-24 00:56:44 +02:00
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