Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App funktioniert nicht mehr auf custom ROMS (CTS profile match failed) #80

Open
3 tasks done
forrest96er opened this issue Sep 26, 2023 · 1 comment
Open
3 tasks done
Labels
Android Affects Android help wanted Extra attention is needed Needs triage Newly submitted issues

Comments

@forrest96er
Copy link

forrest96er commented Sep 26, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Happening on the latest app version?

  • I have seen this on the latest version of the app

This is not a data update request

  • I am not requesting a data update

Explain what you did

Ich habe die App auf einen Custom ROM ( Google Pixel 5a mit Graphene OS) ohne SafetyNet ( CTS profile match failed) installiert.

Describe the bug

Leider kommt es dann zu einer Fehlermeldung, dass die Integritätsprüfung nicht erfolgreich sei und die App lässt sich nicht vollständig nutzen (nur die Map wird angezeigt).

Expected behaviour

Wenn die Safetynet überprüfung deaktiviert wird, sollte die App auch auf nicht offiziellen ROMs problemlos laufen. *

Safetynet selber ist selber auch keine starke Attestierung, da diese sich relativ leicht fälschen lässt. So ist es beispielsweise möglich bei einem gerooteten ROM mithilte von Magisk und dem Modul UniversalSafetynetFix die Safetynet API so zu manipulieren, dass Safetynet immer funktioniert.

Eine deutlich sichere alternative zur Integritätsprüfung bei Andorid wäre die hardware basierte Integritätsprüfung. Diese ist im Gegensatz zum Safetynet oder dessen Nachfolger der GooglePlay zertifizierung unabhängig von Google. So könnte man auch vertrauenswürdige ROMs von drittanbierten zulassen.
Link zum nachlesen

Da es sich hier um keine Banking oder Bezahl App handelt ( welche hohen Sicherheitsanforderungen erfüllen müssen), denke ich dass eine Integritätsprüfung des ROMs für die Couleurbummel App nicht notwendig ist.

* habe das gleiche Problem auf einem andern Custom ROM gehabt, nach dem die SafetyNet Prüfung gefälscht wurde, funktionierte die App ohne Probleme.

Steps to reproduce

.

Your device and OS

.

Screenshots

Screenshot_20230926-174544
Screenshot_20230926-174434

@forrest96er forrest96er added the Needs triage Newly submitted issues label Sep 26, 2023
@muffix muffix added the Android Affects Android label Oct 6, 2023
muffix added a commit that referenced this issue Oct 6, 2023
SafetyNet is deprecated and RNFirebase now finally supports Play
Integrity, so we can switch to that as the app attestation provider.

Relates to: #80
@muffix muffix added the help wanted Extra attention is needed label Oct 6, 2023
@muffix
Copy link
Owner

muffix commented Oct 6, 2023

Danke für den Report. Die App Attestation ist hauptsächlich dazu da, um die Datenbank gegen Traffic von anderen Apps oder Websites zu schützen. Firebase ist deswegen aktuell so konfiguriert, dass nur Zugriffe von Apps mit Attestierung zugelassen werden. Geheime Daten sind da natürlich nicht drin, im Gegenteil.

SafetyNet war bis vor kurzem der einzig mögliche Provider, der mit RNFirebase funktionierte, obwohl es schon eine Weile lang als deprecated markiert war. Mit #86 wechselt die App auf Play Integrity. Das löst dein Problem natürlich nicht, und ich würde auch sehr gerne eine von Google unabhängige Lösung haben, aber ich muss auch meine Cloudprovider-Kosten im Blick behalten und die Zeit, die ich in die App investieren kann. Da es keine Nutzeraccounts o.ä. gibt, ist App Attestation die einzig sinnvolle Möglichkeit, die ich sehe, ohne noch ein extra Backend zu betreiben. Ich bin aber alles andere als ein Experte in App-Entwicklung (und schon gar nicht Android oder Raeact), daher bin ich gerne für weitere Vorschläge oder Beiträge offen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Affects Android help wanted Extra attention is needed Needs triage Newly submitted issues
Projects
None yet
Development

No branches or pull requests

2 participants