XSF Discussion - 2019-03-23


  1. Ge0rG

    pep.: most have set their channels to allow registered users only, making them effectively useless for end user support

  2. ralphm

    Why?

  3. ralphm

    Registering your nick is very common for that platform?

  4. Wiktor

    For irc? It's a measure to combat spam. Last time freenode was attacked they required registered accounts, some channels still do.

  5. Ge0rG

    ralphm: most OSS projects offer a web chat for support.

  6. Ge0rG

    If you have some specific problem with a tool, you probably will rather give up in frustration than attempt to register an identity with an obscure 1990s underground network, especially through a web browser that doesn't even properly support identity management for that network

  7. ralphm

    Hope you realize we are also working on a 1990s technology.

  8. lovetox

    ietf site is down

  9. lovetox

    did anyone remember all the standards

  10. Andrew Nenakhov

    Oh noes

  11. Seve

    Hopefully they can fix the site now with https://ietf.org/blog/nokia-globalhost/ :D

  12. Guus

    In XEP-0313 MAM, section 3.5 specifies: "Servers MUST NOT include the <stanza-id/> element in messages addressed to JIDs that do not have permissions to access the archive, such as a usersโ€™s outgoing messages to their contacts."

  13. Guus

    Why is that a MUST NOT?

  14. Guus

    (XEP-0359 on the ID value of stanza-id: "The value of the 'id' attribute should not provide any further information besides the opaque ID itself. Entities observing the value MUST NOT be able to infer any information from it, e.g. the size of the message archive. The value of 'id' MUST be considered a non-secret value.")

  15. Zash

    If you can't query it, what purpose does it serve?

  16. Guus

    it does serve as a unique identifier. I'm not saying it makes much sense, but the 'MUST NOT' suggests that something horrible will happen if it does go out.

  17. MattJ

    Guus, it's a combination of two things: 1) it used to be an <archived id='...' by='...' /> 2) sharing info on a need-to-know basis is a sensible default

  18. MattJ

    Now it's morphed into a generic "stanza-id" element, which just happens to share ids with the MAM archive, I think it does make less sense

  19. MattJ

    Sometimes I regret the <archived> -> <stanza-id> switch, sometimes I don't

  20. Guus

    heh

  21. Guus

    so, why would it be bad for an 'archived by' id?

  22. Guus

    I agree with it being a sensible default

  23. Guus

    but still, MUST NOT is quite strict

  24. MattJ

    Because it can be used to the client as indication that the archive may be queried?

  25. MattJ

    Why would you have an archive that someone doesn't have permission to access, and then share some of that data with them?

  26. Guus

    well, you SHOULD NOT. ๐Ÿ™‚

  27. MattJ

    But if you do, the client may assume it has permission, and will try to send you queries

  28. Guus

    which will result in errors.

  29. Guus

    meh

  30. MattJ

    So why is this a problem to you?

  31. Guus

    it's not. I was just wondering.

  32. Guus

    I thought I was missing an important security aspect, or somesuch

  33. MattJ

    On the one hand you have this argument. On the other hand you have people complaining about all the wiggle room in XEPs that use "SHOULD (NOT)" for no gain

  34. Guus

    I understand

  35. MattJ

    So there's no concrete reason I can think of right now, but that happens to be what I thought best to write at the time

  36. Guus

    that's fair.

  37. MattJ

    If we'd been using stanza-id from the start, I doubt I would have written it that way

  38. Guus

    I've got this annoying bit where carbons are sent off before the archiving takes place ๐Ÿ˜•

  39. Zash

    Guus: Sounds like our MUC pre-0.11, where messages are broadcasted before passing through the part where the MAM bits were attached

  40. Ge0rG

    We need more message ids!

  41. Zash

    You can never have enough message ids

  42. Guus

    Zash, that sounds very much like what we have for Openfire now.

  43. Guus

    it's not very appealing to rewire all that, as it's making use of generic interceptors.

  44. Guus

    In case of a one-on-one chat between two local users, openfire is storing a message just once (as it stores 'conversations', not per user archives). That means that both virtual 'archives' would contain the exact same identifier.

  45. Guus

    XEP-313 says: " Thus the IDs defined in this extension MUST be unique and stable within the scope of the generating XMPP entity." which seems to allow it.

  46. Guus

    sorry, that's XEP-359

  47. Guus

    ah, 5.2 for XEP-313 also allows it

  48. Guus

    nevermind

  49. Guus

    ... I now wonder if Openfire is, in effect, maintaining a message archive for non-local users.

  50. Zash

    It would be ... interesting ... if you could query your friends archives for messages to yourself

  51. Guus

    we don't keep "per user" archives.

  52. Guus

    we keep records of conversations

  53. Guus

    if a user queries for it's archive, that's retrieved from all conversations that the user was part of.

  54. Zash

    I mean from eg a remote server

  55. Guus

    That might be possible with Openfire...

  56. Guus

    I'm unsure what the retrieval query would look like, but I think we could answer the query, for all messages that you've sent on the local domain.

  57. Guus

    ah, we're explicitly not answering the query if sent by a non-local user.

  58. Guus

    Do we expect the archive ID to be added to <sent><forwarded> carbons, or only in <received><forwarded> ?

  59. Guus

    (the original sender doesn't get an echo of a server-generated stanza-id either, I think?)

  60. Holger

    No echo, but it must be added to <sent/> as well.

  61. flow

    FWIW i aggree with Guus that the MUST NOT feels not well placed. I think we should simply remove the sentence if possible.

  62. MattJ

    PRs welcome, I don't think it needs a namespace bump

  63. flow

    I also don't think it needs one. And every little bit we can remove without "downgrading" the spec reduces the noise and makes it easier to understand and implement

  64. Guus

    I wasn't making much of a statement other than that I'm trying to determine if I understood the details right.

  65. flow

    Ahh, Guus so you don't want to send a PR?

  66. Guus

    I'm not _against_ making one

  67. Guus

    but for now, my wife is giving me the stare ๐Ÿ™‚

  68. Guus

    afk

  69. MattJ

    I know that stare

  70. flow

    And I always thought the stare was an uncommon phenomenom only happening to me

  71. pep.

    https://xmpp.org/extensions/xep-0277.html TIL this is not draft

  72. Zash

    !

  73. Zash

    Oh

  74. Zash

    That number is way too easy to confuse with https://xmpp.org/extensions/xep-0227.html

  75. pep.

    heh

  76. pep.

    Can we bring back bunneh to life?

  77. Zash

    Necromancy?

  78. pep.

    https://xmpp.org/extensions/xep-0277.html#receive can somebody explain what the Note means. I have a PR with a few typos in that XEP, I'd like to fix that as well. "Note: these alternate links were not posted by client because client can't compute them itself. These things SHOULD be inserted at server side though."

  79. pep.

    Ah I get it now

  80. Zash

    s/posted/generated/ or somesuch

  81. pep.

    I guess posted works as well

  82. Zash

    Odd wording IMO

  83. pep.

    "These alternate links were not posted by the original client because clients can't compute them themselves. [..]", at least

  84. Zash

    included, generated, computed

  85. pep.

    https://xmpp.org/extensions/xep-0277.html#metadata Do I understand correctly that this <item id='0'> MUST exist? :x

  86. pep.

    Or is it just if I want to provide metadata about my microblog

  87. pep.

    I think there should be a language review step before publishing :/

  88. Zash

    Huh

  89. Zash

    Yet another vcard?

  90. pep.

    Seems like it

  91. pep.

    Though, it is not impossible that people have access to your microblog but not your vcard right

  92. pep.

    (vcard4)

  93. Zash

    If you (the user) made one public but not the other then maybe you had a reason for that and it seems silly to bypass that and publish your personal info in more places

  94. pep.

    I'm not especially arguing for this metadata entry, but you might want to have a lesser version of your vcard to show for people looking at your (public) microblog, and a more complete version for your contacts

  95. pep.

    I mean I'm not arguing for implementing this in 277. That could be 292 with a different set of ACLs :-ยฐ

  96. pep.

    But anyway, we're going astray from my original question

  97. Zash

    ... you want Bunneh secret sause?

  98. pep.

    I assume it's not a MUST then. it's an "if then MUST".

  99. Zash

    Is the goal to not require explicit server support?

  100. pep.

    hmm?

  101. Zash

    There is no "discovering support" section, I think those were mandatory?

  102. Zash

    Problematic to expect the server to maybe do stuff without any way to know that.

  103. Zash

    Personally I wish you could just post Atom to a node and be happy, but like every federated social feed protocol, the pain begins with replies and comments.