Commit Graph

116 Commits (master)

Author SHA1 Message Date
Martin Dosch c4236dd164
Use deferred file close. 2 weeks ago
Martin Dosch d2f758b4f9
Use `fmt.Errorf()` instead of `errors.New()` to create new error messages. 2 weeks ago
Martin Dosch 95a2f672cf
Add possibility to disable FAST. 4 weeks ago
Martin Dosch c21991c545
Enable FAST. 4 weeks ago
Martin Dosch b98a071472
Add new parameter subject. 1 month ago
Martin Dosch 93d8bbedaa
FAST: Fix check for expiry. 2 months ago
Martin Dosch f2b20502c6
FAST: Update token if expiry is reduced. 2 months ago
Martin Dosch 25b8a8e243
Reintroduce context and cancel func
There are still some rare races without.
2 months ago
Martin Dosch be78a2b845
Catch error when listening mode is stopped with Ctrl+C. 2 months ago
Martin Dosch e244f14548
Retry without FAST if FAST authentication fails. 2 months ago
Martin Dosch 61f5ab705d
Add support for FAST authentication. 2 months ago
Martin Dosch 5ecfe200c1
Revert "Do not use sasl2 uuid attribute."
This reverts commit 557d105238.
2 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.
2 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.
2 months ago
Martin Dosch dbed11323d
Remove mutex as the locking is now done in the library. 2 months ago
Martin Dosch 09693ba1bf
Further improvements to make race conditions less likely. 2 months ago
Martin Dosch 8936ba2acc
Only perform root check on non-windows systems.
Is anyone using go-sendxmpp on windows?
2 months ago
Martin Dosch 1574e2f4df
Add a warning when run by root. 2 months ago
Martin Dosch 9a186aeec1
Don't capitalize `--ssdp-off` command line flag. 2 months ago
Martin Dosch ca268e957e
Add command line flag to disable XEP-0474: SASL SCRAM Downgrade Protection. 2 months ago
Martin Dosch e5cbe832e3
Properly exit listening mode if Ctrl+C is pressed. 2 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.
3 months ago
Martin Dosch ad1aeba749
Sleep again for 100ms for debugging purposes. 3 months ago
Martin Dosch 459e40e9a4
More perl sendxmpp config compatibility. 3 months ago
Martin Dosch 38bf2d54a8
Remove 100ms sleep before closing connection. 3 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. 5 months ago
Martin Dosch c43833b138
Check `--scram-mech-pinning` input for plausibility. 5 months ago
Martin Dosch 5303a0901c
Add support for XEP-0474. 5 months ago
Martin Dosch 802f57d404
[gofumpt]: Improve formatting. 6 months ago
Martin Dosch 2fbf3b40e7
[codespell]: Fix typos. 7 months ago
Martin Dosch d482347310
Switch back to upstream go-xmpp library. 7 months ago
Martin Dosch 721db135ac
Remove setting of TLS max Version TLS1.2
This was only added for debugging and accidentally commited.
7 months ago
Martin Dosch 4ffca7e2c9
Update go modules. 7 months ago
Martin Dosch 23770b4e00
Don't log missing pin file. 7 months ago