-
Meep
😚
-
MattJ
o/
-
Testing
Hey!
-
MattJ
Hey, welcome 🙂
-
MattJ
Seems like someone posted the project to HN
-
Testing
Yep Matt
-
giggles
yeah that's where I wandered in from 🙂
-
mippur72
Hello
-
giggles
well-timed for me; I set up a Prosody server a couple weeks ago just to mess around
-
Testing
Great project!
-
MattJ
Thanks!
-
MattJ
giggles, great to hear that - I'm one of the Prosody team as well 🙂
-
giggles
oh cool! I'm a fan, wasn't hard to set up at all
-
giggles
it's nice to meet you 🙂
-
Sam
oh hi giggles, welcome!
-
giggles
👋️
-
jhackett
👋
-
jhackett
Lovely to see more activity around xmpp, last time I used it a web client like the one on https://chat.modernxmpp.org/ was pretty hard to conceive of. Good job and keep it up 🙂
-
giggles
Dino is nice on the Linux desktop, too
-
giggles
From what I can see there seems to be some renewed interest in XMPP these days
-
test
😬
-
Doggie20
🇦🇮
-
Link Mauve
jhackett, sounds like that was extremely long ago then, back when I started using XMPP around 2005 there were already web clients such as MUCkl (discontinued since).
-
rob
I wandered in from a post on fedi
-
giggles
Fedi likes XMPP in my experience
-
MattJ
Ah yes, it was randomly posted there a couple of times today as well. Not sure why all the sudden interest, but it's good :)
-
rob
Probably someone new came in board and wants to share
-
rob
First I'd heard of this MUC though
-
greg
Hey all, I just started writing a XMPP server for fun and educational purposes and a friend pointed me at docs.modernxmpp.org . I'm about 2 weeks into understanding XMPP and am happy to provide any feedback or contributions from someone with that perspective. Lemme know if I can help!
-
MattJ
greg, I was you in 2008, so yeah... feedback and contributions definitely welcome :)
-
MattJ
It's always good to have fresh eyes on stuff
-
greg
Anywhere in particular to start? Or read around the site and open PRs/issues for things that might use a little clarification or further explanation?
-
MattJ
Most of the docs here are focused on clients at the moment, but are probably a good overview for server devs too for what features to prioritize
-
MattJ
But yeah... feel free to ask questions or suggest stuff you feel is missing
-
giggles
I'm curious about your opinion on this XEP https://xmpp.org/extensions/xep-0201.html
-
haael
Hello folks.
-
haael
I only wanted to brag a bit, that I'm developing a commercial app using XMPP as backend, instead of usual REST API.
-
MattJ
Hi haael, welcome! Sounds interesting 🙂
-
MattJ
giggles: I think the XEP is fine, but threading UIs are very hard to get right. Some people love Slack's threads, but many people hate them. Same applies to other apps that implement message threads. Extend that to a whole ecosystem of software and... you'd better get it right 🙂
-
giggles
Are there any servers/clients that actually support the XEP that you know of? Seems more straightforward to support on the server side (because you are so, so very right, about the UI) but I'm curious what support is out there and I haven't yet been able to figure out if the XEP is actually supported by anyone or if it's still basically just a proposal
-
MattJ
In short I think threading protocols are easy, threading UIs are hard. I think someone would need to make a candidate implementation. There are some XMPP clients that do threads in one way or another, but none wildly successful that I've seen.
-
MattJ
Server support isn't really needed. I know one or two implementations were based on Converse.js, not sure if they were open-source though
-
giggles
Oh really, server support isn't needed? So one could theoretically e.g. just use Prosody and focus on writing a custom client?
-
MattJ
Yep
-
giggles
that's really interesting
-
MattJ
Many XEPs just route stuff through the server, and the server doesn't need to understand it
-
giggles
that makes a lot of sense actually
-
greg
are there any modern xmpp chat clients that can use SCRAM-SHA-256? I'm attempting to test my implementation and it seems libpurple doesn't support it.✎ -
greg
are there any modern xmpp chat clients that can auth with SCRAM-SHA-256? I'm attempting to test my implementation and it seems libpurple doesn't support it. ✏
-
greg
in general I don't know what the landscape looks like in terms of auth mechanism support
-
Link Mauve
greg, libpurple is pretty obsolete in its XMPP implementation, pretty much anything would be better for testing stuff.
-
Link Mauve
I personally use Gajim as a well-updated generic client for my testing.
-
greg
gotcha thanks!
-
Zash
greg: there will be wider support for SCRAM-SHA-1, since it's older and was mandatory to implement for a long time, plus it's complicated to upgrade the hashes
-
Holger
I think Gajim does support SCRAM-SHA-256 indeed. And so does Conversations (Android), for example.
-
Zash
Easier for clients tho
-
Holger
Yes.
-
greg
is there a mechanism support recommendation or best practice? I think I'm gathering DIGEST-MD5 and SCRAM-SHA-1. md5 being considered obsolete but necessary for many clients.✎ -
greg
is there a mechanism support recommendation or best practice? I think I'm gathering DIGEST-MD5 and SCRAM-SHA-1. md5 being considered obsolete but necessary for many clients, sha-1 being considered required? ✏
-
Zash
DIGEST-MD5 is dead and buried
-
Zash
Don't even think about it!
-
greg
word, appreciate that!
-
Zash
SCRAM-SHA-1 is fine, attacks on SHA-1 aren't relevant to it AFAIK
-
MattJ
Yeah, DIGEST-MD5 is a no-go. SCRAM-SHA-1 is designed differently (the designers having learnt lessons from DIGEST-MD5). A new server should support SCRAM with SHA-1 and SHA-256. Migration between the two is impossible because you need access to the plaintext password.
-
MattJ
At some point we need to figure out how to make that easy (e.g. by forcing users to reset their password when an admin wants to upgrade)
-
Holger
And once they're done, repeat for SHA-512!
-
Zash
I'm just waiting for someone to say that SCRAM is broken and to just use PLAIN
-
Link Mauve
moparisthebest was arguing for that the other day. :|
-
Holger
Definitely has advantages.
-
Holger
All depends on your trade-offs.
-
raucao
i wish i could use something not PLAIN with LDAP :/
-
MattJ
Works for HTTP :)
-
MattJ
*Works for HTTPS :)
-
raucao
(in ejabberd)
-
Zash
Theoretically it should be possible to tunnel SASL to LDAP. There's an authentication backend that does that with Dovecot, it's pretty nice.
-
greg
all great insight much appreciated!
-
raucao
Zash: ooh, interesting
-
Zash
LDAP libraries that allow that may be harder to come by tho
-
Zash
And there may be impedance mismatches, like it is with email, where usernames (in the SASL sense) is often the entire address, while in XMPP it's just the localpart, so it ends up not working in practice without hacks.
-
dinkles702
Who let the dogs out?
-
giggles
go test ./...
-
giggles
...... wrong box. Sorry everyone.