microg / microg/GmsCore

SafetyNet is deprecated and non-functional, any references to it should be replaced with Play Integrity API

Open
#3,721 2 comments 4 reactions 0 assignees View on GitHub
bug
Dominant language
Java
Stars
14.6k
Forks
3.2k
PR merge metrics
PR metrics pending

Description

**Describe the bug**
SafetyNet is deprecated a while ago, and is replaced with Play Integrity API. Attempting to make requests to it results in long base64 error code for 404 page.

**To Reproduce**
Steps to reproduce the behavior:
1. Open microG Settings
1. Go to 'Device Attestation'
2. Click on 'Test SafetyNet attestation'
4. See error

**Expected behavior**
Instead of 'Test SafetyNet attestation', there should be 'Test Play Integrity attestation' that should return related values. Any other occurrences of 'SafetyNet' name should also be replaced.

**System**
Android Version: 16
Custom ROM: Infinity-X 3.12

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in microG Settings at Device Attestation and trace the action behind “Test SafetyNet attestation,” then search the project for other SafetyNet references. Replace the obsolete references with Play Integrity API terminology and behavior, and verify that the test action returns the related attestation values.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.