jdev - 2026-06-08


  1. Cynthia

    How do you announce entity capabilities without the operator being able to tamper with them and do a downgrade attack

  2. Cynthia

    Can I send them as apart of a SCE message?

  3. lovetox

    ? where is a downgrade attack with capabilities?

  4. Cynthia

    I'm assuming it's trivial for the operator to take the caps (sent by a user, not the server) and omit a few features

  5. lovetox

    yes, but to make this an attack, you would need to show that there is a process that depends on cap features for security features

  6. Cynthia

    Well I wanna make a new XEP based off of OMEMO Media Sharing that completely encrypts the filename (including extension), but have it still be compatible with the old XEP in case the client doesn't support it

  7. lovetox

    i would say you should design it so you dont need entity caps

  8. lovetox

    because nobody will query it

  9. Cynthia

    Well nobody would implement it if it doesn't have backwards compatibility (as it would be reduced UX for clients that don't support it)

  10. lovetox

    if you cannot make it backwards compatible without entity caps, then it will not be backwards compatible

  11. Cynthia

    Like having to download a file named ahebejfwbwnskw.bin and rename it to picture.png

  12. Cynthia

    Like having to download a file named ahebejfwbwnskw.bin, decrypt and rename it to picture.png

  13. Cynthia

    > if you cannot make it backwards compatible without entity caps, then it will not be backwards compatible Well that's gonna be difficult

  14. lovetox

    either you have full stanza encryption, as in OMEMO2 or OpenPGP, then this problem is solved

  15. Cynthia

    Full stanza encryption is not the problem really

  16. Cynthia

    It's having to maintain compatibility between a client who supports this and a client who only supports regular AESGCM://

  17. lovetox

    who supports what?

  18. lovetox

    what do you try to do?

  19. Cynthia

    Send a link similar to AESGCM:// except the original filename is stored at the end of the link

  20. lovetox

    you can do this with aesgcm also

  21. Cynthia

    And the filename within the HTTP URL is completely scrambled, including file extension

  22. lovetox

    simply add another parameter

  23. Cynthia

    Yeah but not file extension

  24. lovetox

    either way, entity caps will not help you there

  25. lovetox

    its only for a device, and you dont know who downloads a message in the future and what capabilities they have

  26. lovetox

    i dont know, this is already a solved problem with full stanza encryption

  27. Cynthia

    How would a regular AESGCM client parse this: aesgcm://xmpp_server/files/sjwdhdsiwiw.zzz#[key and iv];originafilename.png

  28. Cynthia

    for example

  29. lovetox

    ah you want to put it in the fragment, yeah thats not going to work

  30. Cynthia

    > i dont know, this is already a solved problem with full stanza encryption Which part of it?

  31. lovetox

    all of it

  32. lovetox

    full stanza encryption means everything is encrypted

  33. lovetox

    you can send file as8as8d8as9d9ads9ad.jpg, and tell the client in a tag that its picture.jpg

  34. lovetox

    https://xmpp.org/extensions/xep-0447.html#file-sharing

  35. lovetox

    here see the <name> element

  36. lovetox

    you can even define the extension there

  37. Cynthia

    > you can send file as8as8d8as9d9ads9ad.jpg, and tell the client in a tag that its picture.jpg But can I send file with the extension scrambled?

  38. Cynthia

    Specifically?

  39. Cynthia

    Hm

  40. Cynthia

    Maybe SFS could work yeah