Giter Site home page Giter Site logo

Comments (10)

mrose17 avatar mrose17 commented on June 2, 2024 1

Room names are generated algorithmically by the client to have 256-bits of pseudo-entropy; however, as long as the name conforms to the syntax (43 characters, base64), it will be accepted by the system. we purposefully decided not to facilitate "vanity names", though a few of us old-timers use them.

so, it's possible to have collisions, but probably not worth worrying about.

from brave-talk.

thypon avatar thypon commented on June 2, 2024

The change seems solid to me from a security standpoint.
To be completely honest I think the room_name should be considered a sensitive information as well, from a privacy standpoint. Is there any use for that particular name? Have you considered saving an identifier based on the room_name?

Something like hash(room_name + nonce) will provide us with a unique identifier without leaking sensitive information such as the organization using the service in our logs.

from brave-talk.

tackley avatar tackley commented on June 2, 2024

Something like hash(room_name + nonce) will provide us with a unique identifier without leaking sensitive information such as the organization using the service in our logs.

That sounds like an excellent idea @thypon, we have no need or desire to know the actual room_name. Have updated the column above.

from brave-talk.

thypon avatar thypon commented on June 2, 2024

What's the status for this issue?

from brave-talk.

tackley avatar tackley commented on June 2, 2024

Upon reflection, we realise that using a genuine nonce - i.e. regenerated every time - as part of the room_identifier would mean that we couldn't track the usage of the room over time, a key aim of this dataset.

So we propose using a salt that is rotated every 2-3 months instead (or possibly monthly, but no less), which would allow us to track room usage accurately over a monthly period, but still prevent longer tracking. i.e. room_identifier = hash(room_name + salt).

Does that sound acceptable @thypon @orspetol @kdenhartog?

from brave-talk.

mrose17 avatar mrose17 commented on June 2, 2024

I like this plan. Let's start at 3 months and we can always drop it to two. This should give us a good balance!

from brave-talk.

kdenhartog avatar kdenhartog commented on June 2, 2024

How is the room_name provided? My theoretical concern with this design is that if the room_name is user controlled two unique users could select a common room name such as test and it would throw off the metrics here if they're generated with the same salt in use.

from brave-talk.

kdenhartog avatar kdenhartog commented on June 2, 2024

Sounds good, I don't see any issue with this approach.

from brave-talk.

orspetol avatar orspetol commented on June 2, 2024

+1 this is fine from my end.

from brave-talk.

mrose17 avatar mrose17 commented on June 2, 2024

Closed as the goals can not be easily realized given the privacy concerns.

from brave-talk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.