It's not used, because it's impossible to upgrade hashes
bunghas left
moparisthebest
The only people that could move to new scram are already using plain and for a reason
emushas left
marc0shas left
marc0shas joined
lskdjfhas left
lskdjfhas joined
jonathanhas left
restive_monkhas joined
BASSGODhas left
xnamedhas left
BASSGODhas joined
adiaholichas joined
neshtaxmpphas left
kyemxdenhas left
kyemxdenhas joined
neshtaxmpphas joined
adiaholichas left
qrpnxzhas left
adiaholichas joined
Tobiashas joined
BASSGODhas left
gooyahas joined
lskdjfhas left
adiaholichas left
Tobiashas left
BASSGODhas joined
serge90has joined
adiaholichas joined
gooyahas left
stphas left
florettahas left
kurisuhas joined
florettahas joined
adiaholichas left
florettahas left
florettahas joined
Calvinhas left
millesimushas joined
Yagizahas joined
qwestionhas left
atomicwatchhas left
kurisuhas left
homebeachhas left
Rixon 👁🗨has left
uhoreghas left
Matthewhas left
Half-Shothas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
Steve Killehas left
Steve Killehas joined
Kevhas joined
pjnhas left
harry837374884has left
kurisuhas joined
Paganinihas left
kurisuhas left
neshtaxmpphas left
neshtaxmpphas joined
pjnhas joined
adiaholichas joined
florettahas left
florettahas joined
kyemxdenhas left
kyemxdenhas joined
kurisuhas joined
adiaholichas left
adiaholichas joined
BASSGODhas left
BASSGODhas joined
kurisuhas left
kurisuhas joined
BASSGODhas left
Vidakhas left
BASSGODhas joined
Vidakhas joined
rafasaurushas left
rafasaurushas joined
adiaholichas left
adiaholichas joined
kurisuhas left
adiaholichas left
adiaholichas joined
atomicwatchhas joined
sonnyhas left
sonnyhas joined
kurisuhas joined
Tobiashas joined
ti_gj06has joined
adiaholichas left
Vaulorhas joined
adiaholichas joined
Tobiashas left
pasdesushihas joined
Sevehas joined
marc0shas left
marc0shas joined
adiaholichas left
adiaholichas joined
adiaholichas left
junaidhas joined
adiaholichas joined
junaidhas left
wgreenhousehas left
wgreenhousehas joined
rubihas left
rubihas joined
millesimushas left
adiaholichas left
adiaholichas joined
homebeachhas left
Rixon 👁🗨has left
uhoreghas left
Matthewhas left
Half-Shothas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
adiaholichas left
jl4has joined
ti_gj06has left
millesimushas joined
ti_gj06has joined
Tobiashas joined
adiaholichas joined
jgarthas left
adiaholichas left
jcbrandhas joined
pjnhas left
adiaholichas joined
pasdesushihas left
kurisuhas left
wurstsalathas joined
rionhas left
rionhas joined
norkkihas joined
ti_gj06has left
ti_gj06has joined
pjnhas joined
rionhas left
rionhas joined
pasdesushihas joined
jgarthas joined
neshtaxmpphas left
neshtaxmpphas joined
lorddavidiiihas left
matkorhas left
stphas joined
wgreenhousehas left
kurisuhas joined
Marandahas left
Mjolnir Archonhas left
msavoritiashas joined
wgreenhousehas joined
guus.der.kinderenhas left
guus.der.kinderenhas joined
Mjolnir Archonhas joined
Marandahas joined
Menelhas joined
mdoschhas left
mdoschhas joined
lorddavidiiihas joined
emushas joined
emus
It does not mean its okay to do so in other repositories...
krauqhas left
millesimushas left
djorzhas joined
mhhas left
mhhas joined
krauqhas joined
mjkhas joined
millesimushas joined
TheCoffeMakerhas left
adiaholichas left
djorzhas left
djorzhas joined
adiaholichas joined
matkorhas joined
chronosx88has joined
adiaholichas left
kurisuhas left
emushas left
djorzhas left
adiaholichas joined
Titihas joined
adiaholichas left
TheCoffeMakerhas joined
emushas joined
Alexhas joined
adiaholichas joined
mhhas left
beanhas joined
florettahas left
adiaholichas left
mhhas joined
florettahas joined
Mikaelahas joined
adiaholichas joined
harry837374884has joined
Guushas joined
Guus
Does anyone have experience with device binding?
flow
Guus, device binding?
Guus
allowing an account to be used by authorized devices only.
mjk
Like, authenticate with a cert?
Guus
I'm unsure what implementation is appropriate (which is why I'm asking).
adiaholichas left
mjk
Well, forcing certificate-based auth for an account and whitelisting a list of certs would be one way, I guess
mjk
One device = one cert
mjk
Or copy the key over every authorized device. Less secure, obviously :)
mjk
Don't have any expirience though, even client-side. Conversations is one of the clients supporting cert login
adiaholichas joined
kurisuhas joined
karoshihas joined
goffihas joined
restive_monkhas left
adiaholichas left
adiaholichas joined
Steve Killehas left
Steve Killehas joined
florettahas left
Titihas left
Titihas joined
Paganinihas joined
lskdjfhas joined
ti_gj06has left
neshtaxmpphas left
neshtaxmpphas joined
harry837374884has left
harry837374884has joined
neshtaxmpphas left
neshtaxmpphas joined
restive_monkhas joined
dwd
Guus, Do you mean "device" or "client" here?
Guus
dwd: device
Guus
(separately, 'client' make/model/version would be interesting too)
harry837374884has left
dwd
Guus, OK. Can this be *any* device? As in, BOYD phones can be authorised devices?
dwd
Guus, And if they uninstall and reinstall the client does this invalidate or maintain the authorisation?
Guus
dwd: none of this has been specified (yet).
Guus
I know that my client/customer is producing it's own hardware, so I can make guestimates - but on the other hand, I'd like to gain understanding of how such a feature could work in a broarder sense.
Guus
(I'm not sure if "produce own hardware" is more than "ship phone to factory to have its casing engraved", but alas)
jonas’
if we're really talking devices, then some TPM magic might do
dwd
Well, if we're talking Android custom spec devices, then many of those have the capability for an HSM on them, so you've got a device private key you can then authorize via an X.509 route.
dwd
As jonas’ says, there's TPM on other platforms, which I know less about.
jonas’
isn't TPM a special implementation of an HSM?
chronosx88has left
dwd
Guus, FWIW, Apple devices have the same HSM capability, and some Apple services authorize via presenting an X.509 cert signed by Apple's CA.
dwd
jonas’, Plus other bits I think? As I say, not really something I know much about.
jonas’
possibly
jonas’
I only looked into the API spec briefly
chronosx88has joined
dwd
jonas’, But yeah, having a private key feels likely there too. In which case the manufacturer can sign it with a CA (doesn't need to be a public one), and then authorize the device that way.
Guus
Thanks guys.
dwd
Guus, Whichever, I think I'm right in saying that any sane implementation of this is going to end up with X.509 certs on the device. Even if it has to be fully software, and you're just relying on the device not being badly jailbroken.
millesimushas left
Guus
I guess that makes sense.
adiaholichas left
djorzhas joined
Guus
How would we verify that in a scenario that involves XMPP clients?
Guus
Does this boil down to your earlier attempts at multi-phase auth?
Guus
s/attempts at/work on/
chronosx88has left
paulhas left
florettahas joined
djorzhas left
MattJ
I'm planning to work on that stuff in Prosody in the coming months, but I'm pretty sure this use-case doesn't even need any of that
gooyahas joined
millesimushas joined
Kev
We've done something in M-Link for a customer where they would issue certs to devices and then we'd autocreate accounts on the server based on presenting a trusted cert, IIRC, but it was some years ago.
chronosx88has joined
ti_gj06has joined
rafasaurushas left
Wojtekhas joined
rafasaurushas joined
Maxhas joined
kyemxdenhas left
kyemxdenhas joined
Max
Hello, I'm new to XMPP and think about setting up an own server. I've set up a Mumble server before, which was quite easy, but I haven't found any information about whether I need a domain for an XMPP server or not. I prefer to host a server on demand without a domain but IP address (like Mumble). Is that possible? Sorry, if this isn't the right place to ask.
MattJ
Hi Max, welcome to XMPP 🙂
Guus
I'm unfamiliar with Mumble. Technically, it's possible to run an XMPP domain that is an IP address, but it'll be challenging to establish any kind of publicly trusted TLS connectivity.
millesimushas left
MattJ
You generally will need a domain, yes. Due to TLS, and the potential for IP changes, etc.
Guus
also, "on demand" suggests that you're thinking of turning it on and off continuously? If your IP address will be your XMPP domain name, then that changes to your IP will cause issues.
MattJ
XMPP is more like email, so if you set up your server on an IP address then your users would get XMPP addresses like max@203.0.113.123 instead of max@example.com
MattJ
and if you ever need to move the server to a different IP, your user addresses have to change and that will break many things
MattJ
*unless* you decide you don't want federation, and you can find clients that allow you to override TLS certificate checking, and supply custom connection information
Guus
You can easily experiment with such a setup (IP-based, maybe mimicing domain names in hosts-files), but I'd not recommend using that "in production". It will probably also be challenging/impossible to turn such an experimental setup to one that is usable in the long term (you'll have to start over)
Guus
Also, Matt is a lot smarter than me so listen to him better. :)
jonas’
and (in addition to not federating) you're ready for rewriting all of your server side storage whenever you change the IP address
uhoreghas left
Rixon 👁🗨has left
homebeachhas left
Matthewhas left
Half-Shothas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
dwd
Guus, Answering your previous - no, you can just mandate a known certificate from "your" CA on C2S TLS. I think the right settings on Openfire's C2S TLS config will actually do this all for you without additional code required.
MattJ
Max, you might also find the Snikket FAQ on this topic helpful: https://snikket.org/faq/#q-do-i-need-to-register-a-domain-name-to-use-snikket
Guus
dwd: would that work? Doesn't that remove the distinction between 'device' and 'user' ?
dwd
Guus, Yes/yes. If you want to explicitly have a 1:1 user:device relationship then you'll also need SASL EXTERNAL and things though.
Guus
dwd (which would cause issues when one user wants to use two authorized devices)
chronosx88has left
Zash
authzid=user@host/device ?
dwd
Zash, Well, authzid=user@host still, and authcid=device, if you wanted to go that route.
Zash
Huh?
Max
Thanks Matt and Guus for the welcome! 🙂 That sounds interesting. I didn't expect that you can "simply" have an IP address as domain. My server would be a private one for very few people (2 to 3 maybe). I would create accounts for those users. I already experienced IP changes in the past, I then had to tell the others the new IP address to reconnect to Mumble and all was fine. The XMPP server would run on my laptop and therefore only as long as that laptop is running.
dwd
Zash, The authentication identifer would be the TLS certificate, and that identifies a specific device. The authorization identifer is always the Jid in XMPP.
Zash
I've seen things that put the full JID into ... one of those, e.g. in PLAIN
Apollohas joined
dwd
Zash, In the authentication identifier field or the authorization identifier field? The authzid is a bare Jid by standard (though we're all slack and allow just local parts and assume the domain). See: https://datatracker.ietf.org/doc/html/rfc6120#section-6.3.8
dwd
Zash, Whereas the authentication identifier is mechanism specific (and can be site specific).
Zash
Uh, which one is the first (usually zero-length) field in PLAIN? That's the one usually ignored and sometimes observed to contain the full JID from weird clients
adiaholichas joined
MattJ
Max, if your users are technical folk, it's probably possible. Give it a try if you want, but just be aware that you'll likely encounter a lot of limitations and hurdles compared to using a domain.
Zash
I thought it was authzid \0 authcid \0 password
dwd
Max, If you're using an XMPP server with only an IP address, the IP address becomes part of the account name, so if your IP address changes then the accounts become invalid. What you *can* do, though, is use a dummy (non-existent) domain name for the server and tell people to connect with the IP address. That's not supported on all clients, though, and still leaves you with TLS problems.
millesimushas joined
dwd
Zash, I think you're right. [authzid]\0authcid\0password in PLAIN. But if authzid is provided the server must validate it and either honour it or reject the authentication with invalid-authzid.
Zash
... Prosody just ignores the authzid 🙂
Vidakhas left
Guus
Max, if you're in control of the network, you might be able to 'fake' a domain name, by ensuring that lookups of a particular name (eg: `example.org` always end up with the IP address for your laptop). Again, this is very limiting, as you won't have any communication except for with devices directly in your network.
djorzhas joined
debaclehas joined
Guus
'faking' domain names can be done in a couple of different ways: running a local lookup service, modifying /etc/hosts/ files (and the Windows equivalent that I always forget the location of) on each device, or maybe using something like DynDNS (do they still exist?)
dwd
Zash, And that would be a violation of RFC 6120 and RFC 4422§3.6.
mjk
Max: to give an example of "rewriting the whole server storage" jonas mentioned, a user's contact list will contain entries like alice@1.2.3.4 and bob@1.2.3.4, message archive (if you need that server-side) and offline messages will also be adressed at such IP-based JIDs, etc. It's possible to rewrite all of that when the IP addr chganges, but I don't know if there's any tooling that would allow doing that seamlessly. It's practically a database migration to a new domain, which, I believe, is only partially covered by MattJ's tools
uhoreghas left
Rixon 👁🗨has left
homebeachhas left
Matthewhas left
Half-Shothas left
adiaholichas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
adiaholichas joined
paulhas joined
neshtaxmpphas left
wgreenhousehas left
wgreenhousehas joined
Vidakhas joined
Max
Thanks all for the feedback! 🙂 I see that it's not that easy to use an IP address directly, though I'm tempted to at least try it once. I'm kind of reluctant to register a domain, because that makes me dependet from someone I don't know/trust.
chronosx88has joined
mjk
Hmmm, yea, if a client allows specifying the connection address (some do), you could use an a priori nonexistent domain for user JIDs
djorzhas left
Zash
Who hasn't used xmpp:me@localhost for testing at some point?
mjk
But having even just a gratis domain from some dynamic DNS provider is much less hacky and hard
mjk
Zash: I imagine that would be more like me@real.domain.tld but connect to localhost :)
Guus
for local testing, using the hostname of the computer that runs the server as the XMPP domain name often 'works'. Kinda.
Zash
Max, but can't you say the same about that IP address as about a domain registrar?
Zash
You don't own the IP, your ISP does.
Guus
(Not in a LAN)
neshtaxmpphas joined
mjk
Having a name actually allows clients to verify where to they're connecting
mjk
(PKI)
dwd
mjk, Well, mumble mumble about typically available PKIX.
dwd
mjk, I mean, run your own CA and use IPAddress SANs, right?
djorzhas joined
Zash
dwd, https://1.1.1.1 suggests that you can get IPaddress SANs from somewhere ... at least if you're Cloudflare
Zash
Also something something DANE
Guus
That's probably all a lot more than what Max is shooting for, with simply trying things out.
mjk
Sure, if the ca allows IPs as SANs, then same difference :)
Is it CA/B that forbids that, btw?✎
dwd
Guus, Hush with your pragmatism and sensible comments.
dwd
mjk, Most CAs don't offer them. (Or, more accurately, most CAs won't validate them).
mjk
> I mean, run your own CA and use IPAddress SANs, right?
Sure, if the ca allows IPs as SANs, then same difference :)
Is it CA/B that forbids that, btw? ✏
mjk
At least not Let's Encrypt, I assume
Zash
> Error creating new order :: Cannot issue for \"<my IP>\": The ACME server can not issue a certificate for an IP address
stphas left
stphas joined
pep.
Max, any specific reason you want to use XMPP for this?
mjkhas left
adiaholichas left
mjkhas joined
adiaholichas joined
pep.
Maybe things like retroshare might be more appropriate? (or other p2p solutions?) Not entirely sure what you're looking for though
Max
Zash, you're right, I don't own the IP address, though I feel less dependent on someone else when I can just look up my external IP address and pass it to my friends. My ISP could change the address everyday, I wouldn't really care. I might have a strange point of view, but my knowledge about how the internet works is very limited (I don't really get why TLS or certificates are so important. Shame on me).
pep, Mumble is awesome for VoIP, but it lacks some chat features. It would be cool to have an XMPP server running alongside the Mumble server, that's all. Maybe XMPP is overkill for this use case, I don't know...
daagshas left
mjk
I wonder if IRC is much more tolerant for "IP hosting"✎
mjk
I wonder if IRC is much more tolerant to "IP hosting" ✏
Zash
In the 80s perhaps...
Max
I'll have a look at RetroShare or P2P in general, sounds like a good idea!
Zash
Surely even IRC requires TLS these days?
mjk
:shrug:
mjk
Max: to throw some more p2p names your way: Tox, Jami
Guus
Max: pragmatically: just install one of the servers and see how far you get. You've probably spent more time talking to us here than what it'd take to setup a quick test server.
Zash
Heh, ever so slowly IRC follows XMPP https://github.com/ircv3/ircv3-specifications/pull/483 😀
Guus
As long as you keep a throw-away mindset, you can do little harm.
mjk
> Error creating new order :: Cannot issue for \"<my IP>\": The ACME server can not issue a certificate for an IP address
It's a conspiracy to make us buy names!11
Max
Well, I think IRC compared to Mumble chat doesn't make a noticable difference, feature wise.
mjk, thanks for the suggestions!
Zash, will do, thanks! 😃
adiaholichas left
Zash
Will do what?
Guus
(you're unwittingly stealing my thunder, I think)
stphas left
Zash
Tab completion, how does it work?!
Guus
or in case of new users: Tab completion, does that work?!
Zash
And no movement on sRVName certs either? Sadness
Guus
afk lunch
adiaholichas joined
kurisuhas left
Max
Zash, sorry, I meant Guus (trying to host instead of talking about it).
Zash
🙂
florettahas left
florettahas joined
dwd
Max, But keep us posted with what you try.
djorzhas left
uhoreghas left
homebeachhas left
Rixon 👁🗨has left
Matthewhas left
Half-Shothas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
ti_gj06has left
Max
I will, I probably need help here and there. I'll try on the weekend, then I'll have more time to focus on it. 🙂
@board: I'm abroad for work and will not be able to attend today's meeting.
lorddavidiiihas joined
lorddavidiiihas left
xeckshas left
bunghas left
bunghas joined
Menelhas left
lorddavidiiihas joined
lorddavidiiihas left
xeckshas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
rumin-millerhas joined
lorddavidiiihas joined
lorddavidiiihas left
archas joined
arc
Morning
mhhas left
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas joined
kyemxdenhas left
mhhas joined
arc
Are we having a board meeting this morning?
lorddavidiiihas joined
lorddavidiiihas left
archas left
archas joined
qwestionhas left
lorddavidiiihas joined
lorddavidiiihas left
rumin-millerhas left
lorddavidiiihas joined
lorddavidiiihas left
Zash
Well MattJ, jcbrand, are you ?
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas joined
archas left
archas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
Wojtekhas left
lorddavidiiihas joined
lorddavidiiihas left
Wojtekhas joined
lorddavidiiihas joined
lorddavidiiihas left
archas left
archas joined
lorddavidiiihas joined
lorddavidiiihas left
pjnhas left
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas left
arc
It doesn't look like it. I think at this point we've failed to meet so many times so far this year that we kind of expect the meeting to fail
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas joined
lorddavidiiihas joined
lorddavidiiihas left
pjnhas joined
lorddavidiiihas joined
lorddavidiiihas left
stphas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
florettahas left
pep.
How does one use PEP in 1:1 to be the source of truth for a feature. What node should the data go in? More specifically, which of the two accounts, and how does a new client knows which account to check/which is the source of truth. Or is it better to just not use PEP in this case
argentumhas joined
pep.
In MUC it's easier (or would be if it were deployed everywhere?), there's an obvious node (the MUC)
lorddavidiiihas joined
lorddavidiiihas left
gooyahas left
djorzhas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
gooyahas joined
lorddavidiiihas joined
lorddavidiiihas left
argentumhas left
me9has joined
mjkhas left
lorddavidiiihas joined
lorddavidiiihas left
pep.
(Is this why some choose to do 1:1 in groupchats as well?)
lorddavidiiihas joined
lorddavidiiihas left
bunghas left
lorddavidiiihas joined
lorddavidiiihas left
neshtaxmpphas left
restive_monkhas left
mjkhas joined
lorddavidiiihas joined
uhoreghas left
homebeachhas left
Rixon 👁🗨has left
Matthewhas left
Half-Shothas left
lorddavidiiihas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
lovetoxhas joined
neshtaxmpphas joined
jgarthas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
mjk
For anyone interested in (intra-)xmpp data portability, there's a googlerrific blob of java called Data Transfer Project, that's supposed to perform cross-multinational data transfer through a common data format, which might be interesting for importing tweets 'n' hangouts 'n' stuff as xmpp micro-/macroblogging posts, mam history, etc. Here's, for example, the code importing posts into a Mastodon account: https://github.com/google/data-transfer-project/blob/889f1fa92fc54046b42a9448b53d9de0df84912c/extensions/data-transfer/portability-data-transfer-mastodon/src/main/java/org/datatransferproject/transfer/mastodon/social/MastodonActivityImport.java✎
reimarhas left
lorddavidiiihas joined
lorddavidiiihas left
mjk
For anyone interested in (intra-)xmpp data portability, there's a googlerrific blob of java called Data Transfer Project, that's supposed to perform cross-multinational data transfer through a common data format, which might be interesting for importing tweets 'n' hangouts 'n' stuff as xmpp micro-/macroblogging posts, mam history, etc. Here's, for example, the code importing posts into a Mastodon account: https://github.com/google/data-transfer-project/blob/master/extensions/data-transfer/portability-data-transfer-mastodon/src/main/java/org/datatransferproject/transfer/mastodon/social/MastodonActivityImport.java ✏
lorddavidiiihas joined
lorddavidiiihas left
restive_monkhas joined
lorddavidiiihas joined
lorddavidiiihas left
alex11has left
mjk
The data formats seem to be here: https://github.com/google/data-transfer-project/tree/master/portability-types-common/src/main/java/org/datatransferproject/types/common/models
djorzhas left
lorddavidiiihas joined
lorddavidiiihas left
druthidhas joined
ti_gj06has left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
stphas left
wladmishas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
djorzhas joined
lorddavidiiihas joined
lorddavidiiihas left
me9has left
gooyahas left
ti_gj06has joined
lorddavidiiihas joined
lorddavidiiihas left
gooyahas joined
lorddavidiiihas joined
lorddavidiiihas left
andrey.ghas joined
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas left
lorddavidiiihas joined
lorddavidiiihas left
reimarhas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
xeckshas left
Steve Killehas left
lorddavidiiihas joined
lorddavidiiihas left
nicolahas joined
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas joined
u70jfzo5eyeb468b9ohas left
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas left
wladmishas left
florettahas joined
lorddavidiiihas joined
lorddavidiiihas left
qwestionhas joined
lorddavidiiihas joined
lorddavidiiihas left
Steve Killehas joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
nicolahas left
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
stphas joined
lorddavidiiihas joined
lorddavidiiihas left
sonnyhas left
sonnyhas joined
lorddavidiiihas joined
lorddavidiiihas left
Wojtekhas left
sonnyhas left
sonnyhas joined
Wojtekhas joined
Titihas left
lorddavidiiihas joined
lorddavidiiihas left
Wojtekhas left
Wojtekhas joined
Wojtekhas left
lorddavidiiihas joined
lorddavidiiihas left
Wojtekhas joined
lorddavidiiihas joined
lorddavidiiihas left
Titihas joined
chronosx88has left
chronosx88has joined
lorddavidiiihas joined
lorddavidiiihas left
lorddavidiiihas joined
lorddavidiiihas left
pep.
Is there any "common ways to do X" guide anywhere, that is not feature but building blocks for features, such as the question I asked above re PEP.
rafasaurushas left
rafasaurushas joined
pep.
I'm thinking it's either that or I use MAM to do negociation and there's a significant chance the other side doesn't see it because they fetched too little. And I'm not entirely sure I want iq either for this. I'd need to iq every single device of the recipient right? each time I see a new one that is
adiaholichas left
lorddavidiiihas joined
lorddavidiiihas left
adiaholichas joined
sonnyhas left
sonnyhas joined
lorddavidiiihas joined
lorddavidiiihas left
Rixon 👁🗨has left
uhoreghas left
homebeachhas left
Matthewhas left
Half-Shothas left
Half-Shothas joined
Matthewhas joined
Rixon 👁🗨has joined
uhoreghas joined
homebeachhas joined
lorddavidiiihas joined
lorddavidiiihas left
mhhas left
mhhas joined
djorzhas left
lorddavidiiihas joined
lorddavidiiihas left
djorzhas joined
jonas’
I don't understand the question about PEP tbh, pep..
jonas’
which two accounts even?
pep.
In a 1:1 chat
COM8has joined
jonas’
but truth of what?
lorddavidiiihas joined
lorddavidiiihas left
COM8has left
COM8has joined
COM8has left
pep.
Of some random feature that would be used in this chat. I can go into specifics but I'm not sure that's required? Also I would like the answer to this question if there is one anyway, before anyone tells me "for this use Y rather" (and never know how to use PEP this way)
lorddavidiiihas joined
lorddavidiiihas left
pep.
Say there's a value that is to be used by both parties in the chat, and the value needs to be usable by all devices taking part in the chat, even those not present when it was agreed upon
jonas’
all pep things I know "describe" the account
jonas’
so I know of nothing where they'd need to find a common ground
xeckshas joined
lorddavidiiihas joined
lorddavidiiihas left
jonas’
> Say there's a value that is to be used by both parties in the chat, and the value needs to be usable by all devices taking part in the chat, even those not present when it was agreed upon
sounds tricky especially because that value could change in the meantime and you don't have access to historic values for PEP in general
pep.
Ok, so anything else I can use to do this? Without having to re-negociate with each device
wladmishas joined
jonas’
you could write down something like "take the minimum" if it is orderablee
jonas’
but that's still going to have problems over time if the value is changed on either side
Wojtekhas left
lorddavidiiihas joined
lorddavidiiihas left
pep.
Yeah the value changing is fine here
pep.
I do need multiple values over time..
lorddavidiiihas joined
lorddavidiiihas left
Titihas left
jonas’
🤷
wgreenhousehas left
lorddavidiiihas joined
lorddavidiiihas left
pep.
It's doable with PEP, but is it what one would use
pep.
PEP doesn't have to be only 1 item
wgreenhousehas joined
emus
That is something very interesting
https://blog.documentfoundation.org/blog/2022/01/27/bug-bounties-finding-and-fixing-security-holes-with-european-commission-funds/
lorddavidiiihas joined
lorddavidiiihas left
Titihas joined
kyemxdenhas joined
lorddavidiiihas joined
lorddavidiiihas left
restive_monkhas left
lorddavidiiihas joined
lorddavidiiihas left
mjk
pep.: negotiating a timeout value for ephemeral messages comes to mind: https://xmpp.org/extensions/inbox/ephemeral-messages.html
I didn't read the how, but it seems to be specified
Titihas left
lorddavidiiihas joined
lorddavidiiihas left
gooyahas left
lorddavidiiihas joined
gooyahas joined
beanhas left
beanhas joined
ti_gj06has left
adiaholichas left
kyemxdenhas left
kyemxdenhas joined
restive_monkhas joined
adiaholichas joined
qrpnxzhas left
qrpnxzhas joined
wladmishas left
adiaholichas left
u70jfzo5eyeb468b9ohas joined
restive_monkhas left
millesimushas left
millesimushas joined
kyemxdenhas left
kyemxdenhas joined
pjnhas left
pep.
Yeah that's actually what I'm thinking about changing.
krauqhas left
pep.
The thing with MAM as I said is that there's a high chance somebody misses the negociation if they don't fetch enough
krauqhas joined
adiaholichas joined
pep.
This protoXEP though adds a tag in each element which gives more chance for other devices to see it. I'm wondering if this is required
djorzhas left
adiaholichas left
djorzhas joined
xnamedhas left
mjk
> Yeah that's actually what I'm thinking about changing.
Oops, I spoiled The Reveal
adiaholichas joined
Tobiashas left
Tobiashas joined
mjk
> in each element
In each <message> you mean? (Sorry, the protoxep was tl;dr)
Mikaelahas left
sonnyhas left
adiaholichas left
sonnyhas joined
pep.
Yeah in each message
millesimushas left
pep.
In a weird way also, but I want to change that
jl4has joined
goffihas left
jl4has left
jl4has joined
Yagizahas left
argentumhas joined
wladmishas joined
jl4has left
adiaholichas joined
BASSGODhas left
millesimushas joined
mjk
Hmmyeah, putting the last value into pep instead seems saner
Danielhas joined
pep.
It's not jus the last value you want, it's every single value change and the corresponding message id (hoping they're all in order)
BASSGODhas joined
pep.
Once the timer is changed, following message will take this new value. Older messages keep the old timer value
adiaholichas left
pep.
But well, I've asked 4-5 people today and all I got was different requirements. So there's work to be done here first
harry837374884has joined
adiaholichas joined
pjnhas joined
sonnyhas left
sonnyhas joined
sonnyhas left
sonnyhas joined
qrpnxzhas left
qrpnxzhas joined
adiaholichas left
qrpnxzhas left
qrpnxzhas joined
andrey.ghas left
jonas’
the corresponding message id?
qwestionhas left
jonas’
how would that work with multiple parallel 1:1 chats going on, with different people?
pep.
"from there onwards use this timer". I mean that's how I thought about doing it with PEP, if I used PEP
pep.
Different timer
jonas’
so one pep node per contact?
jonas’
or item
pep.
yeah per contact
jonas’
how would a contact find its node?
pep.
That was my question
pep.
Don't steal it
Zash
H(bare JID) ?
jonas’
but contact enumeration
Zash
(I have 3 lines of context)
Zash
What are we talking about?
pep.
Should I check on my account first, or the contact account?
jonas’
... what?
pep.
jonas’, well who's going to hold that value
jonas’
... both?
pep.
So duplicate the data?
jonas’
I don't know and am too sleepy to care
mjk
Both?
Zash
H( sort([ H(me), H(you) ]) )
pep.
Zash, still contact enumeration? :P
jonas’
Zash: did you say: incentivize people to choose jid such that H(jid) small?
mjk
pep.: isn't it duplicated by design? Each user has a preferred value, and some consensus then computed
mhhas left
mhhas joined
pep.
mjk, no, the last one sent out wins
Zash
Also, plz don't invent more schemes where you create tons of nodes. Our users complain enough about the OMEMO nodes.
pep.
IMO
adiaholichas joined
pep.
Zash, well find me a reliable way to do this
mjk
pep.: but there's no global authority on the message ordering, unless it's a muc
pep.
Is putting one more tag in message just fine?
pep.
How many tags can we put in message until it becomes too much
Zash
Reliable way to do X: Don't do X. Can't fail if you don't try!
Sleep on it, let your subconscious solve the problem!
pep.
Sure. I'll tell it Zash told it to do that
Zash
The Z in Zash is for 💤️
mjk
pep.: wouldn't it suffice to only attach the tag to an ephemeral message, and store that value in pep, together with the same timestamp as that message?
pep.
Well if I add the tag in each message I don't need PEP anymore
adiaholichas left
pep.
I can put the current timer value in it
mjk
No, not each, only the ephemeral ones
pep.
Sure
mjk
You concers seems to have been that the value might get lost in mam
Zash
The pingfs approach? Store it all in in-transit messages in the network?
mjk
So duplicate it in pep
pep.
mjk, when one side initiates it
mjk
Anyway, my brain is sleepy half the day and I'm missing half the context
pep.
The other needs to see it's been initiated. That is, if we only say "from now on we do ephemeral message with timer t", and not each time "I'm an ephemeral message with timer t"
reimarhas left
mjk
I actually don't see the harm in sending it with every ephemeral message, those aren't the majority of traffic, I s'pose