GithubHelp home page GithubHelp logo

Comments (5)

bfabio avatar bfabio commented on May 18, 2024

We're looking at a 25^9 key space here and ephemeral codes lasting at most 150 seconds and I'm guessing half as long on the average case, where the user completes the upload procedure. On top of that, I bet there's network level attack mitigation, so I think we're fine.

Reducing the alphabet and using a CRC are great UX choices, I wish software was built with this attention to detail more often. 🥇

from immuni-app-android.

 avatar commented on May 18, 2024

dato lo spazio delle chiavi 25^9 un semplice script py riesce a generare 10^6 diverse combinazioni con anche il 10 bit di controllo in 6.6621527671813965 secondi quindi si possono generare tutte le chiavi in 25^9/10^6 *6.6621527671813965 /60 /60 /24 = 294.1446289831354220708211263020833333333333333333333333333... giorni con un solo dispositivo (poco potente), con 10 dispositivi le chiavi verrebbero generate in meno di un mese.
presumo che una mitigazione lato server sia fondamentale ma estendere le chiavi di un paio di caratteri non sarebbe una cattiva idea.

from immuni-app-android.

bfabio avatar bfabio commented on May 18, 2024

@oppo99 You're misunderstanding how OTPs are used in the app: they are only valid for a brief period of time once you give it to a health worker (who inserts it into the system) after being tested positive.

from immuni-app-android.

 avatar commented on May 18, 2024

@bfabio ho capito il funzionamento dell'otp, non ritengo che questo sia un problema se preso da solo ma in relazione a #121 potrebbe esserlo. la possibilità che due dispositivi vengano forzati ad avere lo stesso codice è correlato alla dimensione dello spazio delle chiavi

from immuni-app-android.

stale avatar stale commented on May 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from immuni-app-android.

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.