Commit Graph

105 Commits (5ecfe200c1f3b0d62a5b95844ac682a731ea4c45)

Author SHA1 Message Date
Martin Dosch 5ecfe200c1
Revert "Do not use sasl2 uuid attribute."
This reverts commit 557d105238.
3 months ago
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.
3 months ago
Martin Dosch 11a31d6ad0
Remove mutex and context.
Those should hopefully no longer be necessary as the races
have been fixed in the library.
3 months ago
Martin Dosch dbed11323d
Remove mutex as the locking is now done in the library. 3 months ago
Martin Dosch 09693ba1bf
Further improvements to make race conditions less likely. 3 months ago
Martin Dosch 8936ba2acc
Only perform root check on non-windows systems.
Is anyone using go-sendxmpp on windows?
3 months ago
Martin Dosch 1574e2f4df
Add a warning when run by root. 3 months ago
Martin Dosch 9a186aeec1
Don't capitalize `--ssdp-off` command line flag. 3 months ago
Martin Dosch ca268e957e
Add command line flag to disable XEP-0474: SASL SCRAM Downgrade Protection. 3 months ago
Martin Dosch e5cbe832e3
Properly exit listening mode if Ctrl+C is pressed. 3 months ago
Martin Dosch 5ca5404418
Make system output look less bloated. 3 months ago
Martin Dosch 2e59f85476
Capitalize go-sendxmpp in version output. 3 months ago
Martin Dosch 4c3e5700e7
Also add go version to system output. 3 months ago
Martin Dosch 54fb96431e
Remove mutex as it might block go-sendxmpp forever. 3 months ago
Martin Dosch a02727571b
Show OS and arch combined as system. 3 months ago
Martin Dosch c0493f3cdd
Remove unnecessary passing around of mutex
…it's a global variable anyway…
3 months ago
Martin Dosch 613a9c8639
Improve closing connection. 3 months ago
Martin Dosch 42e2c83eaf
Print go version for flag `--version`. 3 months ago
Martin Dosch 6a5bdec0e7
Print OS and arch info for `--version`. 3 months ago
Martin Dosch 6dcabd47f4
Properly close stream in interactive mode. 3 months ago
Martin Dosch c5590fe527
Revert "Sleep again for 100ms for debugging purposes."
This reverts commit ad1aeba749.
4 months ago
Martin Dosch ad1aeba749
Sleep again for 100ms for debugging purposes. 4 months ago
Martin Dosch 459e40e9a4
More perl sendxmpp config compatibility. 4 months ago
Martin Dosch 38bf2d54a8
Remove 100ms sleep before closing connection. 4 months ago
Martin Dosch 10feec99c8
Better compatibility with perl sendxmpp config files. 4 months ago
Martin Dosch d74b86c30c
Properly handle lost connection. 4 months ago
Martin Dosch b4613f5cf0
Fix specifying a message via file. 4 months ago
Martin Dosch 643842fcb1
http-upload: Improved error handling. 5 months ago
Martin Dosch 7677d2907a
Add experimental support for SOCKS5 proxies. 5 months ago
Martin Dosch 05e5115c5d
Disable TLS Renegotiation. 5 months ago
Martin Dosch fc1342ab29
Update go modules. 6 months ago
Martin Dosch c43833b138
Check `--scram-mech-pinning` input for plausibility. 6 months ago
Martin Dosch 5303a0901c
Add support for XEP-0474. 6 months ago
Martin Dosch 802f57d404
[gofumpt]: Improve formatting. 7 months ago
Martin Dosch 2fbf3b40e7
[codespell]: Fix typos. 8 months ago
Martin Dosch d482347310
Switch back to upstream go-xmpp library. 8 months ago
Martin Dosch 721db135ac
Remove setting of TLS max Version TLS1.2
This was only added for debugging and accidentally commited.
8 months ago
Martin Dosch 4ffca7e2c9
Update go modules. 8 months ago
Martin Dosch 23770b4e00
Don't log missing pin file. 8 months ago
Martin Dosch 7dbbcf45e7
Add support for SCRAM PLUS variants and mechanism pinning. 8 months ago
Martin Dosch a034a8e501
Temporarily switch to go-xmpp fork. 8 months ago
Martin Dosch b773131f9e
Remove deprecated flag resource. 10 months ago
Martin Dosch b004015e18
Don't unwrap errors when checking errors. 10 months ago
Martin Dosch 3a8c00bbed
Remove unnecessary newlines. 10 months ago
Martin Dosch 52564a5b48
Suppress warning about reading from closed channel on shutdown. 10 months ago
Martin Dosch 487be9c845
No Ox for headline. 11 months ago
Martin Dosch 9c80647d91
Revert "Defer closing of xmpp connection."
This reverts commit feaa866e0e.
11 months ago
Martin Dosch feaa866e0e
Defer closing of xmpp connection. 11 months ago
Martin Dosch b0e67b7ff0
Properly quit connection in interactive mode. 11 months ago
Martin Dosch 084f343f8d
[codespell]: Fix typo. 11 months ago