XSF Discussion - 2018-01-30


  1. jonasw

    Neustradamus, where would we have to have announce that information? we announced it on the jdev@ mailinglist, in this muc, on the xmpp.org blog. what was missing for people to pick this up?

  2. Ge0rG

    There was a piece of news indeed.

  3. jonasw

    Neustradamus, where would we have to have announced that information? we announced it on the jdev@ mailinglist, in this muc, on the xmpp.org blog. what was missing for people to pick this up?

  4. jonasw

    english is hard

  5. Ge0rG

    My clients will expire in March. Need to resubmit urgently.

  6. Guus

    ah, are we already a year in?

  7. Guus

    time flies

  8. Ge0rG

    fruit flies too

  9. jonasw

    like an arrow, or like a banana?

  10. intosi

    Unspecified fruit.

  11. Ge0rG

    Like a sparrow.

  12. jonasw

    I always forget I have merge power on xmpp.org. I should recall that more often while Guus is busy with SCAMing.

  13. Guus

    JONAS STOP PRESSING BUTTONS MILLISECONDS BEFORE I DO!

  14. Guus

    *click* miss *click* miss (<-- me, this morning)

  15. jonasw

    Guus, I think you’ve set OLCUC in your termin… oh you fixed it

  16. jonasw

    :)

  17. jonasw

    I only merged one thing, didn’t I?

  18. Guus

    and closed an issue :)

  19. jonasw

    ah right

  20. jonasw

    that’s going to be a fun discussion

  21. jonasw

    oh sweet, the build failed

  22. jonasw

    Guus, or someone else with power, could you take a look? https://hub.docker.com/r/xmppxsf/xmpp.org/builds/borgns4wfclmgndzdyqvnjc/

  23. jonasw

    the CI passed

  24. jonasw

    a simple re-trigger may do the trick

  25. jonasw

    (I don’t have the power for that)

  26. Guus

    again? Same thing happened yesterday

  27. jonasw

    I pushed an empty commit now :)

  28. Guus

    https://hub.docker.com/r/xmppxsf/xmpp.org/builds/

  29. Guus

    right, a new build is already queued

  30. Guus

    I wonder why it errors out occasionally

  31. Guus

    Do you see a non-empty log or something?

  32. jonasw

    no

  33. jonasw

    I was hoping you might, with your additional permissions etc.

  34. Guus

    weird

  35. Guus

    nope

  36. Neustradamus

    jonasw: here some days ago

  37. jonasw

    Neustradamus, well, the policy has been active for nearly a year now

  38. jonasw

    so clearly we haven’t done a good job communicating it

  39. jonasw

    but I’d like to know what we could’ve done better

  40. Neustradamus

    yes I managed before (some years ago) ^^ The lists were more importants

  41. jonasw

    Neustradamus, cf. https://xmpp.org/2017/03/new-xmpp-software-listing-rules/

  42. Neustradamus

    thanks jonasw

  43. Ge0rG

    The idea behind that rule is btw that *application authors* enlist their software, as long as they consider it as maintained.

  44. Guus

    (I for one don't care much about _who_ is doing the listing, as long as _someone_ is keeping it up-to-date - that's enough to keep the really old, unmaintained and undesireable stuff out of the list)

  45. Ge0rG

    Guus: the effect I want to avoid is that loyal users of a client abandoned a decade ago insist on keeping it listed.

  46. Guus

    well, if it has loyal users, it probably has at least some reason for being listed

  47. Guus

    arguably not the best of reasons, but I'd be able to live with it

  48. Guus

    (if it has loyal users, it's by definition not completely abandoned)

  49. Ge0rG

    Guus: and then you'll end up with Pidgin/OTR, which breaks the experience both for the newcomers and the people they are trying to talk to.

  50. Guus

    Ge0rG: if people want to use pidgin / OTR, then that's an issue that's to be addressed seperately.

  51. Guus

    I think we shouldn't put to much thought/motivation in the decision we make to list something. What we have now is something that I'm pretty happy with.

  52. Ge0rG

    Guus: the list is obviously for newcomers. If you have a friend who insists on you getting abused with pidgin/OTR (just to stick to the example), that's fine with me. But please keep it off the official list.

  53. Guus

    let's not overthink something that works 95% well.

  54. mathieui

    Ge0rG, I’m planning to write an XMPP bot that reminds subscribed people about the expiration from the list of clients/servers/libraries (when I have 15 minutes and enough motivation)

  55. mathieui

    that would help

  56. Ge0rG

    mathieui: that would be awesome.

  57. Guus

    perhaps we should _not_ do that

  58. Guus

    as that will facilitate automatic, no-brains-used, renewals

  59. Ge0rG

    mathieui: I suppose all the proposals of client maintainers having a structured metadata file somewhere are way too complex

  60. Guus

    which would cause the list to fill up with stale data again.

  61. mathieui

    Ge0rG, I don’t

  62. mathieui

    but it would need to be done (we discussed it briefly at 34C3)

  63. Guus

    I do disagree with there being a need for automatic renewal, or a reminder facilitated by the XSF.

  64. mathieui

    Guus, I wasn’t planning of having it being any kind of official

  65. Guus

    the thought behind the forced expiry is that people need to actively be maintaining the software listing. Any form of automation fights that principle.

  66. mathieui

    it’s automation of reminder; when doing things once a year, it’s very easy to forget

  67. Guus

    mathieui: you really don't need to wait a year to apply for a renewal. I think I've renewed my stuff about three times, last year

  68. Guus

    (pushing the expiry date by a couple of months every time)

  69. Ge0rG

    Guus: just because you can directly commit to the repo, everybody else needs to make a PR

  70. Guus

    the PR can be made in github (which is exactly what I do)

  71. Guus

    PRs get accepted within a couple of hours, typically

  72. Ge0rG

    Guus: by yourself? ;)

  73. Ge0rG

    I'm just saying that it would be impolite for any non-editor to make updates far more often than strictly necessary.

  74. Guus

    two / three times a year is hardly 'far more'

  75. Guus

    I'm not saying that individual authors should have some kind of reminder - but please lets not facilitate that - it defeats the purpose of our expiry mechanism - that's all I'm saying.

  76. mathieui

    Ge0rG, this is only a one-line change with an explicit title, so it’s essentially a two-three clicks effort for editors

  77. mathieui

    I guess I’ll just put that in the topic of the poezio room

  78. Guus

    fwiw: the readme provides links that allow you to directly edit the files: https://github.com/xsf/xmpp.org/tree/master/data

  79. Ge0rG

    There are only nine warnings in clients.json. Apparently nobody cares about the `platform` field.

  80. Ge0rG

    WARN: entry 'GreenJab': undefined platforms: 'IBM i' (the allowed platforms are listed in platforms.json. If you think a platform is missing add it and mention it in your Pull Request)

  81. Ge0rG

    WTH is IBM i?

  82. Ge0rG

    jonasw: time to swing the Hammer of Enforcement!

  83. Ge0rG

    Guus: thanks very much :)

  84. Ge0rG

    So, what's with all those clients running on undefined platforms?

  85. Guus

    what do you mean?

  86. Guus

    https://xmpp.org/software/clients.html <-- looks okay?

  87. Guus

    I'm guestimating that we kept the old list intact, including the no-longer-supported-platforms, only to enfore platforms when the entry is actually renewed?

  88. Ge0rG

    Guus: oh, thanks for the explanation.

  89. Ge0rG

    Guus: interested in a s/unsupported/"other"/ PR?

  90. Guus

    well, if the entries with unsupported stuff have not been renewed and therefore are not being displayed anyway, I don't really see the point - but let me not stop you putting in effort to improve things :)

  91. rion

    Guus: is the list on the page autogenerated?

  92. Ge0rG

    rion: yes it is

  93. Ge0rG

    it'll probably take some minutes

  94. Guus

    yeah, it takes some time

  95. Guus

    psi is on there now though

  96. Ge0rG

    rion: what's the difference between Psi and Psi+?

  97. jonasw

    Ge0rG, don’t bother with replacing unsupported platforms with "other". we’ll deal with it when they’re renewed, I think that’s most sane.

  98. jonasw

    Ge0rG, admit it, you spoofed the timestamps of your renewal!

  99. Ge0rG

    jonasw: I wanted to see if anyone notices.

  100. jonasw

    ha

  101. jonasw

    I do

  102. jonasw

    (but I only did because you lured me into the diff with the trademark remark)

  103. rion

    Ge0rG: Psi+ includes some experimental patches not yet merged to Psi.

  104. Guus

    I happily accept anything that passes the parser (which does have a check for forward-dated renewals)

  105. Guus

    also, I happily accept stuff from people I deem trustworthy.

  106. Guus eyes Ge0rG

  107. jonasw

    not sure if that is a good glance or not

  108. zinid

    rion, when psi will support carbons, mam, SM and so on?

  109. Ge0rG

    rion: which one would you recommend to normal users?

  110. zinid

    you should really hate users to recommend them Psi :P

  111. rion

    zinid: carbons and SM are supported. mam is in progress.

  112. rion

    Ge0rG: stable one.

  113. zinid

    rion, supported in which version?

  114. rion

    zinid: one on https://psi-im.org

  115. Ge0rG

    rion: maybe you shouldn't be advertising psi+ then? ;)

  116. rion

    Ge0rG: It depends on users. Some of them like new features.

  117. jonasw

    rion, the question is, is Psi+ stable?

  118. rion

    Less then Psi. But mostly yes. We don't make releases for it. So it's possible to have something broken with each next build.

  119. jonasw

    rion, I’d argue don’t advertise this on the client list then

  120. Ge0rG

    I agree with jonasw - if you don't have releases, you shouldn't be advertising it to normal users.

  121. SouL

    rion, I'm suprised you saying that about Psi+

  122. SouL

    I've been using it for... I cannot remember

  123. SouL

    And I would not say is not stable or anything

  124. SouL

    I'm really surprised. And features don't come to Psi quickly in any way.

  125. SouL

    Or have that changed?

  126. rion

    for example if you enable multi-row tabs you can have rare crashes and kind of bad rendering on hidpi.

  127. rion

    I use Psi+ all the time. It's works pretty stable for me. But usually I don't use the features introduced by those patches.

  128. rion

    SouL: My goal after all to merge these projects into one. And I already merged quite a big chunk of patches. Psi+ keeps only those I considered bad-designed, useless or unstable. I'll refine and merge them all with time or may be some of them will be converted to plugins.

  129. Kev

    One of the XSF's earliest GSoC projects :)

  130. Kev

    (Although I doubt there's much relationship between the current code and the original)

  131. SouL

    rion, that sounds great! I understand now then :(

  132. SouL

    :)*

  133. rion

    or may be I'll join Swift team instead )))

  134. SouL

    Ha :D

  135. Kev

    I hear that's a thing Psi devs sometimes do.

  136. Ge0rG

    Is remuneration involved in that process?

  137. rion

    rarely

  138. Guus

    > (12:03) test: is xmpp providing gradle ?

  139. jonasw

    what

  140. Guus

    that's form our support muc just now

  141. Ge0rG

    I've lost motivation to report issues in Swift rather fast, because all my tickets were closed immediately with either "moved to private tracker" or WONTFIX.

  142. Ge0rG

    Guus: the right answer is: "no, because gradle is not based on XML. But we offer ant"

  143. Guus

    maven?

  144. Ge0rG

    Can do.

  145. zinid

    rion, didn't work for me

  146. Ge0rG

    zinid: you were a Psi developer?

  147. zinid

    Ge0rG, no

  148. zinid

    I tried last version and it didn't have any carbons or sm support

  149. Ge0rG

    You don't need Carbons on a desktop client. Just configure it to priority 127 and beg that nobody does resource locking.

  150. zinid

    lol

  151. zinid

    typical jabber

  152. rion

    zinid: no idea. I believe this code wasn't changed since the release. and both features work good for me.

  153. rion

    I'll check later

  154. Ge0rG

    I only remember that this time last year, Psi didn't have support for Carbons.

  155. Ge0rG

    so CVE-2017-5593 only affected Psi+

  156. zinid

    rion, just checked 1.3, seems like SM and Carbons are working indeed, thanks

  157. zinid

    still MAM is lacking...

  158. zinid

    and modern UI would be much appreciated

  159. zinid

    wow, captcha support

  160. zinid

    I'm impressed

  161. SouL

    :)

  162. zinid

    rion, Psi doesn't close a stream correctly, which leads to stalled resumed session ;)

  163. zinid

    it must send </stream:stream>

  164. rion

    Yes. I know. I remember this bug and in fact Psi has code sending stream close. I had no spare time to debug yet.

  165. zinid

    I see

  166. zinid

    the main problem of jabber is that development is done in spare time only ;)

  167. MattJ

    +1

  168. jonasw

    and when it isn’t, it actually flies, kinda. see c.im

  169. rion

    zinid: do you have a vacancy in ProcessOne? =)

  170. zinid

    rion, no :) We already fired a half of staff

  171. mimi89999

    Why?

  172. rion

    Now they will keep working in working on xmpp in their spare time...

  173. zinid

    mimi89999, because the number of customers has decreased drastically in recent years since XMPP is degrading

  174. zinid

    so we don't need an army of developers anymore

  175. mimi89999

    🙁

  176. mimi89999

    But why people don't like XMPP? I guess FB hidden marketing and network effect is really strong...

  177. Holger

    It's neither HTTP nor JSON.

  178. zinid

    mimi89999: because it has a reputation of outdated protocol

  179. MattJ

    I think it would be a mistake to pin a company's success on a protocol's reputation

  180. zinid

    One may argue, but the problem is that reputation is not a technical term, you cannot improve it by creating a better protocol

  181. MattJ

    SMTP isn't exactly cool nowadays either, but it still does the job it was designed to and many successful companies are based around it still

  182. zinid

    MattJ: sure, but protocol degradation is a part of this for sure, I know that because you cannot attract new customer because they don't want xmpp

  183. zinid

    So we actually stopped mentioning xmpp at all

  184. Holger

    MattJ: SMTP is a special case because it was so ubiquitous, no? I bet business around it is declining as well, just from a very high level.

  185. mimi89999

    Point them to good articles about XMPP.

  186. mimi89999

    Like that Json API on HTTP is better (not).

  187. MattJ

    Holger, as far as standard IM protocols go, I'd say XMPP is fairly ubiquitous

  188. zinid

    MattJ: not in the sense of user base

  189. MattJ

    Combine WhatsApp with Google and (once...) Facebook and that's a fairly large user base

  190. MattJ

    What failed is that none of these federate(d) in the way they were essentially forced to with SMTP

  191. zinid

    It's hard to call whatsapp's protocol an xmpp 😁

  192. MattJ

    It's derived from it, at least, and I think that counts enough for the purposes of this discussion

  193. zinid

    It used to be so (because based on ejabberd), but not anymore

  194. Holger

    MattJ: Well the discussion was about the business perspective, where I think WhatsApp & friends are irrelevant. If you build your business around SMTP, you can still reach many users; with XMPP, you reach nobody.

  195. Holger

    I'm not into p1's business but I would assume the typical customer isn't doing s2s at all.

  196. MattJ

    Most business uses of XMPP are not interested in federation

  197. zinid

    Holger: there was only a single customer with s2s: Nokia 😁

  198. MattJ

    so, if you wanted to replicate the success of WhatsApp, why would not not start with XMPP, as they did?

  199. Holger

    MattJ: Right. So the alternative is XMPP vs. random other chat solutions and the open aspect is irrelevant except in that it leads to library/infrastructure code being available.

  200. MattJ

    I don't think anyone expects to take any off-the-shelf tech and scale it as far as WhatsApp have done without customisation

  201. zinid

    MattJ: many do: every our customer wants to become WhatsApp 😁

  202. rion

    Let's rename XMPP to WhatsApp2 protocol

  203. MattJ

    Well WhatsApp's success wasn't due to federation, or its protocol - these things are irrelevant to users

  204. zinid

    MattJ: then there is no point in using xmpp? Because it's irrelevant

  205. MattJ

    There's similarly no point in *not* using it

  206. Holger

    HTTP!

  207. Holger

    JSON!

  208. jonasw

    what Holger says

  209. MattJ

    Which is the point I'm trying to make - if you're solving a problem for your customers, why do they care about the protocol?

  210. jonasw

    MattJ, because HTTP passes through all firewalls, XMPP won’t.

  211. MattJ

    and like many other problems, XMPP already solved that

  212. jonasw

    did it?

  213. MattJ

    (in many ways, as usual)

  214. MattJ

    BOSH?

  215. jonasw

    by bother with BOSH+XMPP when you could use HTTP+json on your own?

  216. MattJ

    BOSH works perfectly through firewalls

  217. jonasw

    (in addition to BOSH being ugly and you’d want to use websockets nowadays)

  218. MattJ

    Well, we can do that too

  219. Holger

    There's JavaScript frameworks everywhere to throw JSON at a web service.

  220. MattJ

    I still don't think BOSH is ugly compared to websockets though :)

  221. Holger

    A new framework every other day!

  222. Kev

    Is that true? That you'd automatically want WSS instead of BOSH?

  223. Holger

    And all your devs have done this stuff several times.

  224. jonasw

    Kev, tbh, I don’t know a lot about web

  225. Holger

    None of them ever touched that XMP-what?! thing.

  226. jonasw

    but the concept of BOSH always irritated me

  227. jonasw

    Holger, and all the darn myths about XML aren’t helping

  228. Holger

    Right.

  229. jonasw

    (even though it is amusing to see how the JSON folks reinvent the XML data model)

  230. Holger

    Absolutely.

  231. zinid

    MattJ: bosh is much more complicated for sure and infact replicates SM behaviour

  232. Kev

    295 is funny because it's true :p

  233. jonasw

    Kev, oh yes

  234. MattJ

    zinid, sure - I've written multiple BOSH implementations, client and server-side

  235. Holger

    MattJ: I'm not saying the typical business decision against XMPP is purely rational. Though I'm not sure it's purely irrational. But either way it doesn't help to just ignore those business reasonings.

  236. zinid

    MattJ: same here and I hate it

  237. zinid

    I actually don't understand why wss+sm is not enough

  238. jonasw

    zinid, because ws is rather new-ish and people haven’t gotten around to implement it yet?

  239. jonasw

    (spare time developers)

  240. Holger

    I think jcbrand mentioned that Converse.js supports both but he prefers BOSH. He didn't really explain the reasons though, IIRC.

  241. zinid

    jonasw: newish? The RFC was accepted in October 2014, it will be 4 years soon

  242. jonasw

    zinid, yes.

  243. jonasw

    that’s newish in spare time developer terms

  244. zinid

    Ok

  245. jonasw

    or maybe it’s just me because I don’t follow web technologies a lot

  246. zinid

    But can we start recommending it instead of bosh?

  247. zinid

    Clearly we have several specs with the same functionality again

  248. MattJ

    The working group that created websockets looked at BOSH and considered it, or something very like it, to be the foundation of websockets

  249. zinid

    And "IE9 doesn't support WS" is not terribly convincing 😁

  250. MattJ

    I think ultimately BOSH is something you can already do in JS yourself, a binary-safe guaranteed persistent connection is not

  251. zinid

    I didn't get that, but whatever

  252. Holger

    Seems XEP section anchors such as this one aren't stable? -> https://xmpp.org/extensions/xep-0313.html#sect-idm139605353378912

  253. MattJ

    I've always assumed they are not

  254. MattJ

    I don't know where they come from though

  255. Holger

    Sigh.

  256. jonasw

    Holger, normally, the anchor is set in the code

  257. Holger

    I referenced that section (in an ejabberd issue) yesterday and it seems the anchor has changed since then.

  258. jonasw

    it’s not been set there :(

  259. jonasw

    we can now either set the current id as persistent, the old id as persistent or an arbitrary new identifier.

  260. jonasw

    pick one

  261. Holger

    Sometimes there's human-readable identifiers, right? They're much nicer of course.

  262. Ge0rG

    +1 for human-readable identifiers :>

  263. jonasw

    Holger, yeah. as mentioned, those are set in the XEP XML

  264. jonasw

    when they’re not set, they’re generated "randomly" apparently

  265. jonasw

    so I can now either set a human-readable one or one of the random IDs

  266. zinid

    Humans in XMPP detected

  267. Ge0rG

    jonasw: set a human readable one

  268. Ge0rG

    Then make a linter script to check all XEPs. Then crowdsource slugification

  269. jonasw

    I wish I had time to finish xeplint

  270. jonasw

    Holger, fix pushed, will be live in ~1.5h

  271. jonasw

    new anchor is #business-storeret-user-archives

  272. Holger

    jonasw: Thank you!

  273. Ge0rG

    Should a MUC-PM notification follow the rules for message notifications, for MUC notifications or have a dedicated notification preference?

  274. Ge0rG

    ...regarding the notification sound

  275. SouL

    I would use the same as 1to1 chat

  276. moparisthebest

    I'd say from a user perspective they are the same, both messages I want to see

  277. moparisthebest

    unless I silenced notifications for that muc/user

  278. Ge0rG

    moparisthebest: "they" = what?

  279. moparisthebest

    "they" = muc-pm / regular message

  280. Ge0rG

    so different from MUCs.

  281. moparisthebest

    yea mucs too

  282. Ge0rG

    moparisthebest: please re-read my question.

  283. SouL

    Ge0rG, I would follow the rules for message notifications.

  284. moparisthebest

    ^

  285. Ge0rG

    SouL: thanks, I got your answer.

  286. rion

    I also think MUC-PM and regular contacts should produce the same notification

  287. Ge0rG

    MUCs are different if only they also have a "only notify on mention" setting

  288. Ge0rG

    Ah, it seems like MUC-PMs are already handled in the same way.

  289. Ge0rG

    So you don't see a need for their own category? Great.

  290. rion

    special notifications could be set to special contacts ❤️ =)

  291. Ge0rG

    I'm planning to have a per-contact-group ringtone, but what do you do if a contact is in multiple groups?

  292. Ge0rG

    alphabetically first group wins?

  293. rion

    play all at once :-D

  294. Ge0rG

    rion: you are evil :P

  295. SouL

    jonasw, what is (or was) c.im?

  296. moparisthebest

    usually people abbreviate conversations.im that way

  297. SouL

    moparisthebest, ah ok then

  298. Ge0rG

    c.im is the new jcd.

  299. Guus

    what is the old jcd?

  300. Ge0rG

    jabber.ccc.de

  301. Guus

    ah :)

  302. Holger

    c.im is available for sale!

  303. Holger

    I bet it's cheap.

  304. MattJ

    For $$$$, I guess

  305. edhelas

    I was able the get back mov.im last year <3

  306. Ge0rG

    Sorry, c.im has already been registered.

  307. SouL

    edhelas: congrats! :)

  308. SouL

    The one I want is only $2600

  309. Ge0rG

    so.ul?

  310. moparisthebest

    I was eyeing moparisthe.best but not worth it nowadays

  311. Ge0rG

    I have two domains with my lastname on dubious TLDs.

  312. Ge0rG

    People are always surprised when I tell them on the phone

  313. jonasw

    .xxx?

  314. Ge0rG

    Not even close

  315. SouL

    Gr.org

  316. moparisthebest

    Ge0rG, I have the same, tell people on the phone my first name @ my last name dot org

  317. SouL

    Ge.org

  318. moparisthebest

    then they go 'at gmail?' and I go 'no'

  319. jonasw

    moparisthebest, :<

  320. jonasw

    I know that feel

  321. jonasw

    but I think it’s because many people are stupid and confuse . with @ when spelling their mail address

  322. Ge0rG

    moparisthebest: and .org is pretty well-known

  323. moparisthebest

    I actually get odder looks/questions now that I switched to mostly giving like, if the company is BobWorks I'd give first.bobworks@last.org

  324. Ge0rG

    moparisthebest: that's crazy talk!

  325. moparisthebest

    I like it because while a human could figure it out and strip off the part after the .

  326. Ge0rG

    first.bobworks@last! yay!

  327. moparisthebest

    a computer program totally couldn't because it's a perfectly valid email, and they don't know that's my policy like they know + is strippable from gmail

  328. jonasw

    reminds me of the "io" tld which had A records for a while

  329. Ge0rG

    moparisthebest: do you think they actively strip +postfix from gmail addresses?

  330. moparisthebest

    I assume spammers do, why wouldn't they?

  331. Ge0rG

    moparisthebest: dunno

  332. moparisthebest

    or sleazy companies that would sell an email address

  333. Ge0rG

    moparisthebest: maybe because they are careless sleazy bastards?

  334. moparisthebest

    if only I could get a saner way to handle such aliases in xmpp

  335. moparisthebest

    but it looks like far too much work to be worth it

  336. Ge0rG

    Yeah, XMPP sucks.

  337. jonasw

    go matrix?

  338. Ge0rG

    OTOH, this feature prevents domain / user impersonation.

  339. moparisthebest

    this module is 'good enough' in that it fixes discovery https://modules.prosody.im/mod_alias.html

  340. moparisthebest

    but doesn't avoid the 'giving randoms your jid' problem

  341. SouL

    XMPP alias please!

  342. SouL

    When are we starting with the XEP?

  343. Ge0rG

    I'm sure there are two or three already.

  344. moparisthebest

    it's perfectly doable with just changes on *your* server

  345. moparisthebest

    it's just super annoying, like if a@a.com sends a message to both b.alias1@b.com and b.alias2@b.com, and b responds, which jid do you send it from

  346. moparisthebest

    and it involves a lot of jid rewriting, databases and such

  347. Ge0rG

    b.alias1+alias2@b.com

  348. moparisthebest

    I guess maybe if you added client support too that would make it easier, but meh

  349. Ge0rG

    moparisthebest: I would assume that you use proxy JIDs for different aliases on your side, so it would be something like a%a.com@b.alias1.b.com

  350. moparisthebest

    the advantage of support just on *your* server is you don't need a XEP because there is no interop to document :)

  351. moparisthebest

    Ge0rG, in my case I'd want it to match all my email aliases, which are a defined list of specific ones, plus me(\.|+|-)[^@]*@all-the-domains

  352. Ge0rG

    moparisthebest: your server could just track the alias the other user contacted first.

  353. Ge0rG

    moparisthebest: and auto-route accordingly

  354. moparisthebest

    yep that's an option, probably the best one, still not perfect

  355. Ge0rG

    probably good enough.

  356. jonasw

    reminds me of resource locking

  357. jonasw

    sounds like a can of worms

  358. moparisthebest

    it's totally a can of worms

  359. zinid

    🐛

  360. moparisthebest

    hence "This type of aliasing is well supported in the email world, but very hard to handle with XMPP, this module sidesteps all the hard problems by just sending the user a helpful message, requiring humans to decide what they actually want to do."

  361. SaltyBones

    oh, it's basically a standardized auto-reply

  362. SaltyBones

    or jid squatting ;)

  363. Ge0rG

    Wow.

  364. Ge0rG

    Impressive.

  365. Ge0rG

    We need more JID mobility.

  366. Zash

    Do we, really?

  367. Ge0rG

    Zash: I'd like to have an easy and fully automated way to move all my contacts from my old JID to my new JID

  368. moparisthebest

    I just have a number of emails, 2 main ones, and I like all my emails also being JIDs, isn't that the ideal situation?

  369. Ge0rG

    kind of moved, but automatic

  370. Zash

    Ge0rG: How often do you move JIDs?

  371. Ge0rG

    Zash: whenever the 6-month free period on c.im expires

  372. jonasw

    lol

  373. Zash

    This ties back into the question of what identity is.

  374. SouL

    Ge0rG: haha

  375. Zash

    Ge0rG: Why can't we automate moved again?

  376. Ge0rG

    Zash: because SECURITY11!!1!! > In order to prevent other users from maliciously altering contacts the client SHOULD NOT automatically subscribe to a <moved/> JID when it receives an unsubscribe and SHOULD NOT automatically unsubscribe to a <moved/> JID when it receives a subscribe.

  377. Ge0rG

    Then followed by some constructed attack vector where some JIDs are auto-approved and others are not.

  378. jonasw

    xep#?

  379. Ge0rG

    https://xmpp.org/extensions/xep-0283.html#security

  380. Zash

    -xep moved

  381. Bunneh

    Zash: Moved (Standards Track, Deferred, 2010-06-16) See: https://xmpp.org/extensions/xep-0283.html

  382. SaltyBones

    Ge0rG, if we add a crypto identity we can base moving on that. (Sounds crazy but I am not kidding.)

  383. jonasw

    Ge0rG, that seems solvable, trivially

  384. Ge0rG

    SaltyBones: I've thought about that.

  385. Ge0rG

    SaltyBones: that would make the public key your effective identity, and the JID just a helper string.

  386. Zash

    Which isn't really the design of XMPP

  387. SaltyBones

    Considering how much we are thinking about those things I think we should start writing things down...

  388. jonasw

    oldjid unsubscribes with <moved token='xyz' new='…'/>, newjid subscribes with <moved token='xyz' old='…'/> and only then a potential reverse-subscription is re-enacted by the target

  389. Ge0rG

    jonasw: feel free to pick up authorship of 283, bringing it up to pace and convincing clients to implement.

  390. jonasw

    Ge0rG, would that work? ^

  391. Ge0rG

    clients or servers.

  392. jonasw

    would have to figure something out for one-way (stable jid to moving jid) subscriptions

  393. Ge0rG

    jonasw: no need for a token. you can prove ownership of both JIDs by just issuing the according <moved> stanzas.

  394. jonasw

    right

  395. jonasw

    that’s what happens already though

  396. Ge0rG

    jonasw: I've written down all that, before I knew of Moved, into the wiki

  397. Ge0rG

    but then it got lost

  398. Ge0rG

    SaltyBones: yes, let's reinvent XMPP as something else.

  399. jonasw

    so yeah, it’s really only about some weird one-way casse

  400. Ge0rG

    maybe an "OMEMO distribution protocol".

  401. jonasw

    I don’t think we should care about that too much

  402. Ge0rG

    jonasw: the hard part is figuring out the right order of events to make it work automatically. That and server-side caching of subscribe/unsubscribe presence packets.

  403. Ge0rG

    Don't remember the exact rules

  404. Ge0rG

    BTW, when is PARS bound to expire?

  405. jonasw

    defer, you mean?

  406. jonasw

    xep#?

  407. jonasw

    !xep 379

  408. SaltyBones

    Ge0rG, is this about the crypto IDs?

  409. jonasw

    Ge0rG, february 16th

  410. Ge0rG

    SaltyBones: I'm not sure.

  411. Ge0rG

    jonasw: wow, need to add some more meat to it until then.

  412. jonasw

    I need to get some ecaps2 implmenetation in some server

  413. Holger

    Seems https://xmpp.org/extensions/attic/ has the current XEP-0363 revision (0.4.0) but not the two 0.3.x revisions.

  414. zinid

    Holger, this is not the only such XEP, I recall I couldn't find old versions of MAM or something

  415. Holger

    :-/

  416. jonasw

    Holger, yes

  417. jonasw

    attic is a manual process

  418. jonasw

    it sucks

  419. jonasw

    editors have to remember to copy them over

  420. jonasw

    I don’t remember that always

  421. Zash

    :/

  422. Holger

    Nice.

  423. moparisthebest

    is there a reason to have it with version control?

  424. moparisthebest

    can't a xep just be looked at at any revision?

  425. jonasw

    I already automated the copying-over of the changed versions, and if we ever get this scripting server-side, it should magically worked

  426. jonasw

    moparisthebest, yes, but you’d have to know which revision is a specific version

  427. jonasw

    if we knew that, we could generate the attic auotomatically

  428. moparisthebest

    tags?

  429. jonasw

    we don’t have those

  430. moparisthebest

    (since they can be added later)

  431. jonasw

    moparisthebest, if you did those, that’d be amazing

  432. moparisthebest

    something like xep-0368-0.0.1 or something

  433. jonasw

    yeah

  434. jonasw

    but it’s tedious to do

  435. Zash

    for each revision, check the last version in the source, something something

  436. moparisthebest

    would be kind of hard to back fill, could be easy going forward

  437. zinid

    tags sound like a sane idea

  438. Zash

    should be doable with way more scripting hackery than I have the energy for now

  439. jonasw

    Zash, not sufficient; sometimes version blocks are added before the last editorial change

  440. Zash

    jonasw: would it be good enough?

  441. moparisthebest

    oh hey, what about just checking out each version and matching sha1sum to a current attic xml for backfil?

  442. jonasw

    Zash, probably

  443. jonasw

    moparisthebest, except that attic doesn’t always have XMLs

  444. moparisthebest

    that would get you exactly what is in attic now, then you could tweak later

  445. jonasw

    gotta go

  446. moparisthebest

    oh, well does it *mostly* have them?

  447. Zash

    moparisthebest: maybe, assuming they haven't been changed in any way (think character encoding or newlines) since

  448. moparisthebest

    I would assume they were copied from version control and not touched

  449. moparisthebest

    could be a wrong assumption

  450. Zash

    but the HTML is not under version control

  451. Zash

    those are build artefacts, copied after build

  452. moparisthebest

    yea I think it'd only work if there was xml there

  453. Zash

    might depend on the version of xsltproc and whatnot

  454. moparisthebest

    looks like we need editors to ping stpeter about pinging Joe Salowey again about adding xep-368 alpn IDs here https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids

  455. moparisthebest

    since last time when he said he'd add them, looks like 'CoAP' whatever that is has been added

  456. moparisthebest

    but still no xmpp love :'(

  457. Zash

    Why don't you do it?

  458. moparisthebest

    it's officially an editor task

  459. Zash

    join the editor team, send an email, retire to a life of luxury

  460. moparisthebest

    well editor team tried to ping joe salowey twice without luck, and stpeter had to take over :)

  461. moparisthebest

    I'll probably wait until stpeter joins back and ping him again hehe

  462. moparisthebest

    https://trello.com/c/8arSL8aD/2-vote-on-moving-xep-0368-to-draft that's the card looks like