Comments (5)
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.
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.
@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.
@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.
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)
- Google Play Services isn't ready yet 39501 HOT 3
- App crash on start HOT 1
- [FEAT] Skip activation for vaccine certificate HOT 3
- [BUG] Wrong label "agente mirato"
- [BUG] Errore 39501 su telefoni con account multipli HOT 1
- [FEAT] Allow adding EU digital covid certificate from QR rather than only by retrieving it from DGC HOT 3
- [GENERAL] Round corners of EU - Vaccination pass cannot be read by VerificaC19 HOT 2
- [BUG] province change removes certificate HOT 1
- [BUG] certificate can only be downloaded in original language HOT 4
- [FEAT] auto adjust display light when showing QR code HOT 1
- [BUG] dark mode renders QR code unreadable HOT 8
- [FEAT] Export COVID Certificate (Green pass) HOT 6
- [BUG] date parsing issue HOT 1
- [BUG] Samsung Galaxy J3 (2016) not supported HOT 4
- Stato certificazione verde direttamente in app HOT 1
- Quantitative analysis on the CWA code base performed using data provided by Git HOT 1
- [GENERAL] When the system is in dark mode, it is impossible to scan the COVID certificate HOT 1
- [FEAT] Enable green pass download for foreign vaccinated HOT 2
- [FEAT] Add an add to google pay option HOT 1
- upgrade removes certificate HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from immuni-app-android.