Commit Graph

27 Commits

Author SHA1 Message Date
Martin Dosch
79897fd295
Use fast.bin for fast cache file
So it's clear that this is no clear text file and it is not supposed to
be edited by the user.
2024-04-10 15:50:58 +02:00
Martin Dosch
61f5ab705d
Add support for FAST authentication. 2024-04-10 15:19:50 +02:00
Martin Dosch
5ecfe200c1
Revert "Do not use sasl2 uuid attribute."
This reverts commit 557d105238.
2024-04-09 14:52:15 +02:00
Martin Dosch
9f9c533941
Add support for SASL2 and BIND2
Squashed commit of the following:

commit 0805b1f06a
Author: Martin Dosch <martin@mdosch.de>
Date:   Tue Apr 9 10:57:29 2024 +0200

    Move to upstream go-xmpp.

commit 557d105238
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 12:45:10 2024 +0200

    Do not use sasl2 uuid attribute.

commit 986aea7957
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 11:29:33 2024 +0200

    Don't print error on io.EOF

commit ef927ce5cc
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 11:25:40 2024 +0200

    Detect stream error while receiving stanzas.

commit 73b00f0612
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 10:00:54 2024 +0200

    Use a client uuid per JID.

commit b2d090a623
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 09:29:50 2024 +0200

    Improve sasl2 user agent id stuff.

commit c7376832ce
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 09:11:03 2024 +0200

    Rework getting data path.

commit 080100486e
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 08:49:49 2024 +0200

    Update go-xmpp.

commit 9c56a79bae
Author: Martin Dosch <martin@mdosch.de>
Date:   Sun Apr 7 00:26:04 2024 +0200

    SASL2: Create per client installation ID.

commit cce36b070a
Author: Martin Dosch <martin@mdosch.de>
Date:   Sat Apr 6 22:20:35 2024 +0200

    Update go-xmpp.

commit 1c4acfd07c
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 12:04:09 2024 +0200

    Update go-xmpp.

commit 0703a7c2d6
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 11:38:28 2024 +0200

    Update go-xmpp.

commit 4f033fc5b9
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:39:30 2024 +0200

    Update vendored lib.

commit a44554218d
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:32:54 2024 +0200

    Use google/uuid for message IDs.

    It is used for go-xmpp in the sasl2 branch anyway.

commit 3e57ec3603
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:12:50 2024 +0200

    Update vendored modules.

commit ead44ef99d
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 09:12:25 2024 +0200

    Add . between go-sendxmpp and short id.

commit b3271a3530
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 08:38:03 2024 +0200

    Update Changelog.

commit 639b9b6657
Author: Martin Dosch <martin@mdosch.de>
Date:   Fri Apr 5 08:22:56 2024 +0200

    Add short ID back to resource string.

    That's still necessary to avoid two instances with the same resource
    when using SASL instead of SASL2.

commit 680593359b
Author: Martin Dosch <martin@mdosch.de>
Date:   Thu Apr 4 23:56:15 2024 +0200

    Experimental sasl2 support.
2024-04-09 10:59:00 +02:00
Martin Dosch
b004015e18
Don't unwrap errors when checking errors. 2023-08-16 08:49:43 +02:00
Martin Dosch
2f76178a22
Replace invalid characters with UTF8 replacement char. 2023-08-10 13:42:31 +02:00
Martin Dosch
a912408d16
Wrap and unwrap errors. 2023-06-07 22:28:01 +02:00
Martin Dosch
ea4b1a7de4
Start wrapping errors. 2023-06-06 22:09:59 +02:00
Martin Dosch
61027844d2
[golangci-lint]: Don't use magic numbers. 2023-06-06 10:47:41 +02:00
Martin Dosch
7de155af64
[golangci-lint]: Use stronger random number generator for rPad. 2023-06-04 16:14:32 +02:00
Martin Dosch
b79e7dd502
Check error for file.Close(). 2023-06-04 15:15:31 +02:00
Martin Dosch
8e693c5934
Improve rpad generation.
Use runes instead of bytes to always reach a multiple of 100
symbols for message body + rpad.
2023-05-29 11:40:37 +02:00
Martin Dosch
437cd7eec6
Remove copyright years. 2023-05-11 20:06:23 +02:00
Martin Dosch
4fbd7efb91
Make sending of OOB URLs more robust. 2023-02-18 16:24:46 +01:00
Martin Dosch
d481aa688c
Add support for sending files OOB. 2023-02-18 15:42:04 +01:00
Martin Dosch
dd9566eaee
Move string validation into own helper function. 2022-11-05 12:40:40 +01:00
Martin Dosch
1214e7920f Revert "Ox: Improve rpad"
This reverts commit 83c92bd4cc.
2022-05-03 17:40:47 +02:00
Martin Dosch
83c92bd4cc Ox: Improve rpad
Pad to a multiple of 200 bytes as recommended.
2022-05-03 17:35:46 +02:00
Martin Dosch
433e974a4a Clean up. 2022-05-02 16:13:00 +02:00
Martin Dosch
917dabe6af Ox: Improve rpad generation. 2022-05-02 15:07:58 +02:00
Martin Dosch
6556ab1188 Ox: Change rpad from random length to length dependent on message length
The length of message + the length of the rpad will always be a
total length of a multiple of 100.
2022-04-29 11:36:41 +02:00
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
644b1f809d Use shorter random string for resource. 2022-04-23 23:40:15 +02:00
Martin Dosch
20953ab1ac Move file reading into own helper func. 2022-04-18 10:16:00 +02:00
Martin Dosch
e9e0d8c735 Add experimental Ox (OpenPGP for XMPP) support. 2022-04-17 17:16:29 +02:00
Martin Dosch
3c9f8fac45 Move id function to helpers file. 2022-04-09 11:00:38 +08:00